LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-18-2012, 03:18 AM   #1
v16
LQ Newbie
 
Registered: Oct 2012
Posts: 2

Rep: Reputation: Disabled
Arrow How to increase FD_LIMIT in 32-bit and 64-bit m/c?


Hi all,

Can anyone explain how to increase the file descriptor limit in Ubuntu 10.04 (OS), for both 32-bit and 64-bit m/c?

How to find the upper limit of FD's that can be increased in the system and how to verify that the increased FD's are not contributing in any side-effect in the performance of the system.

Detail explanations will be good.


Thanx,
v16
 
Old 10-18-2012, 02:01 PM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: Sutton, MA. USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu
Posts: 4,087
Blog Entries: 10

Rep: Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521
Try /etc/security/limits.conf

To view the current values, issue "ulimit -a".

Not sure if the limits controlled here represent what you wish to change. Sounds like you wish to change the limit of descriptors allowed by the kernel which is in code and controlled when you compile the kernel; however you can have a limitation or allowance on the amount of open file descriptors per user using the ulimits.
 
Old 10-18-2012, 02:24 PM   #3
v16
LQ Newbie
 
Registered: Oct 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanx rtmistler

But how much fd-limit can be increased in 32-bit or 64-bit system and will that has any side effect on the performance of the system. Basically i referring to the server performance like apache etc.

Thanx
 
Old 10-18-2012, 02:38 PM   #4
rtmistler
Moderator
 
Registered: Mar 2011
Location: Sutton, MA. USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu
Posts: 4,087
Blog Entries: 10

Rep: Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521
More open descriptors for anything means more open sessions, more resources in use, more memory, more shared usage of the CPU. Therefore the more RAM you have and the faster CPU you have, the better.

I'm not sure, my experience with the limitations on open file descriptors may be out of date, I thought the maximum used to be 65535 per process.

My understanding is that the apache webserver works better with more file descriptors and their server apparently tries to increase the amount of allowed descriptors when it interacts with the operating system. I think you'd see errors that you've run out of descriptors which indicates that your system limits should be altered, if possible, to help the server's performance.

Sorry, that's not probably exactly what you were looking for. There are likely wiki's on the Apache webserver and how to tune it for better performance.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
64 bit cpu-64 bit Ubuntu-are there 32 bit app issues? sofasurfer Ubuntu 7 04-09-2014 03:02 PM
[SOLVED] Installing 32 bit RPMs on 64 bit Linux conflicts with 64 bit packages gheibia Linux - Server 1 08-18-2011 02:33 AM
64 bit or 32 bit Ubuntu 10.04 in a multiple boot with windows 64 and 32 bit ? james2b Linux - General 7 09-22-2010 05:12 PM
LXer: Ubuntu 32-bit, 32-bit PAE, 64-bit Benchmarks LXer Syndicated Linux News 0 12-30-2009 12:00 PM
32 bit or 64 bit install - is 32 bit easier for a newbie? dms05 Linux - Newbie 3 05-19-2006 04:05 PM


All times are GMT -5. The time now is 10:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration