Search squid archive

Re: restart url_redirector processe when it dies

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

 



Hi Amos,

On Sun, Mar 15, Amos Jeffries wrote:

>> I use an url_rewrite_program, which seems to die after about 400000
>> requests.
>> Squid starts 15 processes, which are enough, but after some time one
>> process after another die and at the end all processes where gone.
>>
>> Is it possible to let squid restart an url_rewrite_program, when it dies ?
>>
>>
>
> What version of Squid are you using that does not do this restart 
> automatically?
> Squid only dies when ALL helpers for a needed service are dying too fast to 
> recover quickly.

I use squid 2.7.STABLE6.
I've 15 processes running, when I kill 2 of them, I see only 13 of 15
processes running in the cache manager menu.

like:

--snip from cache manager menu --
Redirector Statistics:
program: /usr/local/bin/webcatredir
number running: 13 of 15
requests sent: 2482
replies received: 2481
queue length: 0
avg service time: 3.33 msec
--snip--
 
for me it looks like the 2 killed processes will not be started, or does
it take some time ?

--snip from squid -v 
Squid Cache: Version 2.7.STABLE6
configure options:  '--prefix=/usr' '--sysconfdir=/etc/squid'
'--bindir=/usr/sbin' '--sbindir=/usr/sbin' '--localstatedir=/var'
'--libexecdir=/usr/sbin' '--datadir=/usr/share/squid' '--disable-carp'
'--disable-htcp' '--disable-icap-client' '--disable-ident-lookups'
'--disable-wccp' '--disable-wccpv2' '--enable-async-io=128'
'--enable-auth=basic digest' '--enable-basic-auth-helpers=LDAP'
'--enable-digest-auth-helpers=ldap'
'--enable-default-err-language=German_Datev'
'--enable-err-languages=German' '--enable-snmp'
'--enable-storeio=aufs,ufs,diskd,null' '--enable-referer-log'
'--enable-useragent-log' '--enable-large-cache-files'
'--enable-removal-policies=lru,heap' '--mandir=/usr/share/man'
'--with-default-user=squid' '--with-filedescriptors=8192'
'--with-large-files' '--with-pthreads' '--with-aio'
--snip--


-- 
Gruß

  Dieter

--
I do not get viruses because I do not use MS software.
If you use Outlook then please do not put my email address in your
address-book so that WHEN you get a virus it won't use my address in the
>From field.


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

  Powered by Linux