[squid-users] for FAQ: diskd on AIX

From: Matthias Weigel <matthias.weigel@dont-contact.us>
Date: Fri, 24 Jan 2003 10:41:13 +0100

Hello squid-users,

when using squid with diskd, certain semaphore and messagequeue limits
must be set to make squid happy. See the FAQs diskd section for details.
On AIX you cannot modify these limits (at least i could not find out how
to do it).
When you try to start squid with "cache_dir diskd" entries in
squid.conf, squid crashes with the following error in cache.log:
[...]
"shmat failed".

The Fix:
set the following environment variable in your startup script or in
RunCache script:
EXTSHM=ON
export EXTSHM
This modifies some AIX shared memory policy to be more flexible. See
"man shmat" for details.
After setting this environment variable, squid is running fine for me
with diskd on AIX.
This was tested on AIX 4.3.3 on a 32bit processor but probably applies
to other versions as well.

Hope this is helpful.

Best Regards

Matthias Weigel
ISOnova GmbH
Received on Fri Jan 24 2003 - 02:41:23 MST

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