On Monday 21 July 2003 10.33, you wrote:

> Any ideas on how to set the file descriptors limit,

See the Squid FAQ. It works.

> I have tried using ulimit
> -HSn 8192 in the install section of my squid spec file, before
> running configure.

Good.

> Then I run the following that just restarts
> squid with the new set fd thing:
>
> #!/bin/bash
> PID=`(/bin/ps -d | /bin/grep 'RunCache' | /bin/gawk '{printf $1}')`
> /bin/kill -TERM $PID
> /usr/local/squid/sbin/squid -k kill
> ulimit -HSn 8192
> /usr/local/squid/bin/RunCache &

Why are you using RunCache?

Other than this it looks good.

> 1. Do I even need to set the fd limit in the spec file, or can I do
> it elsewhere?

You can set it anywhere, as long as it is set when the squid built and 
before it is started.

> 2. How do I know if squid is actually running with the new fd
> limit?

See cache.log or the cachemgr.

Regards
Henrik

Reply via email to