[Mimedefang] accept() returned invalidsocket (Numerical resultoutof range), try again
Robert Jackson
robertj at tgn.com
Tue Jan 16 12:58:56 EST 2007
Out of 300 connections that I can have without getting this error, 250
are in ESTABLISHED state, and 50 of them are in TIME_OUT state.
I cannot go over 300 connections without getting this error, which seems
abuserd.
I have adjusted my sendmail timeouts, and it has not helped at all. I
will attemp to recompile MIMEDefang and libmilter.
-Rob
-----Original Message-----
From: mimedefang-bounces at lists.roaringpenguin.com
[mailto:mimedefang-bounces at lists.roaringpenguin.com] On Behalf Of David
F. Skoll
Sent: Saturday, January 13, 2007 5:54 AM
To: mimedefang at lists.roaringpenguin.com
Subject: Re: [Mimedefang] accept() returned invalidsocket (Numerical
resultoutof range), try again
Robert Jackson wrote:
> Not sure where I would make the changes from call() to select(), but I
> did recompile sendmail with in increased number of FD_SETSIZE.
> Chanaged from 256 to 512. Didn't really help.
Of course that won't help! You need to recompile libmilter and
MIMEDefang. Besides, on most systems, you can't just change FD_SETSIZE
and recompile. You may also need to recompile the kernel.
What OS are you on? On most modern UNIXes, FD_SETSIZE is at least 1024.
> Right now there 3 servers in the pool, and I have to keep the
> connection limit to 325 or less. Even if each is up to 500, they get
maxed out.
See the timeout discussion -- maybe you have a lot of idle sendmails
hanging around unnecessarily.
Regards,
David.
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID. You may ignore it.
Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list MIMEDefang at lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
More information about the MIMEDefang
mailing list