Network Status


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Network Status
# 1  
Old 02-08-2002
Network Status

Hi,

My system ( Solaris 2.6, Entrerprise 250 ) shows lot of connections in TIME_WAIT status against service

localhost.8007 and
localhost.45221

What are these services and where can I get the cross references.
I have checked up in /etc/services and there is no such entry.

Infact the no of TIME_WAIT connections on this services are increasing ( currently ~200)

Will this affect system performace ? OR if such service entries shows up in netstat -a . how can I get the cross reference ?

Thanks in Advance

JS
# 2  
Old 02-08-2002
Ports may get stuck in a time_wait due to the 2MSL timeout value, which is a part of the TCP specification. After a connection has been closed by both the client and the server, the port becomes unavailable for a certain amount of time, so that a new program does not inadvertantly get packets that were intended for the old program. On Solaris machines, the 2MSL value may be modified by adjust the /dev/tcp tcp_close_wait_interval ndd variable.


Since the ones you mention show localhost, it is a connection from your system to itself. I would believe if it is growing, there is something spawning and dying and respawning. Any new programs or application on your server or changes to applications?
thehoghunter
# 3  
Old 02-08-2002
Use the lsof command line utility to see what processes are bound to which sockets.

netstat -a shows all listening sockets, even listening sockets that have no active connections, BTW.

Search the forums with keywords lsof to find out more and where to download. LSOF has been discussed quite a few times.
# 4  
Old 02-09-2002
Hi,

I don't have the lsof utility. Of course I could find out some sites which offer the package. Unfortunately my proxy doesn't allow full access permission.
Meanwhile I checked up the /var/adm/messages .One error seems to be disturbing

<date> <MYHOSTNAME> sendmail[269]:unable to qualify my own domain name ( <MYHOSTNAME> ) -- using short name

<date> <MYHOSTNAME> sendmail[15513]: My unqualified host name ( <MYHOSTNAME> ) unknown; sleeping for retry.

the <MYHOSTNAME> is similar to the #hsotname output.

Infact recently the hostname was changed. And that was done using uname -S.

Could this informaiton can throw some light to the problem ??
# 5  
Old 02-09-2002
Quote:
Originally posted by shibz
Infact recently the hostname was changed. And that was done using uname -S.
Gack! That wasn't wise. The official Sun word is that you're supposed to use sys-unconfig which has a man page. The hostname is recorded in many places such as:
/etc/hostname.hme0 (or whatever you have for a network card)
/etc/nodename
and about 10 other files. I have used the sys-unconfig method ever since I got burnt doing it by hand.

And you should just ignore the TIME_WAITS. Each one goes away in a few minutes. They do not hurt performance.
# 6  
Old 02-11-2002
Thanks Perd,

I hope that's what creating problems with my system. But during the process of changing the nodename I have taken care of /etc/hostname.hme0 , my default network. but the /etc/net/*/hosts were not attended.

I'm waiting for my next clearance to down the system and perform these activities. ( sys-unconfig ) ..

Once again Thanks all..
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Programming

How to track table status delete/update/insert status in DB2 V10 z/os?

Dear Team I am using DB2 v10 z/os database . Need expert guidance to figure out best way to track table activities ( Ex Delete, Insert,Update ) Scenario We have a table which is critical and many developer/testing team access on daily basis . We had instance where some deleted... (1 Reply)
Discussion started by: Perlbaby
1 Replies

2. Solaris

Link aggregation and status of network interfaces in “ipadm” command

I am again rephrasing the issue that we are facing: We are creating link aggregations with two interfaces named net0 & net5: # dladm create-aggr -m dlmp -l net0 -l net5 -l net2 aggr1 Setting prob targets for aggr1: # dladm set-linkprop -p probe-ip=+ aggr1 Setting failure detection... (3 Replies)
Discussion started by: amitanshu.verma
3 Replies

3. Shell Programming and Scripting

Network script for ping status

Actually I am using Red hat Linux 4.4 version. I want to check the 16 client pc status of connection from server.Whether the connection is available or not.I tried to develop the shell script for this code.But It don't work properly.I am a self study learner.Please give me a shell script for this... (9 Replies)
Discussion started by: kannansoft1985
9 Replies

4. Red Hat

RHEL4 on VM cannot get status network link down

Hi All, RHEL4 on VM cannot get status network link down. when I unplug network cable. - ESX found interface down - but VM RHEL4 not detect that !, It show still up (mii-tool) Please help share you idea for my case. ESXi 5.1.0, RHEL4 Thank you, (3 Replies)
Discussion started by: arm_naja
3 Replies

5. AIX

Alert: Network Status Monitor daemon (rpcstat) is not running

Hi I am currently testing SCOM2012 on my AIX systems for monitoring. I tested it on 3 systems and immediately i got the following errors: Alert: Network Status Monitor daemon (rpcstat) is not running Source: AIX 7.1 Path: (left blank) Last modified by: (left blank) Last modified time:... (3 Replies)
Discussion started by: jsabo40
3 Replies

6. AIX

How to detect the network cable status with c programming on AIX

Hello, Is there any API or any other approach to detect whether the network cable is connected to the network adapter, say, en0, en1 or en2? The OS is AIX6.1. Thank you. (4 Replies)
Discussion started by: zephyrbj
4 Replies

7. Solaris

How to retrieve network link status from Kernel?

I have need for a reliable and easy way to get from within a script, or a java class, the status of the network interface cards (whether the link is up, or down). I believe the kernel status would be quicker to know if they were up or down rather than if a ping simply didnt respond back. ... (2 Replies)
Discussion started by: mrmurdock
2 Replies

8. Shell Programming and Scripting

Multiple Network Card Status Script

I have multiple Sun Solaris 8 systems running multiple network cards. (Mix of quad and gig cards.) What I would like to do is create a monitor script to ensure high availability of these cards. Has anyone ever had a situation like this? I was thinking of using the ping command, but am... (1 Reply)
Discussion started by: Krusty
1 Replies
Login or Register to Ask a Question