On Thursday 28 February 2008, 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_C
>F_RANGE_51_100,RAZOR2_CF_RANGE_E4_51_100,RAZOR2_CF_RANGE_E8_51_100,RAZOR2_CH
>ECK,RCVD_IN_PBL,RCVD_IN_XBL,RDNS_NONE,STOX_REPLY_TYPEURIBL_BLACK,URIBL_JP_SU
>RBL,URIBL_OB_SURBL,URIBL_SBL,URIBL_SC_SURBL
> scantime=2.8,size=862,user=qscand,uid=510,required_score=8.0,rhost=localhos
>t.localdomain,raddr=127.0.0.1,rport=45480,mid=<0cc401c87a3a$d4d54e60$1501a8c
>[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_MESSAG
>E,PYZOR_CHECK,RCVD_IN_PBL,RCVD_IN_XBL,RDNS_NONE,SUBJ_YOUR_DEBT,URIBL_BLACK,U
>RIBL_JP_SURBL
> scantime=8.3,size=1725,user=qscand,uid=510,required_score=8.0,rhost=localho
>st.localdomain,raddr=127.0.0.1,rport=45475,mid=<1ec901c87a3a$d2527410$bd3680
>[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_5
>1_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=localho
>st.localdomain,raddr=127.0.0.1,rport=45477,mid=(unknown),bayes=0.499999,auto
>learn=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,RCV
>D_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=localho
>st.localdomain,raddr=127.0.0.1,rport=45476,mid=<1ed001c87a3a$d2527410$bd3680
>[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_SB
>L,URIBL_SC_SURBL
> scantime=8.1,size=784,user=qscand,uid=510,required_score=8.0,rhost=localhos
>t.localdomain,raddr=127.0.0.1,rport=45479,mid=<0cbd01c87a3a$d4d0ba80$1501a8c
>[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

You are lucky, despite a setting of 5, I have never seen more than 3.  I tried 
15 once, no effect.

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Advertising is the rattling of a stick inside a swill bucket.
                -- George Orwell

Reply via email to