Thread: Random 404s
View Single Post
  #20  
Old 12-27-2005, 04:19 PM
matt matt is offline
Member
 
Join Date: Oct 2005
Location: San Francisco
Posts: 37
The lshttpd had 170 open files according to lsof. There are about 1500 open total on the system.

ulimit -a returns this:

Code:
two:~# ulimit -a
core file size        (blocks, -c) 0
data seg size         (kbytes, -d) unlimited
file size             (blocks, -f) unlimited
max locked memory     (kbytes, -l) unlimited
max memory size       (kbytes, -m) unlimited
open files                    (-n) 1024
pipe size          (512 bytes, -p) 8
stack size            (kbytes, -s) 8192
cpu time             (seconds, -t) unlimited
max user processes            (-u) unlimited
virtual memory        (kbytes, -v) unlimited
This seemed okay:

Code:
two:~# more /proc/sys/fs/file-max
64000
Anything else I can provide?
Reply With Quote