- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Changing user (su) runs very slowly
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
03-13-2002 03:37 AM
03-13-2002 03:37 AM
Changing user (su) runs very slowly
All kernel parameters have been set to the same value as another A-class, which is running just fine.
As -root-, if I try to change to a different user (su - oracle), there is a delay of over 30 secs before the response.
Similarly, of course, if I try running a command in this way (su oracle "mkdir -p /apps_d/xxxx").
Once logged in as the other user, response is OK.
This applies similarly with other user ids.
I have tried dropping and recreating the users and their groups, and rebooting the machine. No improvement.
Even -sam- seems to be running significantly slower than on the other machine.
I would be grateful for any advice.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2002 03:42 AM
03-13-2002 03:42 AM
Re: Changing user (su) runs very slowly
If you do just:
# su oracle
Is it faster? It could be that one of your startup files (.cshrc or .login or .profile) is doing some lengthy commands.
Good Luck,
Rumagoso
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2002 03:46 AM
03-13-2002 03:46 AM
Re: Changing user (su) runs very slowly
sysdef
and compare.
Where are the users home dirs?
NFS mounted?
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2002 03:50 AM
03-13-2002 03:50 AM
Re: Changing user (su) runs very slowly
Compare the two A-class's /etc/resolv.conf, /etc/hosts, and /etc/nsswitch.conf.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2002 04:26 AM
03-13-2002 04:26 AM
Re: Changing user (su) runs very slowly
If you disable DNS services, harry j brown jr also suggests, do you have the same problems?
Also referring to:
http://aa11.cjb.net/hpux_admin/2001/03/0411.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2002 04:27 AM
03-13-2002 04:27 AM
Re: Changing user (su) runs very slowly
It is true that /etc/resolv.conf has been changed and performance was OK prior to the change (I did not associate the two things).
But resolv.conf is now exacly the same as on the working machine
domain .....
nameserver ....
(Previously, the 'domain' line was absent - performance was OK, but we could not communicate with the machine from remote machines).
Interestingly, nsswitch.conf exists on the working server, but not on the slow one. Could this be a clue ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2002 06:12 AM
03-13-2002 06:12 AM
Re: Changing user (su) runs very slowly
Sadly, the problem still exists.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2002 06:26 AM
03-13-2002 06:26 AM
Re: Changing user (su) runs very slowly
Simply do following things on your new slower machine.
1. copy /etc/resolv.conf from other A class server which is running fine.
2. copy /etc/nsswitch.conf from other A class server to new machine.
3. check the security level in both the systems like trusted system etc.
4. If you are running NFS directories mounted for users then the above things matters.
Thanks,
-Piyush