Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Jose Ruiz reported that interactive dbaccess keeps running at 100% CPU after a PuTTY window is closed abruptly on RedHat. Andreas Legner said it is a known problem, also seen on SuSE and AIX, and recommended opening a support case. Jose opened one and reported APAR IT46691 now covers dbaccess surviving loss of its terminal.
Auto-generated by Claude from the posts below — may be imperfect; read the full thread.
Jose Ruiz — source: IBM Community (ConnectedCommunity.org) Informix forum
Hi everybody,
When running dbaccess (in interactive menu mode) on RedHat, if you just close the putty terminal window abruptly, dbaccess process keeps running and using up 100% CPU.
Top output shows:
The process hierarchy survives pending from process with pid 1,(init) and with no terminal attachment.
------------------------------
root 1407447 1 0 09:13 ? 00:00:00 sudo su - informix
root 1407448 1407447 0 09:13 ? 00:00:00 sudo su - informix
root 1407449 1407448 0 09:13 ? 00:00:00 su - informix
informix 1407450 1407449 0 09:13 ? 00:00:00 -bash
informix 1409593 1407450 84 09:16 ? 00:03:28 dbaccess
------------------------------
A "kill 1409593" will just end up the whole hierarchy.
Closing the terminal window without dbaccess running will end up the ps hierarchy correctly.
Using strace on the running dbaccess shows it is running an infinite loop doing
------------------------------
read(0, "", 1) = 0
read(0, "", 1) = 0
read(0, "", 1) = 0
......
------------------------------
This is happenning on RedHat only. Tested on SuSE and on HP/UX and dbaccess and everything else gets closed correctly on the linux/unix side.
I have checked stty -a and terminal config is exactly the same on RedHat and SuSE.
Any insight here much appreciated,
Best regards,
Josem
------------------------------
Jose Ruiz
------------------------------
↪ replying to Jose Ruiz
Andreas Legner — source: IBM Community (ConnectedCommunity.org) Informix forum
Hi Jose,
this is a known problem, bugging us too from time to time (test machines getting really slow), only no one so far got around to really fixing it and perform the required regression testing.
-> if you need this fixed, I'd recommend opening a support case and request the fix
Also: I cannot confirm this is anyhow RedHat specific, we're seeing it on SuSE too, and I just repro'ed it on AIX.
------------------------------
Andreas Legner
------------------------------
↪ replying to Andreas Legner
Jose Ruiz — source: IBM Community (ConnectedCommunity.org) Informix forum
Support case opened. Thanks Andreas.
------------------------------
Jose Ruiz
------------------------------
↪ replying to Jose Ruiz
Jose Ruiz — source: IBM Community (ConnectedCommunity.org) Informix forum
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.