Too Many Open Files
I am running the beta 3. I received the 'too many open files' message while attempting to install a rather large program. A google search didn't seem to find any solutions that are applicable to SuSE. Assistance will be appreciated. Thanks in advance.
Am Sonntag, 28. August 2005 20:07 schrieb Stephen P. Molnar, Ph.D.:
I am running the beta 3. I received the 'too many open files' message while attempting to install a rather large program. A google search didn't seem to find any solutions that are applicable to SuSE.
Assistance will be appreciated.
Please write in a shell 'cat /proc/sys/fs/file-max' and you will get a number. Please tell us this number (if its normally around 30000 or more, i have 37952 in Beta 2) and maybe you should also mention this 'rather large program'. And have you tried to install this program ever in another linux? regards, Jens
Jens Nixdorf wrote:
Am Sonntag, 28. August 2005 20:07 schrieb Stephen P. Molnar, Ph.D.:
I am running the beta 3. I received the 'too many open files' message while attempting to install a rather large program. A google search didn't seem to find any solutions that are applicable to SuSE.
Assistance will be appreciated.
Please write in a shell 'cat /proc/sys/fs/file-max' and you will get a number. Please tell us this number (if its normally around 30000 or more, i have 37952 in Beta 2) and maybe you should also mention this 'rather large program'. And have you tried to install this program ever in another linux?
regards, Jens
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-help@opensuse.org
The value from the cat command was 50836. I have run the program in SuSE v9.3
Am Sonntag, 28. August 2005 22:00 schrieb Stephen P. Molnar, Ph.D.:
The value from the cat command was 50836. I have run the program in SuSE v9.3
This number should be big enough, so i think the problem is another one. Anyway, you can try to increase it like Eberhard already wrote in his posting. If it fails again, try to increase it more, but i'm quite sure that this is only a symptom of another error. regards, Jens
Hi, On Sun, 28 Aug 2005, Stephen P. Molnar, Ph.D. wrote:
I am running the beta 3. I received the 'too many open files' message while attempting to install a rather large program. A google search didn't seem to find any solutions that are applicable to SuSE. Assistance will be appreciated.
echo 65535 >>/proc/sys/fs/file-max Cheers -e -- Eberhard Moenkeberg (emoenke@gwdg.de, em@kki.org)
On Sunday 28 August 2005 22:32, Eberhard Moenkeberg wrote:
Hi,
On Sun, 28 Aug 2005, Stephen P. Molnar, Ph.D. wrote:
I am running the beta 3. I received the 'too many open files' message while attempting to install a rather large program. A google search didn't seem to find any solutions that are applicable to SuSE. Assistance will be appreciated.
echo 65535 >>/proc/sys/fs/file-max
This controls the total number for the whole system. There is also a per user limit, usually 1024. That could be what the installer hits
Hello, On Sunday 28 August 2005 14:03, Anders Johansson wrote:
...
echo 65535 >>/proc/sys/fs/file-max
This controls the total number for the whole system. There is also a per user limit, usually 1024. That could be what the installer hits
And to display this limit, use the BASH built-in "ulimit": % ulimit -a core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited file size (blocks, -f) unlimited max locked memory (kbytes, -l) 32 max memory size (kbytes, -m) 1762390 open files (-n) 1024 pipe size (512 bytes, -p) 8 stack size (kbytes, -s) 8192 cpu time (seconds, -t) unlimited max user processes (-u) 16369 virtual memory (kbytes, -v) unlimited To reduce the per-process (_not_ per-user) open file limit: % ulimit -n 512 % ulimit -n 512 The per-process value is inherited when sub-processes are created: % ulimit -n 1024 % bash -i % ulimit -n 512 % ulimit -n 512 % exit % ulimit -n 1024 Randall Schulz
Randall R Schulz wrote:
Hello,
On Sunday 28 August 2005 14:03, Anders Johansson wrote:
...
echo 65535 >>/proc/sys/fs/file-max
This controls the total number for the whole system. There is also a per user limit, usually 1024. That could be what the installer hits
And to display this limit, use the BASH built-in "ulimit":
% ulimit -a core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited file size (blocks, -f) unlimited max locked memory (kbytes, -l) 32 max memory size (kbytes, -m) 1762390 open files (-n) 1024 pipe size (512 bytes, -p) 8 stack size (kbytes, -s) 8192 cpu time (seconds, -t) unlimited max user processes (-u) 16369 virtual memory (kbytes, -v) unlimited
To reduce the per-process (_not_ per-user) open file limit:
% ulimit -n 512
% ulimit -n 512
The per-process value is inherited when sub-processes are created:
% ulimit -n 1024
% bash -i % ulimit -n 512 % ulimit -n 512 % exit
% ulimit -n 1024
Randall Schulz
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-help@opensuse.org
My thanks to all who answered. The problem has been solved. -- Stephen P. Molnar, Ph.D. Life is a fuzzy set Foundation for Chemistry Stochastic and multivariant http://www.geocities.com/FoundationForChemistry
* Stephen P. Molnar
My thanks to all who answered. The problem has been solved.
And.... Or do we have a game of suspense? -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery
Patrick Shanahan wrote:
* Stephen P. Molnar
[08-29-05 06:42]: My thanks to all who answered. The problem has been solved.
And....
Or do we have a game of suspense?
Oops. Sorry! Just follow the instructions earlier in the thread echo 65535 >>/proc/sys/fs/file-max ------- Stephen P. Molnar, Ph.D. Life is a fuzzy set Foundation for Chemistry Stochastic and multivariant http://www.geocitite.com/FoundationForChemistry
participants (7)
-
Anders Johansson
-
Eberhard Moenkeberg
-
Jens Nixdorf
-
Patrick Shanahan
-
Randall R Schulz
-
Stephen P. Molnar
-
Stephen P. Molnar, Ph.D.