> When I telneted in, and tried to do a few things (simple things), I got
> error messages like "too many open files", and then I would also get
> segmentation faults for programs like ls, and I wanted to do smbstatus |
> grep ^[0-9] | sort | uniq -c | sort -nr, which also would fail.
>
> Can someone tell me what I need to do to fix this? I think I may have to
> modify the kernel somehow. Also should I upgrade to 2.0.34, will this solve
> the problem?
An upgrade to 2.0.34 is advisable, but not for the "too many open files"
problem.
Something like
echo "2048" > /proc/sys/kernel/file-max
Will double the maximum amount of open files you system will support.
Hassle free, no? :)
If doing this it might be wise to also bump up the max inodes value;
echo "6000" > /proc/sys/kernel/inode-max
Cheers
Chris
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu