Re: Need help: zombie user threads
Posted in 1995
In article: <D32E2w.9Cn@Yuri.CC.Uni-Augsburg.DE>
sfk@teflon.RZ.Uni-Augsburg.DE (Rolf Saalfrank) writes:
>
>
> We have a problem with our client server application as described
> below:
> Windows Application
> -> Q+E ODBC driver V. 1.2
> -> Informix NET for Windows 5.01E1
> -> LWP Winsock interface
> -> Network
> -> Informix Online 6.00 UE1 under UNIX
> Now the problem:
> When our Windows client crashes, a user thread within Informix
> remains alive with all its database locks. A checkpoint doesnt
> help. We have to kill this thread manualy with the onmode command.
> Any help is appreciated.
> With regards,
> --
> Rolf Saalfrank
> PRO SIEBEN television Inc.
> rolf.saalfrank@public.uni-augsburg.de
>
This problem is caused by not using the SO_KEEPALIVE option on the socket.
If the option is omitted there is no way to tell that the end point
(i.e. PC) is dead. Check out the options for the Q+E driver on how to
set this from the PC side and your problem will disappear.
Graeme Burnett
Xinit Open Systems Limited (+44) 171 586 5855