Unix Technical Forum

automatically killing idle "fglgo" process

This is a discussion on automatically killing idle "fglgo" process within the Informix forums, part of the Database Server Software category; --> Hello everyone! We are implementing a script to automatically kill off idle application sessions. The way we identify whether ...


Go Back   Unix Technical Forum > Database Server Software > Informix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-20-2008, 12:22 PM
Carl Wu
 
Posts: n/a
Default automatically killing idle "fglgo" process


Hello everyone!
We are implementing a script to automatically kill off idle application
sessions. The way we identify whether it's idle is by the timestamps
obtained by "onstat -g ntt", and we will use "kill -15" to kill off the
"fglgo" process if the sesion is idle for more than a configured length
of time.
We have around 300 users, each day 50 or so of such sessions may be
killed.

Does any one see any problem with this approach? Would this de-stablise
the engine in any way?

OS: Solaris 5.8
IDS 9.40.UC6
IBM INFORMIX-4GL Version 7.32.UC2 Pcode Version 732


Thanks in advance!

Regards,
Carl Y. Wu

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-20-2008, 12:25 PM
Davorin Kremenjas
 
Posts: n/a
Default Re: automatically killing idle "fglgo" process

Since you already decided to use "onstat -g ntt" the you can also use
session id (sid) of idle session and sent it "onmode -z" to attempt more
gracefull kill.

"Carl Wu" <carl.wu@optus.com.au> wrote in message
news:1161737413.972264.49550@m73g2000cwd.googlegro ups.com...
>
> Hello everyone!
> We are implementing a script to automatically kill off idle application
> sessions. The way we identify whether it's idle is by the timestamps
> obtained by "onstat -g ntt", and we will use "kill -15" to kill off the
> "fglgo" process if the sesion is idle for more than a configured length
> of time.
> We have around 300 users, each day 50 or so of such sessions may be
> killed.
>
> Does any one see any problem with this approach? Would this de-stablise
> the engine in any way?
>
> OS: Solaris 5.8
> IDS 9.40.UC6
> IBM INFORMIX-4GL Version 7.32.UC2 Pcode Version 732
>
>
> Thanks in advance!
>
> Regards,
> Carl Y. Wu
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-20-2008, 12:25 PM
Carl Wu
 
Posts: n/a
Default Re: automatically killing idle "fglgo" process


Davorin Kremenjas wrote:
> Since you already decided to use "onstat -g ntt" the you can also use
> session id (sid) of idle session and sent it "onmode -z" to attempt more
> gracefull kill.
>


Thanks Davorin.
The application processes are run by a separate user id, and the script
to kill idle processes are also run by that user id. This is an
advantage as that user id does not have DBA permission. "onmode -z"
will have to be run as user "informix", which would be undesirable.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:55 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com