Re: [squid-users] While rotating log files DNSSERVER becaomes defunct

From: Jigar Rasalawala <jrasalawala@dont-contact.us>
Date: Thu, 05 Sep 2002 10:08:59 -0700

Hi, Alberto

Thanks for yr reply. Why does squid restart DNSSERVER process when we
say "squid -k rotate" ?
Why am i getting defunct process ?

Thanks
Jigar

"Alberto M. Merinero Santos" wrote:
>
> I'm also running squid with the --disable-internal-dns option, and also rotating the log files automactially. Did you uses the "squid -k rotate" command? I do it with this command and it restart the DNSSERVER process by itself, you can see it at the new log file cache.log. Here are the lines I get after "squid -k rotate":
>
> 2002/09/04 23:55:01| storeDirWriteCleanLogs: Starting...
> 2002/09/04 23:55:01| Finished. Wrote 324 entries.
> 2002/09/04 23:55:01| Took 0.1 seconds (3653.4 entries/sec).
> 2002/09/04 23:55:01| logfileRotate: /global/ics/server5/squid/logs/store.log
> 2002/09/04 23:55:01| logfileRotate: /global/ics/server5/squid/logs/access.log
> 2002/09/04 23:55:01| helperOpenServers: Starting 5 'dnsserver' processes
>
> Alberto M. Merinero Santos [ amerinero@sgi.es ]
> Jefe de la Sección de Almacenamiento y Backup
> Unidad de E-Solutions
> Soluciones Globales Internet. <http://www.sgi.es>
> Tfn: + 34 91 806 16 00
> Fax: + 34 91 806 16 99
> C/Isaac Newton nº 11 (PTM)
> Tres Cantos
> 28760 Madrid
>
> > -----Mensaje original-----
> > De: Jigar Rasalawala [mailto:jrasalawala@fourelle.com]
> > Enviado el: jueves, 05 de septiembre de 2002 18:24
> > Para: squid-users@squid-cache.org
> > Asunto: [squid-users] While rotating log files DNSSERVER becaomes
> > defunct
> >
> >
> > Hi, guys
> >
> >
> > I am running Squid-2.4.STABLE 4 on RedHat 7.1. I compiled squid with
> > --disable-internal-dns option.
> > I want squid to look into my /etc/hosts file, then DNS server. uptill
> > now it looks good.
> > It works very well. I am running 20 instances of DNSSERVER process.
> >
> > I used cron command to rotate log file automactially, when size becoames
> > 1MB. When it tries to rotate
> > log, DNSSERVER processes become defunct. I can see them as defunct when
> > i execute "ps ax".
> > Squid server and DNS server both are on the same LAN.
> >
> > What would be the problem ? Any help or suggestion appriciated..
> >
> > Thanks
> > Jigar
> >
Received on Thu Sep 05 2002 - 11:08:38 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:10:06 MST