Bug 275769

Summary: solisten_clone fail message
Product: Base System Reporter: judah.levine
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: New ---    
Severity: Affects Only Me    
Priority: ---    
Version: 14.0-RELEASE   
Hardware: Any   
OS: Any   

Description judah.levine 2023-12-15 01:44:13 UTC
There are many messages like this:

Dec 14 18:16:38 time-d-wwv kernel: solisten_clone: pcb 0x41fb2c00: soreserve() failed

The system is a Dell R340 server running V14.0 built from sources. I see the same meessage on other identical systems running the same software.

The application that is causing the problem is probably the time service connection to tcp ports r13 and 37.

The netstat -a -n shows about 25000+ connections to these ports in various states.
The systems will a smaller number of connections do not show this error.

The socket is used by several parallel copies of the time service and was created with:
if( (setsockopt(sock,SOL_SOCKET,SO_REUSEADDR,&yes,sizeof(yes)) !=0) ||
	    (setsockopt(sock,SOL_SOCKET,SO_KEEPALIVE,&yes,sizeof(yes)) !=0) ||
	    (setsockopt(sock,SOL_SOCKET,SO_SNDTIMEO,&sss,sizeof(sss))  !=0) ||
	    (setsockopt(sock,SOL_SOCKET,SO_RCVTIMEO,&sss,sizeof(sss))  !=0) )