-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
"Owen McShane" writes: >Hi, > >we are using SA 2.63 on Solaris 7 for sparc, with perl 5.8.0 and exim 4.04 >This is with spamc/spamd. > >This is for our internal staff mail server, which receives a lot of spam. > >So far SA is only scanning mail for a handful of users, but we have found the >load placed on the server to be quite high. > >We have tried to get around this by using spamd -m 10 to limit the max number >of children to 10. > >My understanding of this is that once this limit is reached, the remaining >mails are queued until a child process is freed up. > >The number of queued mails depends on the (OS specific) value of SOMAXCONN > >On Solaris, this value appears to be '5'(?!), as defined in >/usr/include/sys/socket.h > ># perl -MSocket -e'print SOMAXCONN' >5# > >Whereas on Redhat Linux 9, it is 128: > >[EMAIL PROTECTED] owen]$ perl -MSocket -e'print SOMAXCONN' >128 > >Obviously Solaris is quite capable of handling more open sockets than 5, so my >question is does spamd actually use the value returned by perl? Should it not >use some other variable? Hi Owen -- I'm pretty sure it's easy enough to increase this value, using either ulimit or a kernel parameter. can't remember how, though ;) - --j. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Exmh CVS iD8DBQFAO5ZiQTcbUG5Y7woRAjFhAJ0SFrPyugRb3OTsyRAsMgKPsMk/vACggc+R 0pncFoydT/VCRQ/I/7A9qCI= =aRQ/ -----END PGP SIGNATURE-----
