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