Re: inetd keepalive problem
Posted in 1998
Greetings! Set the The Keep Alive Option in the 5th column of the sqlhosts file: The keep Alive option is a network option that TCP/IP uses. It does not affect other types of connections. The letter k identifies keep-alive entries in the options field, as follows. k=0 disable the keep-alive feature k=1 enable the keep-alive feature When a connected client and server are not exchanging data, the keep-alive option enables the network service to check the connection periodically. If the receiving end of the connection does not respond within the time specified by the parameters of your operating system, the connection is considered broken, and all the resources related to the connection are released. When the keep-alive option is enabled, the network service spends additional resources to check the connection. When the keep-alive option is disabled, the network service does not check periodically whether the connection is still active. If you do not include the keep-alive option in the OPTIONS field (5th column of sqlhosts), the keep-alive feature is enabled by default. --Anil Art S. Kagel wrote: > Graham Mitchell wrote: > > > > Hi, > > > > ( HP9000 K-Series hp-ux 10.20 IDS 7.23UD3 ) > > > > I am unable to resolve this pain in the neck problem. > > has anyone solved this before ? > > > > We have client PCs logging into the database server > > using a client/server application. > > Sometimes, the users switch the PC off and go home and not > > close the application correctly > > This leaves an active thread on the engine with no TTY port > > which will not die ! > > > > I know this has something to do with a 'keepalive' > > parameter on the inetd daemon. But I'm tearing my hair > > out trying to find it. I looked in the kernal params > > Keepalive yes inetd no. You can add the new (since 7.21) keepalive > option the the sqlhosts line for the server on both the server side. > (I think it is ',keep=1' after the service but I do not have time to > check it out now. Checkout the 7.30 manuals that are online at the > Informix WEB Site if you do not have 7.23 manuals or the CD. The > feature is definitely in 7.23 and the syntax is the same in 7.30. > > Art S. Kagel Oo==============================================oO Anil Karkera Email: anilk@informix.com Technical Support Informix Software, Inc. http://www.informix.com Oo==============================================oO