05-30-2012
Threshold for open connections
Hey guys,
We've been having issues on one of our CentOS 6 servers and one of the java programs that runs on it. As the software hasn't caused issues in the past, I'm wondering if its a problem with the CentOS server.
Basically, the software drops it's tcp connection and won't reconnect, timing out on each occasion. I'm wondering if the number of open tcp connections on the server has exceeded a limit ? Where would a tcp limit be held ? I've had a look at /proc/sys/net/core/somaxconn and the limit in there is 128 (which seems quite low although is the default on our other 5 CentOS boxes with no issues) - would this benefit from being increased ? Also, anyone any ideas on what else I could check ? I've had a look in the /etc/sysctl.conf and there's nothing in there that relates to any incoming connection limit.
Much thanks in advance for any help, it's driving me crazy!
Jim
9 More Discussions You Might Find Interesting
1. Solaris
Hello everybody,
This is an unusual problem that I am facing on my Solaris 9 on Sun Blade 150 workstation. I can ping remote machines (outside subnet) but I can't open up a connection/port on those machines.
For example, `ping ftp.xyz.com` gives ftp.xyz.com is alive but if I do a `ftp... (1 Reply)
Discussion started by: red_crab
1 Replies
2. Solaris
hi,
I am trying to determine a 'rule of thumb' threshold for memory usage on different Solaris versions.
I know that prior to Solaris 8, "page scan rate > 300" can be used as a general rule of thumb to determine any memory shortages. Since Solaris 9 and 10 have a different memory handling... (2 Replies)
Discussion started by: bwclu
2 Replies
3. Shell Programming and Scripting
Hi folks,
how can i check apache threshold values via shell scripting and what factors need to check via shell scripting process or number of users or what.
pls do advice me.
Thanks,
Bash (9 Replies)
Discussion started by: learnbash
9 Replies
4. UNIX for Advanced & Expert Users
Hi experts,
I found-
$ tail -f /var/adm/messages
....
....
Jan 17 05:16:31 server01b last message repeated 6 times
Jan 17 05:17:05 server01c ufs: NOTICE: alloc: /var/fileserver:file system full
but I checked with df -k and found /var/fileserver is only 49% is used. It means... (7 Replies)
Discussion started by: thepurple
7 Replies
5. UNIX for Advanced & Expert Users
Hi,
I am trying to make a script in which the user is notified once the disk space of the environment increases a particular threshold.
I have made a script for it but I am facing an error while executing it.
Could any one here guide me further??
Script
#!/bin/sh
warninglimit=350000... (22 Replies)
Discussion started by: Taranjeet Singh
22 Replies
6. UNIX for Dummies Questions & Answers
What should be the threshold for load average of a quad core processor? What constitutes "good" and "bad" load average values? (2 Replies)
Discussion started by: proactiveaditya
2 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I have a table with 14 columns. How can I filter the columns 2-14, so that I get only those rows back in which the data values are >= 6 in 5 or more columns. :confused:
E.g.
A 6 6 3 6 7 8
B 1 2 3 4 5 5
C 2 2 2 6 7 8
Here I should only get back the row A.
I would like to work from... (5 Replies)
Discussion started by: danieladna
5 Replies
8. Solaris
Hi there,
Root filesystem is above threshold, I have search and cleared unwanted files which are filling up space. But the root fs is still above threshold.
I don't know about veritas volume management. Can anyone show me how to solve this. Du shows /proc is occupying a lot of space. Most of the... (2 Replies)
Discussion started by: sundar63
2 Replies
9. Solaris
If I understand your question correctly, you are asking for an explanation of Solaris memory manager. You'd better ask Oracle that question because you are talking about Solaris kernel internals.
The operating system kernel has no reason to kick a process's memory set out of real memory until... (4 Replies)
Discussion started by: hicksd8
4 Replies
LEARN ABOUT CENTOS
tapset::tcp
tapset::tcp(3stap) tapset::tcp(3stap)
NAME
tapset::tcp - systemtap tcp tapset
DESCRIPTION
This family of probe points is used to probe events that occur in the TCP layer,
tcp.sendmsg
Sending a tcp message
See probe::tcp.sendmsg(3stap)
for details.
tcp.sendmsg.return
Sending TCP message is done
See probe::tcp.sendmsg.return(3stap)
for details.
tcp.recvmsg
Receiving TCP message
See probe::tcp.recvmsg(3stap)
for details.
tcp.recvmsg.return
Receiving TCP message complete
See probe::tcp.recvmsg.return(3stap)
for details.
tcp.disconnect
TCP socket disconnection
See probe::tcp.disconnect(3stap)
for details.
tcp.disconnect.return
TCP socket disconnection complete
See probe::tcp.disconnect.return(3stap)
for details.
tcp.setsockopt
Call to setsockopt()
See probe::tcp.setsockopt(3stap)
for details.
tcp.setsockopt.return
Return from setsockopt()
See probe::tcp.setsockopt.return(3stap)
for details.
tcp.receive
Called when a TCP packet is received
See probe::tcp.receive(3stap)
for details.
SEE ALSO
probe::tcp.sendmsg(3stap), probe::tcp.sendmsg.return(3stap), probe::tcp.recvmsg(3stap), probe::tcp.recvmsg.return(3stap),
probe::tcp.disconnect(3stap), probe::tcp.disconnect.return(3stap), probe::tcp.setsockopt(3stap), probe::tcp.setsockopt.return(3stap),
probe::tcp.receive(3stap), stap(1), stapprobes(3stap)
IBM
--- tapset::tcp(3stap)