Run squid inside gdb:
gdb squid
(gdb) handle SIGPIPE nostop noprint
(gdb) run -ND
.. and see where it breaks, then do bt (backtrace) to see what it was doing
to cause the issue.
Adrian
On Fri, Feb 08, 2008, Indunil Jayasooriya wrote:
> On Feb 8, 2008 11:53 AM, Adrian Chadd <adrian@creative.net.au> wrote:
> > check the swap.state files in each of your cache dirs.
>
> pls see below
>
> find / -name swap.state gives below OUTPUT.
>
> /squid/cache/swap.state
>
> ls -al /squid/cache/swap.state gives below OUTPUT
>
> -rw-r--r-- 1 nobody nobody 0 Feb 8 14:40 /squid/cache/swap.state
>
> runnig as
> cache_effective_user nobody
> cache_effective_group nobody
>
> What else can I do?
>
>
>
>
>
>
>
> >
> >
> >
> >
> > Adrian
> >
> > On Fri, Feb 08, 2008, Indunil Jayasooriya wrote:
> > > > kill -l
> > > >
> > > > Find out what signal 25 is.
> > >
> > > it says
> > >
> > > 25) SIGXFSZ
> > >
> > > I googled it. pls see below url
> > >
> > > http://en.wikipedia.org/wiki/SIGXFSZ
> > >
> > > that means
> > >
> > > Description: File size limit exceeded
> > >
> > > I deleted access.log and cache.log and touched them again.
> > >
> > > before deleting I checked the size? They were not so big.
> > >
> > > I think about 11 mb
> > >
> > > Where have I gone wrong?
> > >
> > >
> > >
> > >
> > >
> > > >
> > > >
> > > >
> > > > adrian
> > > >
> > > >
> > > > On Fri, Feb 08, 2008, Indunil Jayasooriya wrote:
> > > > > HI,
> > > > >
> > > > > I get below error. I checked squid mailling list for this. It says to
> > > > > check logs. I checked they are less than 2 GB. But, I always get this
> > > > > when I start or restart squid proxy.
> > > > >
> > > > > these are the URLs that I checked.
> > > > >
> > > > > http://www.squid-cache.org/mail-archive/squid-users/200206/0185.html
> > > > >
> > > > > http://www.squid-cache.org/mail-archive/squid-users/200206/0189.html
> > > > >
> > > > > http://www.squid-cache.org/mail-archive/squid-users/200206/0192.html
> > > > >
> > > > >
> > > > > this is the log I get. pls see below.
> > > > >
> > > > > [root@mo squid]# tail -f /var/log/messages
> > > > >
> > > > > Feb 8 13:39:43 mo squid[2806]: Squid Parent: child process 2809
> > > > > exited due to signal 25
> > > > >
> > > > > Feb 8 13:39:46 mo squid[2806]: Squid Parent: child process 2865 started
> > > > >
> > > > > Feb 8 13:39:47 mo squid[2806]: Squid Parent: child process 2865
> > > > > exited due to signal 25
> > > > >
> > > > > Feb 8 13:39:50 mo squid[2806]: Squid Parent: child process 2921 started
> > > > >
> > > > > Feb 8 13:39:50 mo squid[2806]: Squid Parent: child process 2921
> > > > > exited due to signal 25
> > > > >
> > > > > Feb 8 13:39:53 mo squid[2806]: Squid Parent: child process 2978 started
> > > > >
> > > > > Feb 8 13:39:54 mo squid[2806]: Squid Parent: child process 2978
> > > > > exited due to signal 25
> > > > >
> > > > > Feb 8 13:39:57 mo squid[2806]: Squid Parent: child process 3034 started
> > > > >
> > > > > Feb 8 13:39:57 mo squid[2806]: Squid Parent: child process 3034
> > > > > exited due to signal 25
> > > > >
> > > > > Feb 8 13:39:57 mo squid[2806]: Exiting due to repeated, frequent failures
> > > > >
> > > > > this is on squid 2.5. pls dont ask me to upgrate to 2.6 or 2.7. I will
> > > > > do it later. But, for now, I need to solve it. this squid proxy woked
> > > > > until yesterday. only this morning, I got this issue.
> > > > >
> > > > > any Ideas?
> > > > >
> > > > >
> > > > > --
> > > > > Thank you
> > > > > Indunil Jayasooriya
> > > >
> > > > --
> > > > - Xenion - http://www.xenion.com.au/ - VPS Hosting - Commercial Squid Support -
> > > > - $25/pm entry-level VPSes w/ capped bandwidth charges available in WA -
> > > >
> > >
> > >
> > >
> > > --
> > > Thank you
> > > Indunil Jayasooriya
> >
> > --
> >
> > - Xenion - http://www.xenion.com.au/ - VPS Hosting - Commercial Squid Support -
> > - $25/pm entry-level VPSes w/ capped bandwidth charges available in WA -
> >
>
>
>
> --
> Thank you
> Indunil Jayasooriya
-- - Xenion - http://www.xenion.com.au/ - VPS Hosting - Commercial Squid Support - - $25/pm entry-level VPSes w/ capped bandwidth charges available in WA -Received on Thu Feb 07 2008 - 23:43:46 MST
This archive was generated by hypermail pre-2.1.9 : Sat Mar 01 2008 - 12:00:04 MST