Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: mdo on March 28, 2007, 11:06:42 AM

Title: prefork: server reached --max-children setting, consider..
Post by: mdo on March 28, 2007, 11:06:42 AM
The full message (in spamd/current on SME 7.1.3) is actually:

 prefork: server reached --max-children setting, consider raising it

This seems to happen only at "busy" periods (several emails arriving at the same time). A typical sequence:

2007-03-23 06:05:13.011151500 [1006] info: prefork: child states: BBBBB
2007-03-23 06:05:13.011156500 [1006] info: prefork: server reached --max-children setting, consider raising it
2007-03-23 06:05:13.011161500 [3414] info: spamd: connection from localhost [127.0.0.1] at port 42029
2007-03-23 06:05:13.021143500 [3414] info: spamd: checking message <20070322180505.26138.qmail@xxx.co.nz> for qpsmtpd:1005
2007-03-23 06:05:13.023717500 [1061] info: spamd: checking message <20070322180502.6544.qmail@yyy.co.nz> for qpsmtpd:1005
2007-03-23 06:05:15.501485500 [1172] info: spamd: clean message (-1.5/5.0) for qpsmtpd:1005 in 9.4 seconds, 5678 bytes.
2007-03-23 06:05:15.501491500 [1172] info: spamd: result: . -1 - BAYES_00,FORGED_RCVD_HELO,NO_REAL_NAME scantime=9.4,size=5678,user=qpsmtpd,uid=1005,required
_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=42024,mid=<20070322180502.4056.qmail@rutherfordhomes.co.nz>,bayes=3.33066907387547e-16,autolearn=no
2007-03-23 06:05:15.546940500 [1172] info: spamd: connection from localhost [127.0.0.1] at port 42030
2007-03-23 06:05:15.546946500 [1006] info: prefork: child states: BBBBB

at the "not so busy" times it looks like this:

2007-03-23 06:27:36.239226500 [1006] info: prefork: child states: II
2007-03-23 06:27:58.578194500 [1061] info: spamd: connection from localhost [127.0.0.1] at port 42087
2007-03-23 06:27:58.583320500 [1061] info: spamd: checking message <E1HUS0b-0005BH-Pj@db.wlug.org.nz> for qpsmtpd:1005
2007-03-23 06:28:05.911523500 [1061] info: spamd: clean message (-2.6/5.0) for qpsmtpd:1005 in 7.3 seconds, 2687 bytes.
2007-03-23 06:28:05.911530500 [1061] info: spamd: result: . -2 - BAYES_00 scantime=7.3,size=2687,user=qpsmtpd,uid=1005,required_score=5.0,rhost=localhost,rad
dr=127.0.0.1,rport=42087,mid=<E1HUS0b-0005BH-Pj@db.wlug.org.nz>,bayes=0,autolearn=ham
2007-03-23 06:28:05.945176500 [1006] info: prefork: child states: II

Any suggestions whether to change/"raise" (?) which setting?
Thanks,
Michael
Title: Re: prefork: server reached --max-children setting, consider
Post by: CharlieBrady on March 28, 2007, 04:17:20 PM
Quote from: "mdo"

Any suggestions whether to change/"raise" (?) which setting?


Please raise anything which doesn't "just work" via the Bug Tracker. Thanks.