Re: adjusting kernel paramenters (max tcp connections and socket descriptors)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 specifically.

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
the system.

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/
proc.txt.

See Documentation/networking/ip_sysctl.txt, man 7 tcp,
man 7 socket for kernel parameters you can control.

thanks,
Nivedita

-
: 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

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux