How many children process has spamd (-m option)? You could test setting 50 concurrency incoming connections in tcpserver and 52 for spamd.

From man spamd:

-m number, --max-children=number
Specify a maximum number of children to spawn. Spamd will wait until another child finishes before forking again. Meanwhile, incoming connections will be queued.


Please note that there is a OS specific maximum of connections that can be queued (Try perl -MSocket -e'print SOMAXCONN' to find this maximum). Also, this option causes spamd to create an extra pipe for each child.

Hi there,


I just tested this and I was still getting fork errors from tcpserver
at around 20-22 connections with -m 52:

Mar 11 07:06:51 loki smtpd: 1079006811.868008 Cannot fork: Resource temporarily unavailable

Is there by any chance a limit to the number of processes FreeBSD can
spawn in a certain time interval?

Thanks,

-Justin




------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to