Search squid archive

Re: helpers die all at the same time without any reason

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Did you tried another helper? in another language?
What squid version?
what OS?

Eliezer

On 1/1/2013 4:47 PM, JokeTube.TV wrote:
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


--
Eliezer Croitoru
https://www1.ngtech.co.il
sip:ngtech@xxxxxxxxxxxx
IT consulting for Nonprofit organizations
eliezer <at> ngtech.co.il


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux