Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: prefork: child states: II

From: Karsten Bräckelmann <guenther(at)rudersport.de>
Date: Sun Sep 30 2007 - 11:39:15 EDT


On Sat, 2007-09-29 at 10:58 +0100, Obantec Support wrote:

> now using spamd seeing this in maillog
>
> Sep 29 10:37:18 proteus2 spamd[6801]: rules: meta test FM_DDDD_TIMES_2 has
> dependency 'FH_HOST_EQ_D_D_D_D' with a zero score
> Sep 29 10:37:18 proteus2 spamd[6801]: rules: meta test FM_SEX_HOSTDDDD has
> dependency 'FH_HOST_EQ_D_D_D_D' with a zero score
> Sep 29 10:37:20 proteus2 spamd[6801]: spamd: server started on port 783/tcp
> (running version 3.2.3)
> Sep 29 10:37:20 proteus2 spamd[6801]: spamd: server pid: 6801
> Sep 29 10:37:20 proteus2 spamd[6801]: spamd: server successfully spawned
> child process, pid 6812
> Sep 29 10:37:20 proteus2 spamd[6801]: spamd: server successfully spawned
> child process, pid 6813
> Sep 29 10:37:20 proteus2 spamd[6801]: prefork: child states: IS
> Sep 29 10:37:20 proteus2 spamd[6801]: prefork: child states: II
>
> then when mail comes in it seems to handle spam and normal mail ok but
> should i worry about this

[...]
> Sep 29 10:43:08 proteus2 spamd[6801]: prefork: child states: II
>
> seems to crash? prefork: child states: II

Nope, this does not indicate a crash. In fact, it is perfectly normal.

Prefork is an efficient default algorithm for spawning children, before they are needed, thus having spare ones available. The II means, that at this point (right after the last scan has been done), both children are idle (state I).

The S you quoted above means, one children still is being spawned. B indicates a busy child.

The states are being reported per child. With the default of 2 children at startup, seeing only one letter here would indicate a crashed child. More than 2 can be reached, if your SA is really busy.

FYI, these log message (usually right next to each other in your mail log) would indicate a crashed child:

  spamd: handled cleanup of child pid 11309 due to SIGCHLD   prefork: child states: I

Do you need help?X

HTH   guenther

-- 
char *t="\10pse\0r\0dtu\0.@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}
Received on Sun Sep 30 11:40:06 2007

This archive was generated by hypermail 2.1.8 : Sat Oct 27 2007 - 23:54:03 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library