Operating System - HP-UX
1836672 Members
3968 Online
110108 Solutions
New Discussion

Re: smh taking ages to load user list.

 
SOLVED
Go to solution
Mark McDonald_2
Trusted Contributor

smh taking ages to load user list.

Hi

I have 2 identical servers (11.31 on rx2660)

When I open smh (text verion through putty)
select (u) for users and (l) for local.

The first box box returns the user list in about a second, the other box takes several minutes.

I have noticed this process on top:
0 pts/8 269 root 214 20 14472K 800K run 0:01 46.66 6.50 listUsers

What is it and why is it taking so long?

nsswitch is same on both machines
passwd is files only.
hosts if files dns

The only difference I can see is the second box is running a small oracle DB, not heavily utilised.
4 REPLIES 4
Brose
Occasional Advisor

Re: smh taking ages to load user list.

Hello,

I have exactly the same problem on a rx8620 with HPUX 11.31.
Did you find any solution or explanation ?
Thanks and regards.
Mounaam
Trusted Contributor
Solution

Re: smh taking ages to load user list.

Hi,

which version are you using?

listUsers search for last login of each users listed in passwd file.
So time of execution could depend of size of file /var/adm/wtmps.
Is the size of this file reasonable?
Brose
Occasional Advisor

Re: smh taking ages to load user list.

Thanks a lot !
It was indeed wtmps file size that caused the problem.
Best regards.
Mark McDonald_2
Trusted Contributor

Re: smh taking ages to load user list.

dont work there any more so cannot check this.