* Ports left in CLOSE_WAIT State
@ 1996-01-30 8:32 Leo Dittemore
1996-01-31 4:58 ` Aaron Sakovich
0 siblings, 1 reply; 3+ messages in thread
From: Leo Dittemore @ 1996-01-30 8:32 UTC (permalink / raw)
I am running Metainfo DNS 1.2, Netscape Commerce Server 1.1, and NTmail
V3.0.6 on an AXP 150. I had noticed that the system would sometimes hang
when I would restart Netscape. The hang would start with the Restart
process never completing. Afterward, new processes could not be started.
The system would allow existing processes to be killed if a console window
had been opened before the restart or using the task list. But the system
could not be shutdown except via power off.
Then I happened to look at the NETSTAT output and found several hundred
ports left in CLOSE_WAIT state. All of these ports are attached to my
system with a port number and to the remote system with the name "domain".
The remote servers are my ISP's name servers. These servers are set as
Primary and Secondary name server for my ISDN connection. They act as
Secondaries to my system as Primary domain definitions. I cannot honestly
say if this is a new phenonenon or not as I do not remember running NETSTAT
before this.
Deciding therefore these ports are somehow related to my Named32 process I
stopped the DNS process using the Metainfo CPL applet. The service stops
and the ports go away. However the next time I try to stop the DNS service
the system hangs as described. I try again with the exact same results. I
then try to stop the DNS process using the Services applet. This time the
ports go away and I have not been able to hang the system using this method.
I asked Metatinfo about this problem. Their response has been:
>The problem is that active services using the TCP Kernel have to be
>restarted after "cycling" another Service using TCP (especially true for
>LISTENER applications/services. The reason is that once the app/service is
>up and running the address/port numbers as resolved to "real" network
>addressses is cached and not "re-resolved". The "real" network addresses
>"within" a machine are created at run time and can be different from one
>start to another. There is not much we can do about this as it is
>"performed" by our friend the NT network kernel.
>
>(This message compliments of one of our developers-I hope you understand it)
>
>This is about all the info we have. You may have to look elsewhere if you
>require more.
>
To me they are saying that the kernal cannot remember which incoming ports
were established prior resolution of the address. Since the kernal is
responisble for process and port? deletion it is reponsible for leaving the
ports active. However the response does not say anything about stopping the
Named32 process causing a system hang.
Is anyone else expericencing this problem? Clearing the ports seems to have
eliminated the hang when restarting Netscape. I have been clearing the
ports several times a day (3-4) as usage is increasing (so at least someting
is working). Is there any way to do this with a batch job?
Everything else is woring fine. Mail is flowing, names are resolved, and
HTTP service requests are fulfilled. But at times this is more than annoying.
Any help greatly appriciated,
Leo Dittemore
http://www.webconnections.com/leo/ld.htm
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Ports left in CLOSE_WAIT State
1996-01-30 8:32 Ports left in CLOSE_WAIT State Leo Dittemore
@ 1996-01-31 4:58 ` Aaron Sakovich
0 siblings, 0 replies; 3+ messages in thread
From: Aaron Sakovich @ 1996-01-31 4:58 UTC (permalink / raw)
>
> I am running Metainfo DNS 1.2, Netscape Commerce Server 1.1, and NTmail
> V3.0.6 on an AXP 150. I had noticed that the system would sometimes hang
> when I would restart Netscape. The hang would start with the Restart
> process never completing. Afterward, new processes could not be started.
> The system would allow existing processes to be killed if a console window
> had been opened before the restart or using the task list. But the system
> could not be shutdown except via power off.
>
> Then I happened to look at the NETSTAT output and found several hundred
> ports left in CLOSE_WAIT state. All of these ports are attached to my
> system with a port number and to the remote system with the name "domain".
Whoa! What a coincidence!!!
I was just reading this week's PC Week (Jan 29) and El Gato had a small tidbit
about Netscape mucking with reverse DNS lookups!
To quote:
" Netscape's Communications Server for Windows NT has a huge bug that
causes NT to hang, grumped a couple of Netheads to El Gato.
The problem has to do with the reverse DNS lookups that Netscape does for
access logging. If you turn off DNS lookups (which Netscape installs by
default), the problem goes away. Netscape has known about this since the
summer of 1995 but hasn't doen anything about it."
Want to try turning it off and see if it helps? It may not be the DNS after
all...
> Any help greatly appriciated,
> Leo Dittemore
Aaron
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Ports left in CLOSE_WAIT State
@ 1996-01-31 9:17 Leo Dittemore
0 siblings, 0 replies; 3+ messages in thread
From: Leo Dittemore @ 1996-01-31 9:17 UTC (permalink / raw)
Thanks for the suggestion but this does not appear to be this problem. I
turned DNS off in Netscape and continue to accumulate ports. I did notice
that I get two ports for every remote access whether mail/http/ftp it makes
no difference. I got lucky when I turned DNS off and incoming happened to
be slow :-(
I have found pointers on other list servers (see esp. WebSite archive @
http://website.ora.com/) to a problem in NT3.51's TCP stack which is
described as a memory leak or losing memory but some people also mention
ports left open. So I suspect this is my problem. Rumor is that MS knows
about the problem and a fix is due in the next release. I will pursue
through MS and report what I learn.
Thanks,
Leo
>Whoa! What a coincidence!!!
>
>I was just reading this week's PC Week (Jan 29) and El Gato had a small tidbit
>about Netscape mucking with reverse DNS lookups!
>
>To quote:
>
>" Netscape's Communications Server for Windows NT has a huge bug that
>causes NT to hang, grumped a couple of Netheads to El Gato.
>
> The problem has to do with the reverse DNS lookups that Netscape does for
>access logging. If you turn off DNS lookups (which Netscape installs by
>default), the problem goes away. Netscape has known about this since the
>summer of 1995 but hasn't doen anything about it."
>
>Want to try turning it off and see if it helps? It may not be the DNS after
>all...
>
>> Any help greatly appriciated,
>> Leo Dittemore
>
>Aaron
>
Leo Dittemore
http://www.webconnections.com/leo/ld.htm
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1996-01-31 9:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-01-30 8:32 Ports left in CLOSE_WAIT State Leo Dittemore
1996-01-31 4:58 ` Aaron Sakovich
-- strict thread matches above, loose matches on Subject: below --
1996-01-31 9:17 Leo Dittemore
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox