- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: lsof on HP 11.11/.23PA
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
тАО03-30-2010 12:50 PM
тАО03-30-2010 12:50 PM
I looked through all the related threads here and I am having the exact problem, lsof hangs on pstat using tusc.
Will anyone send me a working lsof depot for 11.11 and 11.23 or show me where to attain one?
derek.smih@cbc-companies.com
Is there a patch, a hack or an older version I need?
v4.80 works on my 11.23PA servers, but I cannot find the working depot at my workplace and not all servers have it. Disgruntled former admin... Anyway, v4.83 on 11.23PA from Merlin, and the HP internet package does not work, it hangs as well.
thank you!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2010 12:54 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2010 12:56 PM
тАО03-30-2010 12:56 PM
Re: lsof on HP 11.11/.23PA
I did try that source...same issues. :(
thanks anyway.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2010 01:12 PM
тАО03-30-2010 01:12 PM
Re: lsof on HP 11.11/.23PA
I was in CAH few years ago.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2010 02:19 PM - edited тАО01-01-2013 03:26 AM
тАО03-30-2010 02:19 PM - edited тАО01-01-2013 03:26 AM
Solution>I am having the exact problem, lsof hangs on pstat using tusc.
Hangs or spends a long time as in this thread?
fuser uses too much CPU
http://h30499.www3.hp.com/t5/System-Administration/fuser-uses-too-much-CPU/td-p/4606069
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2010 11:01 AM
тАО03-31-2010 11:01 AM
Re: lsof on HP 11.11/.23PA
pstat(PSTAT_SOCKET, 0x800003ffefff1118, 648, 0, 0) ......................................... [sleeping]
The utild daemon is not running nor is it installed on my 11.23PA host.
- Tags:
- utild
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2010 11:14 AM - edited тАО01-01-2013 03:29 AM
тАО03-31-2010 11:14 AM - edited тАО01-01-2013 03:29 AM
Re: lsof on HP 11.11/11.23 PA
>It hangs on: pstat(PSTAT_SOCKET, 0x800003ffefff1118, 648, 0, 0)
Ah, this thread has a similar hang:
http://h30499.www3.hp.com/t5/General/lsof-4-81-issue/td-p/5160782
Are you running the same application?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2010 12:27 PM
тАО03-31-2010 12:27 PM
Re: lsof on HP 11.11/.23PA
Please explain how to get the offending PID again, do I need to start lsof in a seperate session then run?
Try finding which PID has the socket? Loop through all of the PIDs with "lsof +aL1 /var -p PID1":
for P in $(UNIX95=EXTENDED_PS ps -e -opid=); do
lsof -p $P +aL1 /var
done
Here is my gdb data:
# gdb /usr/local/bin/lsof 14684
HP gdb 5.4.0 for PA-RISC 1.1 or 2.0 (narrow), HP-UX 11.00
and target hppa1.1-hp-hpux11.00.
Copyright 1986 - 2001 Free Software Foundation, Inc.
Hewlett-Packard Wildebeest 5.4.0 (based on GDB) is covered by the
GNU General Public License. Type "show copying" to see the conditions to
change it and/or distribute copies. Type "show warranty" for warranty/support.
..
warning: Load module /usr/local/bin/lsof has been stripped
(no debugging symbols found)...
Attaching to program: /usr/local/bin/lsof, process 14684
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
warning: reading `r3' register: No data
0xc02167d0 in _read_sys+0x10 ()
from /usr/lib/libc.2
(gdb) where
#0 0xc02167d0 in _read_sys+0x10 () from /usr/lib/libc.2
#1 0xc0221b1c in read+0x6c () from /usr/lib/libc.2
#2 0xf4a8 in
#3 0xf9f4 in
#4 0x1739c in
#5 0x39f8 in
#6 0x52e4 in
#7 0xd3f8 in
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-01-2010 01:38 AM - edited тАО01-01-2013 03:30 AM
тАО04-01-2010 01:38 AM - edited тАО01-01-2013 03:30 AM
Re: lsof on HP 11.11/11.23 PA
>No not same app.
Your stack trace shows it is hanging in a read, not pstat.
What lsof option were you using?
>Please explain how to get the offending PID again, do I need to start lsof in a separate session then run?
Take your lsof command and add that -p $P to it and put it in that loop.
You don't need to be a separate session.
My later reply suggested you put this in the loop so you know which PID hangs:
for P in $(UNIX95=EXTENDED_PS ps -e -opid=); do
UNIX95=EXTENDED_PS ps -x -p $P -opid= -oargs=
lsof -p $P +aL1 /var # adjust as needed
done
>Here is my gdb data:
#0 0xc02167d0 in _read_sys+0x10 /usr/lib/libc.2
This is hanging in a read, not pstat. It may be interesting to use tusc on lsof to see what it was doing to get to that read?
Was it hung before you attached with gdb?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-01-2010 07:28 AM
тАО04-01-2010 07:28 AM
Re: lsof on HP 11.11/.23PA
./ctmagt/ctm/exe/p_ctmat
Stopping and restarting this BMC solved the problem, but this reverse library PID I will take extra caution.
On the loner host its a library file called /usr/lib/reverse
# what /usr/lib/reverse
/usr/lib/reverse:
$Revision: vw: cheriv_JAGad35417 selectors: CUPI80_BL2000_1025 'cup_cheriv_jagad35417'
Fri Oct 27 00:29:24 PDT 2000 $
thank you much!!!