Re: Informix sessions hang !
Posted in 1997
Manoj wrote:
> We are on solaris 5.5.1 with informix 7.22 running r4gl apps.
> Every now and then we get a user session that freezes up.
> A "ps" shows that the user is running the prog and the time is clocking up.
> An "onstat" shows the the user is in cond wait(sm_read), locked mutex.
This may or may not be related to your problem.
I was seeing this same condition here as well. The problem was that a
session would become hosed if a user used the arrow keys to select a
menu option, if the first command statement within the menu block was
command key(some_key). The user would then close that window and send a
process running along...
This is a known 4gl bug; moving the command key statement lower in the
menu structure fixed the problem. Occasionally we still see it if a
user shuts down the window without exiting properly, but I just have a
cron job set to run periodically to alert me to the problem and I simply
kill it.
Your problem may not be related to the menu/arrow problem, but I bet
you've got users that are not shutting down their sessions properly.
Dan
--
-----------------------------------------------------------------------
Daniel James - Database Administrator djames@statsci.com
DAPD Div of MathSoft (formerly StatSci) (206) 283-8802 x284