Search squid archive

Re: Restarts without any apparent reason

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

 



* Amos Jeffries <squid3@xxxxxxxxxxxxx>:

> >Where can I find the reason?
> 
> Um. Maybe syslog or wherever the runit script 2>&1 sent it.

Nothing in the logs
 
> >Squid3 runs as the user "proxy":
> >
> >proxy     8888 38.9  5.2 126356 108980 ?       S    15:02   1:26 /usr/sbin/squid3 -N
> >
> >The runit script is this:
> >
> >cd /etc/service/squid3
> >echo 128 >  /proc/sys/kernel/msgmni
> >ulimit -n 4096 -c unlimited
> >exec 2>&1
> >exec /usr/sbin/squid3 -N
> 
> Any particular reason why you are running as a runit daemon with
> no-daemon mode (-N) enabled?

I want it to restart, once it dies?

That's how runit/daemontools works: The program needs to stay in the foreground.
If it's gone, it has died and needs to be restarted

-- 
Ralf Hildebrandt
  Geschäftsbereich IT | Abteilung Netzwerk
  Charité - Universitätsmedizin Berlin
  Campus Benjamin Franklin
  Hindenburgdamm 30 | D-12203 Berlin
  Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
  ralf.hildebrandt@xxxxxxxxxx | http://www.charite.de
	    


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

  Powered by Linux