FD in Kernel 2.4.x
A message that is not in the archive (sent off-list or not yet received): [email protected]
# ./dklimits 10000 Can open 1020 AF_LOCAL sockets with socketpair Can open 0 AF_INET sockets with socketpair Can open 1021 fds Can open 1021 files Can poll 1025 sockets Can bind 1021 ephemeral ports
Quoted 25 lines · Dan Kegel
Quoted 15 lines · Federico Edelman Anaya
Yeah .. I put in
/etc/sysctl.conffs.file-max=16384
fs.inode-max=65536But, in 2.4.3 doesn't support fs.inode-max .... :(
Quoted 5 lines · Dan Kegel
Quoted 1 line
How can I increase the FD in the Kernel 2.4.3?
echo 32768 >
/proc/sys/fs/file-maxYou don't need fs.inode-max under 2.4.
Can you check something for me? Run the program
dklimits.cfrom
http://www.kegel.com/dkftpbench/#tuning
with argument 10000 and tell me what it prints. (Compile it with gcc -DLINUXdklimits.c.)- Dan