View Single Post
Old 29-Nov-2007, 03:18 AM   #1 (permalink)
Anilrgowda
Administrator
 
Anilrgowda's Avatar

Posts: 18,715
Join Date: Jan 2006
Rep Power: 10 Anilrgowda is on a distinguished road

IM:
Default Increasing file descriptors for Squid on Mandriva

Question: So I have came to problem that Squid cache on Mandriva 2006 cannot exceed 1024 file descriptors and complains it runs out of them.
I know how to fix problem on BSD systems perfectly, though I tried many things here on Linux up to no good
* fetched source RPM but could not find where it actually installed
* tried limits.conf pam.d/login to make default file descriptors to build suitable squid - no luck here too

I know I can compile tarball and juggle with ulimit, but I need good solution that:
* increases nofiles permanently
* builds installable RPM from source RPM with increased file descriptor count

I'd appreciate any help since I am stuck with the problem for now.


------------------


Anilrgowda is offline   Reply With Quote