File Descriptors Limit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, I use linux-2.6.17.6 (compiled from vanilla) and run squid in this machine.

	My squid is giving: "WARNING! Your cache is running out of filedescriptors"

	I recompile kernel and squid following these instructions:

http://squid.sourceforge.net/hno/linux-lfd.html

But still have only 1024 File Descriptors available for squid application. In compile time, squid givving to me:

checking Default FD_SETSIZE value... 16384
checking Maximum number of filedescriptors we can open... 16384

	I fix init script of squid too, setting ulimt before start application:
ulimit -HSn 16384
echo "5000 64000" > /proc/sys/net/ipv4/ip_local_port_range

But when I start squid, cache.log give: "With 1024 file descriptors available"

	Any patch or ideia to fix this ?

	Thank you.

--
Jeronimo Zucco
LPIC-1 Linux Professional Institute Certified
Núcleo de Processamento de Dados
Universidade de Caxias do Sul

http://jczucco.blogspot.com

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux