I have an OpenBSD 4.0/amd64 server that runs Apache 2.2.2 that gets a  
good number of hits ~1,000,000 a month.  I recently had to add NFS  
serving to its list of duties and have run into problems since.  In  
my Apache logs I started to received the following errors every  
couple of seconds.

[Thu Aug 16 18:46:08 2007] [warn] (22)Invalid argument: connect to  
listener on 0.0.0.0:80

I ran ktrace against the running process and saw the following:

32570 httpd    CALL  connect(0xe,0x41e19cc8,0x10)
32570 httpd    RET   connect -1 errno 22 Invalid argument

I took this to mean a connection limit was being reached on in the OS  
since this doesn't happen if NFS doesn't run.  I tried to change  
various sysctl settings like:

  kern.somaxconn=8192

My knowledge of what various sysctl parameters do it quite limit and  
I feel like I'm spinning my wheels.  Does anyone have a  
recommendation what setting needs to be changed in order to raise the  
connection limit I'm running into.

Thanks,
Matt Bauer

Mosquito Mole Multiworks Inc
www.mmmultiworks.com
P: 612.326.4510
F: 612.216.1470
C: 612.799.5487
E: [EMAIL PROTECTED]

Reply via email to