[squid-users] Problem restarting all redirectors

From: Lightfoot.Michael <Lightfoot.Michael@dont-contact.us>
Date: Thu, 12 Jun 2003 10:30:51 +1000

I am sometimes getting the following in cache.log when either a log
rotation or a reconfigure takes place. It is a symptom of not all my
redirectors (Ad Zapper) being restarted:

2003/06/12 09:30:14| ipcCreate: fork: (12) Not enough space
2003/06/12 09:30:14| WARNING: Cannot run
'/usr/local/squid/sbin/squid_redirect' process.
2003/06/12 09:30:14| ipcCreate: fork: (12) Not enough space
2003/06/12 09:30:14| WARNING: Cannot run
'/usr/local/squid/sbin/squid_redirect' process.
2003/06/12 09:30:14| ipcCreate: fork: (12) Not enough space
2003/06/12 09:30:14| WARNING: Cannot run
'/usr/local/squid/sbin/squid_redirect' process.

This problem is not occuring every time, but it appears to be occurring
more frequently in the past week or two. It is fixed by doing another
reconfigure restart of squid (sometimes requires more than one of
these.)

The relevant details of my config are:

Sun E220R with 2 450MHz CPUs, Solaris 9, 512 MB memory, 2 x 18 Gbyte
disks (one for cache.)
squid 2.5.STABLE2-20030318 with Smartfilter 3.1.1.02 patches

cache_mem 80 MB
cache_dir ufs /cache 4800 16 256
redirect_program /usr/local/squid/sbin/squid_redirect
redirect_children 12

The redirector is adzapper (http://adzapper.sourceforge.net).

There is other software running on the system, but inspection using top
and vmstat do not indicate a memory problem - squid is using 197MB with
163MB resident, each redirector uses just over 5MB with 4.7 resident
according to top; ipcs -a doesn't show any lingering shared memory or
semaphores (and no configured message queues.)

Michael Lightfoot
Unix Consultant
ISG Host Systems
Comcare
+61 2 62750680
Apologies for the rubbish that follows...
------------------------------------------------------------------------
NOTICE: This e-mail message and attachments may contain confidential
information. If you are not the intended recipient you should not use or
disclose any information in the message or attachments. If received in
error, please notify the sender by return email immediately. Comcare
does not waive any confidentiality or privilege.
Received on Wed Jun 11 2003 - 18:31:06 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:17:20 MST