[squid-users] External ACLs strange behavior

From: Cassiano Martin <cassiano_at_polaco.pro.br>
Date: Mon, 19 May 2014 09:46:23 -0300

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.

Thanks
Received on Mon May 19 2014 - 12:46:30 MDT

This archive was generated by hypermail 2.2.0 : Mon May 19 2014 - 12:00:05 MDT