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

From: Jigar Rasalawala <jrasalawala@dont-contact.us>
Date: Thu, 05 Sep 2002 12:16:17 -0700

Hi, Henrik

Really Thanks for yr reply.
I am running Squid2.4STABLE4 on RedHat 7.1 with 1GB RAM.
I compiled squid with --disable-internal-dns.

squid conf looks like this :

cache_dir ufs /var/cache/squid 2888 16 256
visible_hostname 192.168.1.65
http_port 8080
ftp_user squid@AAA
cache_dns_program /usr/lib/squid/dnsserver
dns_children 20
dns_defnames on
pid_filename /var/run/squid.pid
coredump_dir /var/log/squid
cache_effective_user squid
cache_effective_group squid
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log
cache_swap_log /var/log/squid/swap.log
logfile_rotate 5
forwarded_for off
icp_port 3130
icp_query_timeout 100
log_icp_queries on
extension_methods SEARCH PROPPATCH
acl all src 0.0.0.0/0.0.0.0
acl hierarchy_list src 127.0.0.1
acl localhost src 127.0.0.1/255.255.255.255
acl manager proto cache_object
acl ui_deny_acl url_regex -i cgi-bin
http_access allow localhost
http_access allow hierarchy_list
miss_access allow all
http_access deny all
no_cache deny ui_deny_acl
icp_access allow hierarchy_list
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320

****** END of CONF

It is some sort of urget. Help really appriciated.

Thanks
Jigar
Henrik Nordstrom wrote:
>
> On Thursday 05 September 2002 19.08, Jigar Rasalawala wrote:
>
> > Thanks for yr reply. Why does squid restart DNSSERVER process when
> > we say "squid -k rotate" ?
>
> Because error output from the dnsserver processes goes to cache.log,
> and you have rotated cache.log..
>
> > Why am i getting defunct process ?
>
> That is a good question. You should not.
>
> What OS are you using?
>
> Which Squid version? (including any patches)
>
> What Squid configure options?
>
> Regards
> Henrik
Received on Thu Sep 05 2002 - 13:16:01 MDT

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