[squid-users] helpers die all at the same time without any reason

From: JokeTube.TV <mail_at_joketube.tv>
Date: Tue, 1 Jan 2013 21:47:50 +0700

Hello,

I am using helpers to customize Squid's functionality. I noticed that
helpers die after some time (all at the same time). Is that normal? Is
there any limit how much requests one helper could serve and after
must be killed?

2013/01/01 16:19:22| WARNING: basicauthenticator #1 (FD 12) exited
2013/01/01 16:19:22| WARNING: basicauthenticator #3 (FD 32) exited
2013/01/01 16:19:23| WARNING: basicauthenticator #2 (FD 16) exited
2013/01/01 16:19:23| Too few basicauthenticator processes are running
2013/01/01 16:19:23| Starting new helpers

This kind of logs seems suspicious to me. The helper program is a
simple PHP script which has set_time_limit(0) at the beginning and
while loop to process requests:

while ($line = fgets(STDIN)) {
 // connect to DB if connection does not exist or were closed
 list($userName, $password) = explode(' ', trim($line), 2);
 // check user & pass and reply OK, ERR or BH
}

Can anyone suggest what debug_options's section I should use to log
helper killing reason? Any suggestion or tip will be appreciated.

Thanks
Received on Tue Jan 01 2013 - 14:48:08 MST

This archive was generated by hypermail 2.2.0 : Thu Jan 03 2013 - 12:00:03 MST