Re: [squid-users] Squid3-stable11 crash and restart by itself

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 20 Jan 2009 11:38:26 +1300 (NZDT)

> Hi,
>
> After I have installed squid3-stable11 from source on fedora 9 with all
> updates done to fedora some clients complained that they browsing
> interruptions and slowness going through the logs I noticed that squid
> every
> now and then crashes with the following error and restarts by itself
>

Three problems:
 First that is 3.0.STABLE10 running. Not the STABEL11 you say you installed.

Second (non-fatal) problem:
 Some client is pumping binary data into squid through its listening port
as a 'request'. Are you perhaps intercepting traffic?

> 2009/01/19 19:17:45| clientParseRequestMethod: Unsupported method in
> request
> '__
> _______j___A__t_#__vQ_____s_V_s_{WZ_fd}_____3__9G(_____(__DQ_N___W_Ba__T_u__
> _`__
> __OH_k_#>_k____Wz+'
> 2009/01/19 19:17:45| clientProcessRequest: Invalid Request

Third (non-fatal, slow-speed) problem, IO seems to be overloading:

> 2009/01/19 19:17:59| squidaio_queue_request: WARNING - Queue congestion

Are your disks full? Or just an overload of large requests at peak traffic
times.

Fourth (fatal) problem, Squid rotate/restarts and flushing it's indexes to
disk dies.

> 2009/01/19 19:20:08| ctx: exit level 0
> 2009/01/19 19:20:08| storeDirWriteCleanLogs: Starting...
> 2009/01/19 19:20:08| WARNING: Closing open FD 17
<snip>
> 2009/01/19 19:20:09| 851968 entries written so far.
> 2009/01/19 19:20:09| 917504 entries written so far.
> 2009/01/19 19:20:09| Finished. Wrote 978773 entries.
> 2009/01/19 19:20:09| Took 0.35 seconds (2810079.01 entries/sec).
> FATAL: comm_write: fd 1055: pending callback!

<snip>

I think this is already known, bugzilla is down right now so I can't check.
First, try getting the STABLE11 to actually be the running squid. That may
solve the issue for you.

> Something is happening where squid says FATAL: comm_write: fd 2296:
> pending
> callback! And it stops and restart.
> Does anyone have any idea what's wrong with the system. Do you think it is
> a
> configuration problem. The system is a core2 Duo 2.66G CPU and 8GB of RAM
> and 1 HDD exclusively for caching 250GB Sata 10000 RPM. Can the problem be
> resolved with Squid3 or shall I go back to squid 2.6 or 2.7?
>
> My uname -r output gives the following
>
> 2.6.27.9-73.fc9.x86_64 as function kernel
>
> Thank you
>
> Ragheb Rustom
>
>
>
>
Received on Mon Jan 19 2009 - 22:38:33 MST

This archive was generated by hypermail 2.2.0 : Tue Jan 20 2009 - 12:00:07 MST