Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 01-15-2010, 04:13 AM   #1
LQ Newbie
Registered: Jan 2010
Posts: 4

Rep: Reputation: 0
TCP server dies after few hours of inactivity

We have a NAS application which can be accessed by both HTTP and HTTPS connections.

The issue we are facing is that the tcp server instance that initiates the HTTP access dies after a few hours of inactivity(the NAS application was kept idle for around 10 hours). However, the tcpserver that launches HTTPS connections remained running.So the connection failed through HTTP access but the connection succeeded through HTTPS access.

The converse has also been observed where the tcpserver for HTTPS is dead but tcpserver for HTTP is running.

The version of tcpserver that we are using here is ucspi-tcp-0.88.tar.gz.

I have the following queries:

a)Has anyone faced the same problem before?
b)Is it an issue with this package version of tcpserver ?
c)Will upgrading to newer versions of tcpserver bail me out of the issue?
d)Also, could anyone let me know what are the possible causes for the tcpserver to die ?
Old 01-15-2010, 07:32 PM   #2
Senior Member
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650
Is the tcp server actually dying or is http/https just refusing any more connections ?
Old 01-15-2010, 07:39 PM   #3
Senior Member
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
It should listen interface, if it is alive. What does "netstat -ntulp" give you?
Old 01-18-2010, 07:40 AM   #4
LQ Newbie
Registered: Jan 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Actually, this is a problem reported by one of our clients. The bug report states that the tcp server actually dies.

We were not able to reproduce this issue. But we are trying to figure out if the issue has been faced by any one else. I would post the logs once I myself recreate it.

If anyone has faced this issue earlier or if anyone could suggest some alternatives, it would help me out a lot.

Also, I would like to know the various triggers that can kill the tcp server.


dies, server, tcp

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
USB dies within 24 hours Per Linux - Hardware 0 10-03-2006 12:00 PM
x server dies...dies...dead! aquaboot Linux - Software 2 08-28-2005 11:54 AM
Samba problem with server inactivity in Fedora Core 2 seossenk Linux - Software 0 01-25-2005 08:54 AM
TCP Inactivity Timer jonty_11 Linux - General 1 01-23-2005 11:23 PM
Network connection dies every 20 to 30 hours explorer Linux - Newbie 9 04-02-2003 11:39 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:59 AM.

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