Hello, Shawn Gordon, and others,
Segmentation Violation is a fatal error. First, I think, it seems that
squid cannot manage RAM usage very well. My squid version is
2.3STABLE1, OS is RedHat6.0, 256M RAM, 2X18G SCSI HD,
some aspect of squid configuration is the following:
cache_dir ufs /export/home1/cache1 7200 16 256
cache_dir ufs /export/home1/cache2 7200 16 256
cache_dir ufs /export/home2/cache3 7200 16 256
cache_dir ufs /export/home2/cache4 7200 16 256
cache_mem 64 MB
memory_pools off
half_closed_clients off
maximum_object_size 32768 KB
replacement_policy LFUDA
configuration with transparent proxy. I also recompiled Linux Kernel
with 8192 maximum FD.
My squid can occur Segmentation Violation error when I change Cache_mem
with 128 MB value or higher, once every day. After I decrease it, such as
96 MB or 64 MB, I will never see it. Although squid can restart automatically
after it occurs this error, some memory will lose only if you restart system.
I read the FAQ http://www.squid-cache.org/Doc/FAQ/FAQ-11.html#ss11.17 to
do something, this cannot resolve it. You may decrease this value to try.
I also found some other problem in squid:
1. 256 MB RAM is a big system, it must be true that such squid system can
be used in every environment. But it's not. My squid system will exhaust
RAM resource and tell me it cannot allocate memory after it runs one or
two days. I'm an ISP with many subnets. I think if you are LAN or small
system, squid can be equal to your requestment; if you are an ISP and
let squid help for your numerous customers,you should establish two or
more squid systems. Maybe squid can resolve this problem, but I don't know.
2. Squid will become slow or unstable after several days. In fact, I think this
relates to RAM manager, replacement_policy or implementation of RAM
data replacement. So squid developer has many things to do.
3. It's not good squid cannot be configed with FTP transparent proxy.
Ok, hope the above can help you.
Best
Xue Junchao
------------------------------------------------------------------
System Developer & Administrator
Tianjin Scientific & Technical Network Center
URL: http://www.tjst.net http://profxjc.freeservers.com
E-mail: profxjc@tjlink.tisti.ac.cn
BP: 1921312267
TEL: 86-22-23519150
FAX: 86-22-23519296
Addr: No.22, Wu Jiayao Street, Hexi District in Tianjin, China
ZIP: 300074
----- Original Message -----
From: Shawn Gordon <shawn_m_gordon@yahoo.com>
To: <profxjc@tjlink.tisti.ac.cn>
Sent: Thursday, March 23, 2000 12:54 AM
Subject: squid fatal error
> Hi Xue -
>
> I saw your message posted about Squid receiving a
> segmentation violation. I was wondering if you had
> any luck in resolving this? We are receiving the same
> problem as well.
>
> I would appreciatte any help that you can offer.
>
> Shawn Gordon
>
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://im.yahoo.com
Received on Wed Mar 22 2000 - 17:35:35 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:52:21 MST