- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: sudo become very slow
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
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-16-2015 10:33 AM
тАО06-16-2015 10:33 AM
I use sudo from iexpress depot.
When i run sudo as user or root,it takes 20-30 seconds for do a command!
I try truss and give me a lot of "gettimeofday"
like this.
send(7, "1e J01\0\001\0\0\0\0\0\004 h p u".., 22, 0) = 22 gettimeofday(0x7fffc3c0, NULL) = 0 poll(0x7fffc3e8, 1, 5000) [sleeping] poll(0x7fffc3e8, 1, 5000) = 0 close(7) = 0 socket(AF_INET, SOCK_DGRAM, 0) = 7 connect(7, 0x4005d4c0, 16) = 0 send(7, "1e J01\0\001\0\0\0\0\0\004 h p u".., 22, 0) = 22 gettimeofday(0x7fffc3c0, NULL) = 0 poll(0x7fffc3e8, 1, 10000) [sleeping]
consider recent i remove this machine from a windows domain.
What can it be?
Solved! Go to Solution.
- Tags:
- sudo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2015 01:17 AM
тАО06-18-2015 01:17 AM
Re: sudo become very slow
If you're going to use tusc, you should ask for timestamps to see which is slow.
tusc -fp -ea -T ""
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2015 01:55 PM
тАО06-18-2015 01:55 PM
Re: sudo become very slow
I see
1434660900.385249 [7878] gettimeofday(0x7fffc3c0, NULL) ........................................................ = 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2015 06:29 PM
тАО06-19-2015 06:29 PM
Re: sudo become very slow
What are the times for other syscalls?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2015 11:58 AM
тАО06-21-2015 11:58 AM
Re: sudo become very slow
I see a lot of this
1434913048.019368 [3934] close(1233) ........................................................................... ERR#9 EBADF 1434913048.019441 [3934] close(1234) ........................................................................... ERR#9 EBADF 1434913048.019513 [3934] close(1235) ........................................................................... ERR#9 EBADF 1434913048.019586 [3934] close(1236) ........................................................................... ERR#9 EBADF 1434913048.019658 [3934] close(1237) ........................................................................... ERR#9 EBADF 1434913048.019731 [3934] close(1238) ........................................................................... ERR#9 EBADF 1434913048.019803 [3934] close(1239) ........................................................................... ERR#9 EBADF 1434913048.019876 [3934] close(1240) ........................................................................... ERR#9 EBADF 1434913048.019948 [3934] close(1241) ........................................................................... ERR#9 EBADF 1434913048.020021 [3934] close(1242) ........................................................................... ERR#9 EBADF 1434913048.020092 [3934] close(1243) ........................................................................... ERR#9 EBADF 1434913048.020161 [3934] close(1244) ........................................................................... ERR#9 EBADF
Also ssh is become slow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2015 12:27 PM
тАО06-21-2015 12:27 PM
Re: sudo become very slow
I see also this thread but no solution
Even in my case ssh and sudo are really slow,i have recreated utmp utmpx and utmps,also wtmp[sx]
but nothing change
Sudo become between 5 and 20s to answer,ssh can be also 30s!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2015 07:54 AM
тАО06-22-2015 07:54 AM
Re: sudo become very slow
We have been experiencing performance issues with the latest ixSudo because of a recently introduced interaction with Ldap. It adds several seconds to the execution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2015 11:36 AM