- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Disconnect user session automatically
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2006 02:04 PM
тАО06-21-2006 02:04 PM
Thanks a lot.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2006 03:27 PM
тАО06-21-2006 03:27 PM
Re: Disconnect user session automatically
Hitman is possibly the best known of those.
There is even a OpenVMS FAQ entry for it:
http://vmsone.com/~ovmsfreeware/ovmsfwv6/disk2/vmsfaq/vmsfaq_007.html
Google for: +openvms +freeware +"idle process"
I personally don't like any of them, as I believe they cause excessive overhead, end user annoyance and only a false sense of safety.
Specifically, if I have a telnet/puTTY session on a 'locked' PC, then there is no way VMS based sofware can see whether this is safe or not. So they kill it, and then I have to transmit my password over the line again, create a new process, re-execute my environment setup, loose my recall buffers.
Thanks for nothing!
Still, I suppose you gotta do what you gotta do!
Cheers,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2006 03:29 PM
тАО06-21-2006 03:29 PM
Re: Disconnect user session automatically
How are the users connecting? Are they using Telnet, or DECserver connections?
Depending on the connection type, there are a number of ways to force them off.
Also, do you want to check if they are actually doing anything, or just dump them at a certain time?
Allan in Atlanta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2006 03:39 PM
тАО06-21-2006 03:39 PM
Re: Disconnect user session automatically
Actually, we use the emulation software Reflection-X (thru REXEC) and Excursion (thru TELNET) to connect to Alpha system. If there has any checking before we kill the session, that would be definitely a benefit.
Thanks in advance.
Edmond
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2006 06:32 PM
тАО06-21-2006 06:32 PM
SolutionPS.I've slightly modified it to take out some site specific stuff. It's a bit more friendly than a just kill everyone routine. Doesn't do any checking to see if the user/pid is actually doing anything.
John.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2006 07:16 PM
тАО06-21-2006 07:16 PM
Re: Disconnect user session automatically
here we use the WATCHER package from H.Goatley.
It is very flexible. You find it here:
http://www.madgoat.com/watcher.html
regards Kalle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2006 08:09 PM
тАО06-21-2006 08:09 PM
Re: Disconnect user session automatically
It does depend on your environment.
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2006 11:22 AM
тАО06-22-2006 11:22 AM
Re: Disconnect user session automatically
They give a false sense of security and if not very carefully written, in extreme cases can cause some very nasty things to happen (for example, if you're running an IPK, never let your process count exceed BALSETCNT). They also encourage users to come up with mechanisms that defeat the IPK. Very easy to do, and generally wasteful of resources.
Rather than kill the process suspected of being idle, a better option would be to enable virtual terminals and disconnect the TELNET connection. That way the user can log back in to the session without losing any work. I'm not sure if any of the off-the-shelf solutions are capable of doing this.
That's all if you're attempting to figure out if a particular process idle from "outside" (even in theory, practically impossible). On the other hand, if you're writing an application with some kind of command loop, it's very easy to impose a timeout on command input and exit/logoff cleanly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2006 11:44 AM
тАО06-22-2006 11:44 AM
Re: Disconnect user session automatically
I am not endorsing KBLOCK.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2006 04:43 PM
тАО06-22-2006 04:43 PM
Re: Disconnect user session automatically
>We use KBLOCK with a modified routine
>that starts with a $FORCEX followed by
>$DELPRC. Further the application has an
>exit handler which responds to $forcex.
>Works most of the time.
If the application has an exit handler especially written to handle an IPK, why not just implement the idle timeout in the application itself and avoid all the potential problems? Much easier to issue a command READ with a timeout and take the timeout condition to be equivalent to an EXIT command. Very simple, very effective and much safer than shooting processes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2006 05:06 PM
тАО06-22-2006 05:06 PM
Re: Disconnect user session automatically
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2006 07:25 PM
тАО06-22-2006 07:25 PM
Re: Disconnect user session automatically
I think Ian hit it on the head here.
Virtual terminals work great for developers and admin, great for continuing a session from another site.
For users, it just doesn't work for us, their expectations are different;
-some simply close down the telnet session and don't want to ever reconnect
-some users simply just don't understand it, whilst those that do want more... i.e. why doesn't the screen appeare as I left it (CTRL-w is the reply) why when I continue to enter the details in the app does the update fail ('cos you've held the record too long (connected 3 days later)) why doesn't the screen display correctly (80 vs. 132 width).
-we end up with more interactive sessions
-more helpdesk calls
-when apps are updated the installed image goes delete pending, these never free up without intervention - gets a bit large as the months go by.
-they expect a disconnected session to survive a maintenance outage
I also don't like idle killers (operating throughout the day). I'm more interested in the jobs that are stuck in a tight loop!
There's also the risk that users left logged in cause FAC
J.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2006 07:57 PM
тАО06-22-2006 07:57 PM
Re: Disconnect user session automatically
I also don't like idle killers (operating throughout the day). I'm more interested in the jobs that are stuck in a tight loop!
...
We use the DYNPRI utility (from M. Madison) to dynamically adjust process priorities.
regards Kalle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2006 09:09 PM
тАО06-22-2006 09:09 PM
Re: Disconnect user session automatically
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2006 09:13 PM
тАО06-22-2006 09:13 PM
Re: Disconnect user session automatically
I ended up coding my own, but I'll still take a look at this, so thanks !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2006 02:01 AM
тАО06-23-2006 02:01 AM
Re: Disconnect user session automatically
So. if you have users who really don't know what is happening you can create a storm of users calling with things like that.
Phil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2006 10:08 PM
тАО06-23-2006 10:08 PM
Re: Disconnect user session automatically
Much as I do not like IPK, and I am also sensitive to John's arguments, we also have reasons (and I agree with their validity) to do something in this area. Rather crude, but quite satisfying to us.
- As no user is ex[ected to work more than 8 hours a day, we kill any interactive process after 10 hours past logintime. Any user still logged in then is considered to have forgotten to log out.
Since nearly everyone connects via Citrix, just setting aside a session and forgetting it is not uncommon.
(Our two major database applications have their own inactivity handling, and those will be disconnected long before anyhow).
Some of the other apps do not like to have active users during backup, and/or night-time batch processing, so users of these apps are kicked out at that time anyhow.
Of course, occasionally some users DO need to run lengthy processes, sometimes interactively. Those tend to be eigther System Managers or Application Managers, and those occasions are to be planned beforehand anyhow. So, at request, such user is added to an exception list, but only for 24 or 72 hours (weekend). Any longer need, and it will have to be refreshed in time.
-- Maybe not perfect, but it works for us, and the advantages way outweigh the disadvantages.
hth
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-26-2006 01:34 PM
тАО06-26-2006 01:34 PM
Re: Disconnect user session automatically
I am very much appreciated your suggestion and valuable information.
Thanks a lot.