[squid-users] Squid is falling periodically

From: Artem Stepanoff <Artem.Stepanoff@dont-contact.us>
Date: Wed, 9 Jun 2004 18:35:52 +0300

  Hello.
 I have a squid, installed on i386 server.
 Memory: real memory = 3791126528 (3702272K bytes)
         avail memory = 3693056000 (3606500K bytes)
 Processor: CPU: AMD Athlon(tm) MP 2400+ (2000.08-MHz 686-class CPU) - dual
 OS: FreeBSD 4.10-RELEASE

 Squid configuration file (ACCESS CONTROL SECTION is skipped):

#-------------------------------------------------------------------

#Main configuration
http_port 3128
icp_port 3130
htcp_port 4827

tcp_outgoing_address Some_address
udp_outgoing_address Some_address

hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
#no_cache deny QUERY

# OPTIONS WHICH AFFECT THE CACHE SIZE
# -----------------------------------------------------------------------------

cache_mem 128 MB
cache_swap_low 93
cache_swap_high 97
maximum_object_size 256 MB
maximum_object_size_in_memory 512 KB
request_header_max_size 15 KB

ipcache_size 16384
ipcache_low 90
ipcache_high 95
cache_replacement_policy heap LFUDA

cache_dir diskd /cache1 150000 16 256 Q1=72 Q2=64
cache_dir diskd /cache2 150000 16 256 Q1=72 Q2=64

cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log none
pid_filename /var/log/squid/squid.pid

positive_dns_ttl 10 hours
negative_dns_ttl 30 minutes

# ADMINISTRATIVE PARAMETERS
# -----------------------------------------------------------------------------

cache_mgr mamager@some.host
visible_hostname some_hostname
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on

# MISCELLANEOUS
# -----------------------------------------------------------------------------
memory_pools off

wccp_router some.router
wccp_version 4
wccp_outgoing_address some.address

digest_generation on
digest_bits_per_entry 5
digest_rebuild_period 4 hour
digest_rewrite_period 4 hour

#-------------------------------------------------------------------

Options in the kernel, concerning squid:

#-------------------------------------------------------------------
options NMBCLUSTERS=32768
options NMBUFS=131072

options MAXDSIZ="(2496*1024*1024)"
options MAXSSIZ="(1024*1024*1024)"
options DFLDSIZ="(1248*1024*1024)"
#options VM_KMEM_SIZE="(512*1024*1024)"

options MSGMNB=16384 # max characters per message queue
options MSGMNI=41 # max number of message queue identifiers
options MSGSEG=4096 # max number of message segments in the system
options MSGSSZ=64 # size of a message segment MUST be power of 2
options MSGTQL=4096 # max amount of messages in the system

options SHMALL=262144 # max amount of shared memory (bytes)
#options SHMMAX="(SHMMAXPGS*PAGE_SIZE+1)"
options SHMMAX=268435456

# max shared memory segment size (bytes)
options SHMMNI=33 # max number of shared memory identifiers
options SHMSEG=128 # max shared memory segments per process

pseudo-device gre
#-------------------------------------------------------------------

 Information about squid from log files:
#-------------------------------------------------------------------
2004/06/09 16:43:29| Validated 17495207 Entries
2004/06/09 16:43:29| store_swap_size = 289555706k

#-------------------------------------------------------------------

Squid is falling 2 times a week (or more) with errors, like: "FATAL: Received Segment Violation...dying." or
"FATAL: Received Bus Error...dying."

How can I solve this problem?
Thanks.

-- 
 KESH-RIPE
Received on Wed Jun 09 2004 - 09:35:58 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Jul 01 2004 - 12:00:02 MDT