Re: [squid-users] Authenticators exiting

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Thu, 29 Mar 2001 20:25:59 +0200

Maybe your authenticator crashed. If so then you might be able to
work-around the problem by using this small wrapper:

#!/bin/sh
while : ; do
  start=`date '+%d%H%M%S'`
  /path/to/authenticator/program "$@"
  stop=`date '+%d%H%M%S'`
  t=`expr $stop - $start`
  if test $t -lt 2 ; then
    exit 1
  fi
  echo ERR
done

but the best thing would be to find out why the authenticator
crashes/exists.

Another path is to upgrade to Squid-2.4 and simply rotate the logs to
have the authenticators restarted (log rotation much less crude than
reconfigure).

--
Henrik Nordstrom
Squid hacker
Al Kirkus wrote:
> 
> Hi all.
> 
> I am running squid on a Dual XEON SMP box running Linux 2.2.15 SMP.
> 
> I am having a problem with my authenticators exiting like this:
> 
>  WARNING: authenticator #1 (FD 25)  exited.
> 
> I am using the PAM authentication module and I noticed that someone else posted to this list with a similar problem using NCSA auth.
> 
> If I don't do anything about this eventually (about 24 hours, as I have 20 authenticators) squid will shutdown with a:
> 
> FATAL: Too few authenticator processes are running
> 
> error message.
> 
> My only workaround has been to have cron KILLALL -HUP squid every hour. This restores the authenticator processes but this is a very dirty way of doing things.
> 
> Am I doing something wrong?
> 
> Any help is appreciated.
> 
> Thanks, Al Kirkus
> Network Specialist
> School District 102
> LaGrange Park, Il
> 60526
Received on Thu Mar 29 2001 - 11:32:21 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:59:02 MST