dbTalk Databases Forums  

Local sessions hang in monitor

comp.databases.btrieve comp.databases.btrieve


Discuss Local sessions hang in monitor in the comp.databases.btrieve forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Ivan L
 
Posts: n/a

Default Local sessions hang in monitor - 07-03-2003 , 05:37 AM







Hi,
running Win2k terminal server and PSQL2000i sp4. We've got a problem,
when a user ends his terminal session it remains in PSQL monitor for
indefinite time until it is deleted manually. After a while quite a
number of such hanging users accumulates. PSQL and win2k TS run on the
same machine. I think the problem is with local sessions because I've
tried to terminate an app from task manager and it hangs in psql
monitor. So it seems to narrow down to this: When a remote app crashes
it disappears from the monitor immediately. When a local app crashes its
corresponding PSQL session remains there forever. Is there any way to
get rid of these hanging users? Thanks in advance.

--
Posted via http://dbforums.com

Reply With Quote
  #2  
Old   
LHarvey
 
Posts: n/a

Default Re: Local sessions hang in monitor - 07-03-2003 , 08:54 AM






That is actually expected behavior.
Since the application is not closing the database session, it stays
until the OS network layer tells the engine the session is gone (never
happens for local applications).

Pervasive.SQL V8 has a new feature to take care of this issue.
It watchdogs the local processes and when they go away it will close
the session.

Probably best to have everybody exit the application as the
application vendor intended. The application itself may have pending
work to do and killing it may prevent it from finishing.

Leonard

On Thu, 03 Jul 2003 10:37:34 +0000, Ivan L <member32462 (AT) dbforums (DOT) com>
wrote:

Quote:
Hi,
running Win2k terminal server and PSQL2000i sp4. We've got a problem,
when a user ends his terminal session it remains in PSQL monitor for
indefinite time until it is deleted manually. After a while quite a
number of such hanging users accumulates. PSQL and win2k TS run on the
same machine. I think the problem is with local sessions because I've
tried to terminate an app from task manager and it hangs in psql
monitor. So it seems to narrow down to this: When a remote app crashes
it disappears from the monitor immediately. When a local app crashes its
corresponding PSQL session remains there forever. Is there any way to
get rid of these hanging users? Thanks in advance.


Reply With Quote
  #3  
Old   
Ivan L
 
Posts: n/a

Default Re: Local sessions hang in monitor - 07-07-2003 , 01:45 AM




Many thanks, Leonard!

--
Posted via http://dbforums.com

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



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.