- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- System Administration
- >
- sudo become very slow
-
-
Categories
- Topics
- Hybrid IT with Cloud
- Mobile & IoT
- IT for Data & Analytics
- Transformation
- Strategy and Technology
- Products
- Cloud
- Integrated Systems
- Networking
- Servers and Operating Systems
- Services
- Storage
- Company
- Events
- Partner Solutions and Certifications
- Welcome
- Welcome
- Announcements
- Tips and Tricks
- Feedback
-
Blogs
- Alliances
- Around the Storage Block
- Behind the scenes @ Labs
- Converged Data Center Infrastructure
- Digital Transformation
- Grounded in the Cloud
- HPE Careers
- HPE Storage Tech Insiders
- Infrastructure Insights
- Inspiring Progress
- Internet of Things (IoT)
- My Learning Certification
- Networking
- OEM Solutions
- Servers: The Right Compute
- Telecom IQ
- Transforming IT
-
Quick Links
- Community
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Contact
- Email us
- Tell us what you think
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Enterprise.nxt
- Marketplace
- Aruba Airheads Community
-
Categories
-
Forums
-
Blogs
-
InformationEnglish
sudo become very slow
SOLVED- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-18-2015 01:17 AM
06-18-2015 01:17 AM
Re: sudo become very slow
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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-18-2015 01:55 PM
06-18-2015 01:55 PM
Re: sudo become very slow
Re: sudo become very slow
I see
1434660900.385249 [7878] gettimeofday(0x7fffc3c0, NULL) ........................................................ = 0
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-19-2015 06:29 PM
06-19-2015 06:29 PM
Re: sudo become very slow
Re: sudo become very slow
What are the times for other syscalls?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-21-2015 11:58 AM
06-21-2015 11:58 AM
Re: sudo become very slow
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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-21-2015 12:27 PM
06-21-2015 12:27 PM
Re: sudo become very slow
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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-22-2015 07:54 AM
06-22-2015 07:54 AM
Re: sudo become very slow
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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-22-2015 11:36 AM
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2018 Hewlett Packard Enterprise Development LP