Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Greetings,
I was looking into the "Errno:24" (Too many open files) today and discovered that my "open files" setting was set at 1024. The Linux 1024 default setting seems somewhat reasonable. And we didn't notice this until our warehouse inventory grew to a fairly sizeable chunk.
The command that I used to displayed the settings is "ulimit -a"
Does anyone here know how I can change this setting "open files" to a larger number?? If I do this, will this effect the system at the OS level and if I should also look into other file settings as well?
Please let me know since I'm still a newbie to Linux.
ulimit -n 2048 will give you a limit of 2048. You'll need to be root to do this, so any processes that need their limits raised should start out as superuser, set the resource limit, and then drop priviliges to whatever they were before. There may be a more elegant way, but this should work.
btmiller, thanks for your response. I thought if I change the filedescriptor, I would have to compile the Squid? Do I need to do anything with the Squid? What's SQUID? Btw, I'm currently running RH Enterprise version 2.3 -
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.