On 8/21/2012 2:33 AM, Julie Xu wrote:
> More information on cache.log
>
> 2012/08/20 14:46:35| WARNING: swapfile header inconsistent with available data
> FATAL: Received Segment Violation...dying.
> 2012/08/20 14:46:35| storeDirWriteCleanLogs: Starting...
> 2012/08/20 14:46:35| WARNING: Closing open FD 36
> 2012/08/20 14:46:35| 65536 entries written so far.
> 2012/08/20 14:46:35| 131072 entries written so far.
> 2012/08/20 14:46:35| 196608 entries written so far.
>
I believe that the log talks...
there was a problem if I remember right about swapfile being corrupted
and found these:
http://bugs.squid-cache.org/show_bug.cgi?id=3035
http://bugs.squid-cache.org/show_bug.cgi?id=3404
And since you are running an old version of squid 3.1.10.. current is
3.1.20 I recommend you to upgrade.
there aren't RPMs for redhat but there are for fedora 15-17 that you can
try.
I have used them on centos 6+ and they seems to work perfect.
You mentioned that the proxy is not being used as intercept and in this
case the better and recommended option is to select the latest stable
version 3.2.1 .
about the limits:
> Max open files 1024 4096 files
squid is compiled with a higher limit and you should change the Hard
limit to at least squid limit which is 16384.
>> you mean load by req\s?memory?cpu?disk i\o?
>
> The load I mean is when squid client increase; I found it only crash between 9am-9pm, did not crash at night time.
>
>> how many requests per sec?
>
> Now, I can not check, it is out of service now.
>
well since proxy is measured by request per second for load you should
check it to mark the reason as "load".
>> squid 3.1 self compiled or from rpm?
>
> It is from system rpm.
>
you can use fedora newer rpms since they compatible with redhat.
>> using any special helpers?how many child process(for helpers)?
>
> Squid_ldap_auth, 10 child process, do not anything else.
>
I would recommend you to use some higher limit such as 20 (for high load
environment).
Another approach is to use concurrency which in my testings showed
better performance then more child process on my url_rewrite helper.
>> "squid -v" output?
> ]# squid -v
> Squid Cache: Version 3.1.10
<SNIP>
very old..
(almost once a month was released so now it's 3.1.20 .. at least 9 month
old)
>> transparent proxy?
> no
Then I recommend upgrade to 3.2.1
I have just seen that there is no RPM for 3.2.1 yet so I am rebuilding
one based on the squid-3.2.0.16-1.fc17.src.rpm.
changed the sources and sig.
removed old patches and build it as is without any change-log updates.
If the rpm will be fine I will update also the change-log.
> many regards
>
> Julie
Regards,
Eliezer
-- Eliezer Croitoru https://www1.ngtech.co.il IT consulting for Nonprofit organizations eliezer <at> ngtech.co.ilReceived on Tue Aug 21 2012 - 07:08:27 MDT
This archive was generated by hypermail 2.2.0 : Tue Aug 21 2012 - 12:00:03 MDT