Search squid archive

Re: External ACLs strange behavior

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

 



On 20/05/2014 12:46 a.m., Cassiano Martin wrote:
> I'm still having a strange issue with external ACLs. Sometimes I get
> this in my squid logs:
> 
> ERR message=
> 2014/05/19 08:33:23 kid1| WARNING: securegateway_cfs #Hlpr0 exited
> 2014/05/19 08:33:23 kid1| Too few securegateway_cfs processes are
> running (need 1/5)
> 2014/05/19 08:33:23 kid1| Starting new helpers
> 2014/05/19 08:33:23 kid1| helperOpenServers: Starting 1/5
> 'squid_filter' processes
> 2014/05/19 08:33:26 kid1| WARNING: securegateway_cfs #Hlpr0 exited
> 2014/05/19 08:33:26 kid1| Too few securegateway_cfs processes are
> running (need 1/5)
> 2014/05/19 08:33:26 kid1| Closing HTTP port [::]:3128
> 2014/05/19 08:33:26 kid1| Closing HTTP port [::]:3129
> 2014/05/19 08:33:26 kid1| storeDirWriteCleanLogs: Starting...
> 2014/05/19 08:33:26 kid1|   Finished.  Wrote 0 entries.
> 2014/05/19 08:33:26 kid1|   Took 0.00 seconds (  0.00 entries/sec).
> FATAL: The securegateway_cfs helpers are crashing too rapidly, need help!
> 
> And this is my "fake" external ACL for testing purposes:
> 
> 
> int main(int argc, char** argv)
> {
>     string line;
>     while(getline(cin, line))
>     {
>         if(line.length()>1)
>         {
>             CFS::print_response_err("");
>         }
>         else
>             exit(0);
>     }
> }
> 
> Why squid says redirector exited, and catches a FATAL? This code does
> not exits until squid closes stdin.

No this code closes also when Squid only delivers 1 byte of input.
For example when you pass it a single format code which has no data
available. Squid will send the line "-" which is 1 character long.

Amos




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

  Powered by Linux