LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 08-02-2005, 10:46 AM   #1
Rakoon
LQ Newbie
 
Registered: Aug 2005
Posts: 2

Rep: Reputation: 0
TCP Network Sockets


I have an RH 7.1 server runnning DNS, SMTP, POP and Webmail.
I have a problem of connections timing out.

Running netstat -n|grep SYN_RECV shows a couple of connections waiting.

I want to increase the maximum number of sockets to about 1024. I understand the Linux default is 128.

I have read a few documents on this but I have not come across a clear one. They simply point to SOMAXCONN in /usr/include/linux/socket.h

If I change this value to whatever figure I want do I need to recompile the kernel or do I simply reboot the box for the new value to work.

Is there a command I can use to see the current set value.
 
Old 08-04-2005, 01:36 AM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
I would look at increasing the #/ephemeral ports on your system before doing anything else:

http://support.zeus.com/print.cgi/fa...ail_ports.html
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How many total TCP sockets can my linux box have? how can I check the number used? abefroman Linux - Networking 2 11-09-2005 04:11 PM
2 network cards, sockets? macshark Linux - Networking 2 01-29-2004 10:39 AM
Server/Client-commucation via TCP-Sockets cYbORg Programming 5 05-18-2003 07:01 PM
Maximum TCP-Sockets Quis Linux - Networking 2 01-17-2003 04:55 AM
netstat doesn't show tcp sockets in Redhat 7.2 pfpalmer Linux - General 3 10-31-2002 04:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 11:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration