* FD in Kernel 2.4.x
@ 2001-04-27 13:39 Federico Edelman Anaya
0 siblings, 0 replies; 2+ messages in thread
From: Federico Edelman Anaya @ 2001-04-27 13:39 UTC (permalink / raw)
To: linux-kernel
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_SETSIZE 1024 -> 4096
/usr/src/linux/include/linux/posix_types.h
#define __FD_SETSIZE 1024 -> 4096
/usr/src/linux/include/linux/tasks.h
#define NR_TASKS 512 -> 2048 /* On x86 Max 4092, or
4090 w/APM configured. */
Well... Kernel 2.4.3:
/usr/include/bits/types.h:
#define __FD_SETSIZE 1024 -> 4096
/usr/src/linux/include/linux/posix_types.h
#define __FD_SETSIZE 1024 -> 4096
It's only change was posible to do ... Because, tasks.h doesn't exist!
How can I do to increase the FD in the Kernel 2.4.3?
Thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: FD in Kernel 2.4.x
[not found] ` <3AE9AA32.321B05BD@kegel.com>
@ 2001-04-27 14:35 ` Federico Edelman Anaya
0 siblings, 0 replies; 2+ messages in thread
From: Federico Edelman Anaya @ 2001-04-27 14:35 UTC (permalink / raw)
To: Dan Kegel, Kernel List
# ./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
Dan Kegel wrote:
> Federico Edelman Anaya wrote:
> >
> > Yeah .. I put in /etc/sysctl.conf
> >
> > fs.file-max=16384
> > fs.inode-max=65536
> >
> > But, in 2.4.3 doesn't support fs.inode-max .... :(
> >
> > Dan Kegel wrote:
> >
> > > > How can I increase the FD in the Kernel 2.4.3?
> > >
> > > echo 32768 > /proc/sys/fs/file-max
> > >
> > > See also http://www.kegel.com/c10k.html#limits.filehandles
>
> You don't need fs.inode-max under 2.4.
>
> Can you check something for me? Run the program dklimits.c from
> http://www.kegel.com/dkftpbench/#tuning
> with argument 10000 and tell me what it prints.
> (Compile it with gcc -DLINUX dklimits.c.)
>
> - Dan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-04-27 17:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <3AE9A692.4F0CC9B3@kegel.com>
[not found] ` <3AE9802B.A19830A@elsitio.com.ar>
[not found] ` <3AE9AA32.321B05BD@kegel.com>
2001-04-27 14:35 ` FD in Kernel 2.4.x Federico Edelman Anaya
2001-04-27 13:39 Federico Edelman Anaya
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox