Re: [squid-users] squid proccess freeze

From: Tek Bahadur Limbu <teklimbu@dont-contact.us>
Date: Fri, 02 Nov 2007 14:58:50 +0545

Alexandre Correa wrote:
> Hello !!
>
> I testing squid on freebsd 6.2 amd64+SMP, server is 2 procs dual-core
> opteron 4gb ram ...
>
> after some time running .. squid proccess refusing connections, if i try to
> "kill" them, proccess don=B4t stop.. no errors is show.. without core dumps=
> ...

How many users is your Squid box serving? It's strange that there is no
errors. Where have you defined the cache_log directive in your squid.conf?

When you say "after some time running .. squid proccess refusing
connections", is it a few minutes or hours or even days?

Can you post the output of "squidclient mgr:info"?

Posting your squid.conf may help too.

>
> # ps auwx | grep squid
>
> USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND
> squid 807 0.0 16.1 679548 671268 ?? T 10:52PM 10:50.02 (squid)
> -D -s (squid)
> squid 864 0.0 0.0 2472 752 ?? Is 10:52PM 0:00.00 (unlinkd)
> (unlinkd)
> root 36341 0.0 0.0 5852 1212 p0 R+ 10:59AM 0:00.00 grep squi=
> d
>
> using AUFS !!
>
> squid 2.6.STABLE16
> configure options:
>
> '--program-prefix=3D' '--prefix=3D/usr' '--exec-prefix=3D/usr'
> '--bindir=3D/usr/bin' '--sbindir=3D/usr/sbin' '--sysconfdir=3D/etc'
> '--includedir=3D/usr/include' '--libdir=3D/usr/lib' '--libexecdir=3D/usr/li=
> bexec'
> '--sharedstatedir=3D/usr/com' '--mandir=3D/usr/share/man'
> '--infodir=3D/usr/share/info' '--exec_prefix=3D/usr' '--bindir=3D/usr/sbin'
> '--libexecdir=3D/usr/lib/squid' '--localstatedir=3D/var'
> '--sysconfdir=3D/etc/squid' '--disable-useragent-log' '--disable-referer-lo=
> g'
> '--enable-kqueue' '--enable-snmp' '--enable-removal-policies=3Dheap,lru'
> '--enable-storeio=3Daufs,coss,diskd,ufs' '--enable-ssl'
> '--enable-ipf-transparent' '--enable-linux-netfilter' '--with-pthreads'
> '--disable-dependency-tracking' '--enable-cachemgr-hostname=3Dlocalhost'
> '--disable-ident-lookups' '--enable-underscores' '--datadir=3D/usr/share'
> '--with-maxfd=3D4096' '--enable-async-io' '--disable-dlmalloc' '--with-aio'
>
> somebody knowns wat=B4s happens ?!

Is that the output of "squid -v"? By the way, what is the 3D reference
in your compilation parameters for?

Did you install Squid from FreeBSD ports or did you compile it yourself?

>
>
> thanks..
>
> regards,
>

-- 
With best regards and good wishes,
Yours sincerely,
Tek Bahadur Limbu
System Administrator
(TAG/TDG Group)
Jwl Systems Department
Worldlink Communications Pvt. Ltd.
Jawalakhel, Nepal
http://www.wlink.com.np
http://teklimbu.wordpress.com
Received on Fri Nov 02 2007 - 03:14:24 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Dec 01 2007 - 12:00:01 MST