This has been bugging me for a while. Whenever a user is idle for a while (not sure how long, this time over an hour), the response to the "w" command is very slow. If I kill their session, it runs fast like normal. Anyone know why this is? Here's an example:
I added the line numbers to help explain.
1: # w
2: 04:17PM up 50 days, 23:58, 5 users, load average: 0.23, 0.58, 0.77
3: User tty login@ idle JCPU PCPU what
4: user1 pts/0 12:51PM 2:20 0 0 -ksh
5: user1 pts/1 01:58PM 2:19 0 0 -ksh
6: user2 pts/3 02:20PM 1:56 2 0 -ksh
7: user3 pts/5 12:07PM 0 0 0 -ksh
8: user4 pts/7 03:42PM 0 0 0 -ksh
So, in this case, lines 1-3 show up quick, then there is a few second pause before line4, pause before line5, pause before line6, then the last 2 lines show very quick.
Any ideas?
Thanks
Tim
I added the line numbers to help explain.
1: # w
2: 04:17PM up 50 days, 23:58, 5 users, load average: 0.23, 0.58, 0.77
3: User tty login@ idle JCPU PCPU what
4: user1 pts/0 12:51PM 2:20 0 0 -ksh
5: user1 pts/1 01:58PM 2:19 0 0 -ksh
6: user2 pts/3 02:20PM 1:56 2 0 -ksh
7: user3 pts/5 12:07PM 0 0 0 -ksh
8: user4 pts/7 03:42PM 0 0 0 -ksh
So, in this case, lines 1-3 show up quick, then there is a few second pause before line4, pause before line5, pause before line6, then the last 2 lines show very quick.
Any ideas?
Thanks
Tim