Re: fs.file-max

2001-05-08 Thread Federico Edelman Anaya
Dan: Hi ... Dan Kegel wrote: > Federico Edelman Anaya ([EMAIL PROTECTED]) wrote: > > > What can I do to test the FD limit? ... Because, the FD limit is set in > > /proc/sys/fs/file-max, sample: > > > > echo "2048" > /proc/sys/fs/file-max >

fs.file-max

2001-05-08 Thread Federico Edelman Anaya
Hi! ... In a Linux Kernel ... What can I do to test the FD limit? ... Because, the FD limit is set in /proc/sys/fs/file-max, sample: echo "2048" > /proc/sys/fs/file-max ulimit -n 8192 In this case ... the FD limit = 8192 :( ... when the limit should be 2048? I wrote a perl script for the test

Re: FD in Kernel 2.4.x

2001-04-27 Thread Federico Edelman Anaya
# ./dklimits 1 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 Dan Kegel wrote: > Federico Edelman Anaya wrote: > > > > Yeah .. I put in /

FD in Kernel 2.4.x

2001-04-27 Thread Federico Edelman Anaya
Hi! I am newbie in this list! .. I'm Federico Edelman Anaya ... well! .. I have a question ... I need increase the FD (File Descriptors) ... I was change the value of the FD in kernel 2.2.17: /usr/include/bits/types.h: #define __FD_SETSIZE1024-> 4096 /usr/src/linux/inclu