- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Lag in output from "ps -ef"
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
12-05-2000 12:36 PM
12-05-2000 12:36 PM
Any ideas?
The only recent change was a data migration to a new EMC box. "sar -d" shows the i/o is evenly spread over two HSC-FWD SCSI cards and never approaches the sustainable MB transfer limit.
Thanks, joe
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2000 01:18 PM
12-05-2000 01:18 PM
Re: Lag in output from "ps -ef"
Even I had a smiliar problem with ll getting hung when I tar-ed 45gb of data into a single directory and I ll on this particular directory, it hangs and even "root" can't kill it as glance says it is in the kernel priority mode. I think this is a sure sign of filesystem corruption. Suggest run fsck or reboot the system.
Hope this helps.
...Madhu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2000 01:26 PM
12-05-2000 01:26 PM
Re: Lag in output from "ps -ef"
~jdk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2000 01:44 PM
12-05-2000 01:44 PM
Re: Lag in output from "ps -ef"
...Madhu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2000 01:56 PM
12-05-2000 01:56 PM
Re: Lag in output from "ps -ef"
~jdk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2000 02:48 PM
12-05-2000 02:48 PM
Re: Lag in output from "ps -ef"
You may also have to check whether it is SYSTEM mode percentage or USER mode percentage.
If it is a user mode percentage then
reduce the number of applications you are running on the server or if you have scheduled some batch jobs, reschedule it to some non-peak hours.
If it is a system mode percentage, you need to investigate what the system is doing ? Why is it spending so much of time in system mode ? May be it is thrashing excessively and doing nothing than swapping. If so then it is a memory bottleneck.
I think perfview is your best bet to know what is going on.
Hope this helps.
...Madhu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2000 12:58 AM
12-06-2000 12:58 AM
SolutionAre you running NIS or NIS+ ??
'ps -ef' will look for usernames and if your NIS server is slow to respond, this could introduce the delay.
Same apply to 'll' as UIDs are converted to real names.
Did you ever try to do a 'ps -e' instead. If this is done without delay, it will confirm what I said before. You could replace your 'll' by a simple 'ls' (not 'ls -l') to further investigate.
Best regards,
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2000 03:09 AM
12-06-2000 03:09 AM
Re: Lag in output from "ps -ef"
If your system isn't actually "out of memory", you could try increasing the dbc_max_pct parameter in the kernel to allow the system to allocate more memory for disk buffers. You may also want to look at the ninode parameter to allow the kernel to "remember" more files (which may slightly alleviate the hang in ps and ll).
It's worth bearing in mind two further points:
1) Lack of memory ofen manifests itself as a CPU bottleneck.
2) There will always be a bottleneck somewhere in the system, e.g. You have probably created a memory bottleneck by installing the EMC to remove a disk bottleneck. The best you can do is try and decide where you can tollerate the problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2000 05:43 AM
12-06-2000 05:43 AM
Re: Lag in output from "ps -ef"
Give that man a cuppie doll!
You nailed the problem right on the head!
"ps -ef" hung while "ps -e" spewed very fast.
The same lag is true for "ypcat" and login attempts.
I haven't heard of any user problems other than mine and our oracle dba seeing the same lag, and couldn't see any lacking resources.
Now I have to figure out what changed, (NIS I guess) to create the problem. Possibly a NIS server enhancement requires me to visit the patch barn.
Man o' man I can't thank you enough......
Thank you to everyone that replied!!
I hope I can be as helpfull to you some time!!!
~jdk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2000 05:48 AM
12-06-2000 05:48 AM
Re: Lag in output from "ps -ef"
I didn't get to mention we have 3.4GB of memory and 4.57GB of swap....I was reeeealllly hoping memory was not a problem.....
Thank you for you timely response!
~jdk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2000 05:57 AM
12-06-2000 05:57 AM
Re: Lag in output from "ps -ef"
Glad it helped !
You'll most probably have to get the latest patch for ONC/NIS. As you didn't tell if you were running 10.20 or 11.0 here are the 2 links:
10.20:
http://europe-support2.external.hp.com/wpsl/bin/doc.pl/screen=wpslDisplayPatch/sid=bc6739711a970469a1?PACH_NAM=PHNE_21375&HW=s800&OS=10.20
11.0:
http://europe-support2.external.hp.com/wpsl/bin/doc.pl/screen=wpslDisplayPatch/sid=3918536e01da56f681?PACH_NAM=PHNE_22125&HW=s800&OS=11.00
Best regards,
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2000 05:59 AM
12-06-2000 05:59 AM
Re: Lag in output from "ps -ef"
dbc_max_pct and dbc_min_pct are both set to 2.
The reasoning here, is to let the EMC do the caching as it seems to be faster. The EMC has 3GB cache memory. The 2% setting was determined by tweaking and watching it over many weeks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2000 06:05 AM
12-06-2000 06:05 AM
Re: Lag in output from "ps -ef"
Thanks for the link!
Have a GREAT day!!
~jdk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2000 11:40 AM
12-06-2000 11:40 AM
Re: Lag in output from "ps -ef"
Apparently on the last reboot (Sunday) ypbind picked a "Slave" NIS server that had a not so good network connection. After changing the YPBIND_OPTIONS from ="" to ="-ypset", and the YPSET_ADDR from ="" to ="KnownGoodNISservADDR", I forced the change by stopping and restarting the nis.client. This fixed the problem completely!
~jdk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2000 11:50 PM
12-06-2000 11:50 PM
Re: Lag in output from "ps -ef"
Dan