How to increase filedescriptors for Squid?

Support section for FREESCO v0.4.x 3rd Party Packages

How to increase filedescriptors for Squid?

Postby Igor Avdeyev » Sun Aug 05, 2018 11:53 am

The problem is there are too little filedescriptors available for Squid. Only 256.
Sometimes, Squid drop requests and there is message in log - "WARNING! Your cache is running out of filedescriptors"
I've found a topic with similar problem:

So I download and install kernel kernel-040.586-vipc-cd-triton-power_off
When I run bash and issue a "ulimit -n 512", filedescriptors changed to 512
I also change header in rc_squid #!/bin/sh to #!/pkg/bin/bash
add line "ulimit -n 512" in section str() of rc_squid

squid is running after rc_squid start, but only 256 filedescriptors available for Squid.
What did I do wrong?
User avatar
Igor Avdeyev
Posts: 66
Joined: Tue Nov 18, 2003 4:10 pm
Location: Kaliningrad, Russia

Return to 3rd Party Package Support for FREESCO v0.4.x

Who is online

Users browsing this forum: No registered users and 1 guest