Re: [squid-users] squid proccess freeze

From: Amos Jeffries <squid3@dont-contact.us>
Date: Fri, 2 Nov 2007 11:56:21 +1300 (NZDT)

> 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=
> ...
>
> # 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'

If you are the one compiling, take a good look at these options and prune
them. ./configure --help lists which are subsets of others.

> '--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 ?!
>

You could try running squid under a debugger with options -ND and see.

Amos
Received on Thu Nov 01 2007 - 16:56:24 MDT

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