Maximum TCP-Sockets
Hi,
is there anyway to find out, how many TCP-Sockets are available on my RedHat 8.0 System? I guess that Inbound Connections are limited by filehandlers and Outbound Connections by Ports (?). Are the Inbound Connections depending on the memory available? |
try looking at /proc/sys/fs/file-nr and file-max. Sockets are treated as file handles, so this configuration option applies.
The file-nr has 3 numbers in it. The first is peak, the second is current, the third is max. To increase the max, do "cat new_max > /proc/sys/fs/file-max", where new_max is what you want your new maximum to be. Remember that these are system-wide settings. To set it for an individual user, you have to use ulimit. Read the man page for ulimit for its use. |
Thank you helped a lot.
|
All times are GMT -5. The time now is 09:13 AM. |