Solved

Netstat -a recv and send Q's

Posted on 2009-04-14
6
907 Views
Last Modified: 2013-12-16
System is Sun V40z with RH4. 12 gig memory. I am looking for reasons for system  intermitant slowness loging in users. Top show 97% plus on all cpus. A restart of service = sshd seems to clear the problem for awhile. I need info on what the recv and send Q's are in netstat -a.  Are these ques on the network card or RH software, etc.  Specificaly I have large numbers in the q's. How can I flush these ques?  How do I interpet these numbers?
thanks
netstat -a | grep syslog
udp     4224      0 *:syslog                    *:*
tcp        0         52 McPbsAM:ssh                 mcdpnety.ad.ewsad.net:1451  ESTABLISHED

Open in new window

0
Comment
Question by:Bstafford51
  • 3
  • 2
6 Comments
 
LVL 29

Expert Comment

by:fosiul01
ID: 24142570
is this server located in Inside of your network ?? or remotely ??

you said, top command show 97% cpu uses,  , so which service is consuming so much cpu ??

how much ram is available ??? from top command

netstat -an | grep ESTABLISHED

how many establisshed conneciton you got ?? are those legite connections ??
0
 

Author Comment

by:Bstafford51
ID: 24142799
My bad. I ment 97% idle on cpu. The server is inside the network. I was able to clearhte ques on syslog
by restarting the syslog service. But i need to know what the number means, ie how is it generated.

thanks
0
 
LVL 29

Expert Comment

by:fosiul01
ID: 24142819
sorry i didnot understand what you meant by this

"But i need to know what the number means, ie how is it generated. "

what number ??
0
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 

Author Comment

by:Bstafford51
ID: 24142951
The usual explanation I have found for the netstat utility does not go into very mush depth as to what the numbers  mean.  so if I have a high number in the RECV-q is it an error etc. What generates that number, where does the utility get that number. Is it from the interface? Is it a peak number or an average. I need more info on the guts of the Linux OS, something past the normal web/book information.

thanks
0
 
LVL 7

Expert Comment

by:Morne Lategan
ID: 24143569
I'm not answering your question on the q's but slowness on login could be a dns issue as well. If DNS goes down, or becomes slow, it takes long between login and the password prompt because sshd will try to reverse lookup your IP address.
0
 
LVL 29

Accepted Solution

by:
fosiul01 earned 500 total points
ID: 24145522
Hi good morning
sorry due to night could not able to reply

truth is , i dont have too much idea about SendQ and Receiveq number, but i was reading last night coupld of site, every one saying that, those number depends how the Software is tryign to access client and server. network slowness is nothing to do wth that,..

what sort of problem you having with ssh ??

is this something like = user try to login, but after putting password, its takes long to authenticate ??
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
wifi not working on Raspberry Pi 3? 2 57
cannot connect to openvpn server 9 77
is my large folder zipped corrupted 4 67
open source backup solution 1 29
Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question