How to determin the number of 'Open Files'?
The default open file number is 1024. In many cases one has to increase it. But how to determin which number is the suitable one?
Has this parameter relationship to other parameters? |
The number of open files you should set depends entirely on what you are using the system to do.
Oracle (for Database Servers) for example has it's own set of recommended minimum settings for open files (amongst other things). Don't forget that in Unix/Linux "everything is a file" |
Quote:
Somewhat in detail? Our Apache-Http-WebServer is installed on LINUX. It receive everyday hundred-thaudsends of requests. Sometimes I see in the log files there are error messages such like "Cannot open TEMP file '/tmp/_wl_proxy". I think this problem maybe have to do with the number of 'open files'. But I don't know what a number should I take. |
When you get that msg, it should also say why it can't open the file. Need to know what its complaining about instead of guessing.
|
Well, you could start by using lsof to list open files in various conditions and adopt a number that seems to have a sufficient margin.
|
All times are GMT -5. The time now is 05:04 AM. |