- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Maximum idle time on system
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
Forums
Discussions
Discussions
Discussions
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
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
10-19-2001 11:34 AM
10-19-2001 11:34 AM
Maximum idle time on system
Thanks in advance,
Joe Robinson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2001 11:43 AM
10-19-2001 11:43 AM
Re: Maximum idle time on system
It's always important not to fustrate the users, because most of them put the butter on our bread. A lot of it can be done through education of the users.
If the users are at a unix prompt, then you can wack them by setting TMOUT, but make sure to set it as a readonly variable, as some will soon lean how to defeat it. But then again, I always advise against having "normal" users, that's those that aren't DBA's or SA's at any unix prompt.
harry
live free or die
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2001 12:01 PM
10-19-2001 12:01 PM
Re: Maximum idle time on system
Now some folks don't like that. And I understand that. But if you are running a system with hundreds upon hundreds users than you can't let a bunch of 'doing nothing' users tie up resources. So in certain cases, I do kill these kinds of users.
BUT BEWARE....as was said you may face the 'ire of these users. And you must be ABOSOLUTELY CERTAIN you only kill the right ones.
In this shop we get rid of idle sessions on dial ups. We can identify these users in two ways. First they always show as wc_x_ _ _ so we can grep for this...Second they always have login id's in ALL CAPS, again we can grep for this. Now this makes certain that we are ONLY KILLING outside dial up connections. And we do a simple kill, not a silver bullet. So it's a kinder to the end users processes. Here's the script we wrote here:
rm /scripts/who.remove
who -u | grep wc_x > /scripts/who.out
awk ' BEGIN [
while ( "cat /scripts/who.out" | getline ) {
entries++
if ( $1 ~ "[A-Z] && $6 > "1:00" )
print $1, $7 }
} ' >> /scripts/who.remove
kpid=`cat /scripts/who.remove | awk '{print $2}'`
kill $kpid
Then we set this up to cron hourly. So far, it works fairly well for us...and keeps these pesky dial ups from hanging on the line doing nothin !
Hope this gives you some ideas,
Regards,
Rita
..hope my typing is solid too...it's Friday and I am so ready for w/e
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2001 12:03 PM
10-19-2001 12:03 PM
Re: Maximum idle time on system
arghghghgh typing tired !
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2001 12:54 PM
10-19-2001 12:54 PM
Re: Maximum idle time on system
If you are talking about other sessions, your application should take care of it.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2001 01:42 PM
10-19-2001 01:42 PM
Re: Maximum idle time on system
As the others have mentioned setting TMOUT will do part of this. There is a more important reason than system resources for forcing logout of idle sessions - security. It is normally a BAD thing to have a terminal session open so that someone can come by and do who knows what. Even DBA's who ABSOLUTELY POSITIVELY MUST NOT be logged out can be taught to use nohup and why it is even their friend especially over remote connections. Generally, a small baseball bat suffices for this lesson.
My 3 cents, Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2001 03:06 AM
10-20-2001 03:06 AM
Re: Maximum idle time on system
As well as all of the above I would suggest that you pre-warn your users that a timeout is going to be put in place and give them a couple of weeks to put their reasons if any as to why they think it will cause problems.
Find options for them and then implement your plan.
Document all the way so that if problems occur once the timeout is in place you can show that users had an opportunity to voice their opinions and what you did to help.
Keeping users happy keeps management happy which more than helps when we ask for pay raises and courses.
;-)
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2001 08:20 AM
10-20-2001 08:20 AM
Re: Maximum idle time on system
I think its absolutely necessary to timeout special accounts, include oracle. There should be no reason why these users should have more than 1 1/2 idle time....but again, that's just my opinion.
-Santos