Re: [squid-users] external_acl_type helper exiting

From: Eliezer Croitoru <eliezer_at_ngtech.co.il>
Date: Mon, 30 Sep 2013 16:06:32 +0300

On 09/26/2013 02:42 PM, Warren Baker wrote:
> HI Guys,
>
> I have a problem where the helpers are exiting after a period of time
> in an external_acl_type setup.
> The acl is defined as follows:
>
> external_acl_type portal_page ipv4 children-idle=5 children-startup=5
> ttl=60 negative_ttl=0 concurrency=20 %SRC
> /usr/local/bin/portal-authenticator

Just wondering if you can share the Golang source code?
did you tried it with no concurrency?
it seems to me like a very simple helper that I have written almost the
same concept and can might be used to test the case.(in ruby)

Eliezer

>
> portal-authenticator is a Golang program that runs indefinitely. I
> have turned on debug_options ALL,1 82,9 but that has not indicated why
> the helper exits. If i run the helper manually I can leave it for days
> without it exiting. I have bumped up debug_options to ALL,9 to see
> whether there is anything else I can see but so far nothing.
>
> Here is an extract from cache.log (the last log entry been related to
> the bug 3751):
>
> 2013/09/26 11:44:37.017 kid1| WARNING: portal_page #5 exited
> 2013/09/26 11:44:37.017 kid1| Too few portal_page processes are
> running (need 1/15)
> 2013/09/26 11:44:37.017 kid1| Starting new helpers
> 2013/09/26 11:44:37.017 kid1| helperOpenServers: Starting 1/15
> 'portal-authenticator' processes
> 2013/09/26 11:44:37.017 kid1| WARNING: no_suid: setuid(0): (1)
> Operation not permitted
>
>
> thanks
>
Received on Mon Sep 30 2013 - 13:06:41 MDT

This archive was generated by hypermail 2.2.0 : Mon Sep 30 2013 - 12:00:04 MDT