Re: adjusting kernel paramenters (max tcp connections and socketdescriptors)
From: Nivedita Singhvi
Date: Fri Apr 08 2005 - 19:02:37 EST
Will Kuhn wrote:
How do I adjust kernel paramenters such as max tcp
connections and max socket descriptors ?
There are no kernel parameters that control those
Very indirectly, you can control tcp_mem to control
the amount of memory TCP sockets are allowed in the
system. The number of socket descriptors is only
constrained by the number of file descriptors in
If you just want to know how to control kernel parameters,
you can edit /etc/sysctl.conf and add entries for the
parameters you want to change. See man 5 sysctl.conf.
That will persist across reboots. Else just echo the
new value into /proc/sys/?. See Documentation/filesystems/
See Documentation/networking/ip_sysctl.txt, man 7 tcp,
man 7 socket for kernel parameters you can control.
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html