Hi,
Thank you Steve for this. I found that /etc/sysconfig/spamassassin had the other SPAMOPTIONS so I updated my -m 20 there and it appears to take. Here is my current ps auwxf|grep spam: root 27678 0.9 2.0 43672 39268 ? Ss 16:08 0:03 /usr/bin/spamd -x -u spamd -m 20 -H /home/spamd -d -r /var/run/spamd.p
id
spamd 27709 5.4 2.2 48564 44000 ? S 16:08 0:16 \_ spamd child spamd 27710 1.1 2.1 45416 40852 ? S 16:08 0:03 \_ spamd child

Before -m 20 or any other settings will not appear after spamd.
I see these "server reached --max-children setting, consider raising it" during spam attacks.

Thank you,
Frank

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 02/28/2008 05:16 PM, fchan wrote:
| Hi,
| I have set my --max-child to 30 but I look at my logs and it appears
| that this is not obeyed.
|
| Here is my spamd options:
| SPAMDOPTIONS="-d -m 30 -H"
|
| Here is what I see in the logs:
| Feb 28 10:57:29 s1 spamd[15535]: prefork: child states: BBBBB
| Feb 28 10:57:29 s1 spamd[15535]: prefork: server reached --max-children
| setting, consider raising it
| Feb 28 10:57:29 s1 spamd[15740]: spamd: connection from
| localhost.localdomain [127.0.0.1] at port 45480
| Feb 28 10:57:29 s1 spamd[15740]: spamd: checking message
| <[EMAIL PROTECTED]> for qscand:510
| Feb 28 10:57:31 s1 spamd[15740]: spamd: identified spam (106.3/8.0) for
| qscand:510 in 2.8 seconds, 862 bytes.
| Feb 28 10:57:31 s1 spamd[15740]: spamd: result: Y 106 -
|
BAYES_99,BODY_ENHANCEMENT,BODY_ENHANCEMENT2,BOTNET,DATE_IN_PAST_06_12,DIGEST_MULTIPLE,DOS_OE_TO_MX,FORGED_MUA_OUTLOOK,INVALID_MSGID,PYZOR_CHECK,RAZOR2_CF_RANGE_51_100,RAZOR2_CF_RANGE_E4_51_100,RAZOR2_CF_RANGE_E8_51_100,RAZOR2_CHECK,RCVD_IN_PBL,RCVD_IN_XBL,RDNS_NONE,STOX_REPLY_TYPEURIBL_BLACK,URIBL_JP_SURBL,URIBL_OB_SURBL,URIBL_SBL,URIBL_SC_SURBL

|
scantime=2.8,size=862,user=qscand,uid=510,required_score=8.0,rhost=localhost.localdomain,raddr=127.0.0.1,rport=45480,mid=<[EMAIL
 PROTECTED]>,bayes=1.000000,autolearn=spam

|
| Feb 28 10:57:32 s1 spamd[15535]: prefork: child states: BBBBB
| Feb 28 10:57:32 s1 spamd[15535]: prefork: server reached --max-children
| setting, consider raising it
| Feb 28 10:57:32 s1 spamd[15740]: spamd: connection from
| localhost.localdomain [127.0.0.1] at port 45485
| Feb 28 10:57:32 s1 spamd[15740]: spamd: checking message
| <[EMAIL PROTECTED]> for qscand:510
| Feb 28 10:57:32 s1 spamd[15592]: spamd: identified spam (27.6/8.0) for
| qscand:510 in 8.3 seconds, 1725 bytes.
| Feb 28 10:57:32 s1 spamd[15592]: spamd: result: Y 27 -
|
BAYES_99,BOTNET,DATE_IN_PAST_06_12,DNS_FROM_RFC_DSN,DOS_OE_TO_MX,HTML_MESSAGE,PYZOR_CHECK,RCVD_IN_PBL,RCVD_IN_XBL,RDNS_NONE,SUBJ_YOUR_DEBT,URIBL_BLACK,URIBL_JP_SURBL

|
scantime=8.3,size=1725,user=qscand,uid=510,required_score=8.0,rhost=localhost.localdomain,raddr=127.0.0.1,rport=45475,mid=<[EMAIL
 PROTECTED]>,bayes=1.000000,autolearn=spam

|
| Feb 28 10:57:33 s1 spamd[15535]: prefork: child states: BBBBB
| Feb 28 10:57:33 s1 spamd[15535]: prefork: server reached --max-children
| setting, consider raising it
| Feb 28 10:57:33 s1 spamd[15592]: spamd: connection from
| localhost.localdomain [127.0.0.1] at port 45491
| Feb 28 10:57:33 s1 spamd[15592]: spamd: checking message (unknown) for
| qscand:510
| Feb 28 10:57:33 s1 spamd[15742]: spamd: identified spam (34.2/8.0) for
| qscand:510 in 8.0 seconds, 2605 bytes.
| Feb 28 10:57:33 s1 spamd[15742]: spamd: result: Y 34 -
|
AWL,BAYES_50,MANHOOD,MISSING_MID,RAZOR2_CF_RANGE_51_100,RAZOR2_CF_RANGE_E8_51_100,RAZOR2_CHECK,URIBL_BLACK,URIBL_JP_SURBL,URIBL_OB_SURBL,URIBL_SBL,URIBL_SC_SURBL

|
scantime=8.0,size=2605,user=qscand,uid=510,required_score=8.0,rhost=localhost.localdomain,raddr=127.0.0.1,rport=45477,mid=(unknown),bayes=0.499999,autolearn=spam

|
| Feb 28 10:57:33 s1 spamd[15535]: prefork: child states: BBBBB
| Feb 28 10:57:33 s1 spamd[15535]: prefork: server reached --max-children
| setting, consider raising it
| Feb 28 10:57:33 s1 spamd[15742]: spamd: connection from
| localhost.localdomain [127.0.0.1] at port 45492
| Feb 28 10:57:33 s1 spamd[15742]: spamd: checking message
| <[EMAIL PROTECTED]> for qscand:510
| Feb 28 10:57:34 s1 spamd[15739]: spamd: identified spam (26.1/8.0) for
| qscand:510 in 9.9 seconds, 1642 bytes.
| Feb 28 10:57:34 s1 spamd[15739]: spamd: result: Y 26 -
|
BAYES_99,BOTNET,DATE_IN_PAST_06_12,DOS_OE_TO_MX,HTML_MESSAGE,PYZOR_CHECK,RCVD_IN_PBL,RCVD_IN_XBL,RDNS_NONE,SUBJ_YOUR_DEBT,URIBL_BLACK,URIBL_JP_SURBL

|
scantime=9.9,size=1642,user=qscand,uid=510,required_score=8.0,rhost=localhost.localdomain,raddr=127.0.0.1,rport=45476,mid=<[EMAIL
 PROTECTED]>,bayes=1.000000,autolearn=spam

|
| Feb 28 10:57:35 s1 spamd[15535]: prefork: child states: BBBBB
| Feb 28 10:57:35 s1 spamd[15535]: prefork: server reached --max-children
| setting, consider raising it
| Feb 28 10:57:35 s1 spamd[15739]: spamd: connection from
| localhost.localdomain [127.0.0.1] at port 45493
| Feb 28 10:57:35 s1 spamd[15739]: spamd: checking message
| <[EMAIL PROTECTED]> for qscand:510
| Feb 28 10:57:35 s1 spamd[15591]: spamd: identified spam (102.3/8.0) for
| qscand:510 in 8.1 seconds, 784 bytes.
| Feb 28 10:57:35 s1 spamd[15591]: spamd: result: Y 102 -
|
BAYES_99,BODY_ENHANCEMENT,BODY_ENHANCEMENT2,BOTNET,DATE_IN_PAST_06_12,DOS_OE_TO_MX,FORGED_MUA_OUTLOOK,INVALID_MSGID,PYZOR_CHECK,RCVD_IN_PBL,RCVD_IN_XBL,RDNS_NONE,STOX_REPLY_TYPE,URIBL_BLACK,URIBL_JP_SURBL,URIBL_OB_SURBL,URIBL_SBL,URIBL_SC_SURBL

|
scantime=8.1,size=784,user=qscand,uid=510,required_score=8.0,rhost=localhost.localdomain,raddr=127.0.0.1,rport=45479,mid=<[EMAIL
 PROTECTED]>,bayes=1.000000,autolearn=unavailable

|
|
| It appears I hit 5 child processes as shown "child states: BBBBB "but it
| doesn't want to go higher for some reason.  Why is it stopping at 5
| child processes when in spamd I specify 30.
|
| Thank you,
| Frank
|

If you do "ps -ef |grep spam", is that what you see as the command line?
~  What you have in /etc/init.d/spammassassin might be overruled by
/etc/sysconfig/spamassassin.

- --

~  Steve
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFHx0kmeERILVgMyvARAmjPAJ4h4u4onkpUaAhGoVqhUIfDLFyu+wCdH38G
hWtyG2I8j5raOWXd2NNA3dg=
=ezq8
-----END PGP SIGNATURE-----

Reply via email to