- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: lsof 4.81 issue
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-03-2009 06:16 AM
03-03-2009 06:16 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2009 06:48 AM
03-03-2009 06:48 AM
Re: lsof 4.81 issue
I have faces a issue with lsof hang, when I used -O flag
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2009 06:54 AM
03-03-2009 06:54 AM
Re: lsof 4.81 issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2009 07:29 AM
03-03-2009 07:29 AM
Re: lsof 4.81 issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2009 07:34 AM
03-03-2009 07:34 AM
Re: lsof 4.81 issue
I tried running 'lsof +aL1 /var' and it returned almost instantly.
The lsof that I installed was downloaded from the Internet Express bundle for 11iv2 here:
http://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1123
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2009 07:42 AM
03-03-2009 07:42 AM
Re: lsof 4.81 issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2009 08:24 AM
03-03-2009 08:24 AM
Re: lsof 4.81 issue
- Tags:
- pstat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2009 02:08 AM
03-04-2009 02:08 AM
Re: lsof 4.81 issue
In additon if you have lots of memory and lots of processes and open connections this might delay the output substantialy. On a busy 24CPU/256GB SAP system I have to wait severy minutes for lsof to complete (I'm using 4.78 from HP-UX internet express).
To be curious: Did it work with an earlier lsof version? Do you really need the brand new 4.81?
My 2 cents,
Armin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2009 11:50 AM
03-05-2009 11:50 AM
Re: lsof 4.81 issue
(gdb) where
#0 0x7b00ab68 in pstat+0x10 () from /usr/lib/libc.2
#1 0x7afe0174 in __pstat_getsocket64+0x34 () from /usr/lib/libc.2
#2 0x6180 in read_sock+0x30 ()
#3 0x5fe0 in gather_proc_info+0x1098 ()
#4 0xe3f4 in main+0x2014 ()
I have installed every known pstat patch out there. I have installed quite a few networking related patches also. Any ideas? Dennis Handley, are you out there?
P.S. Please do not post any lame answers aksing about DNS, etc. I am looking for real answers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2009 12:11 PM
03-05-2009 12:11 PM
Re: lsof 4.81 issue
That is a pretty typical issue. I've seen it on several OS releases.
My way around it was to compile the code myself.
That didn't always work, but sometimes it did.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2009 12:16 PM
03-05-2009 12:16 PM
Re: lsof 4.81 issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2009 07:35 PM
03-05-2009 07:35 PM
Re: lsof 4.81 issue
It doesn't seem like pstat_getsocket should be waiting for PIPE.
>HP support has been useless.
In what way? Have you given them a small test case that calls pstat_getsocket and hangs?
Do you know which socket it is hanging on?
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
- Tags:
- EXTENDED_PS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2009 05:23 AM
03-06-2009 05:23 AM
Re: lsof 4.81 issue
Every time I call support I get dumped to a call center in India or Costa Rica. Then I have to ask to be sent to tier 2 support. Then the guys at that level aren't software engineers. Basically, I am not able to talk to the correct people.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2009 05:38 AM
03-06-2009 05:38 AM
Re: lsof 4.81 issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2009 05:47 AM
03-06-2009 05:47 AM
Re: lsof 4.81 issue
/opt/java1.5/jre/bin/PA_RISC2.0/java -DXPPA=1 -Djava.net.preferIPv4Stack=true -cp classes/xpdevicemap.jar:classes/bccaservice.j
Looks like the xp performance advisor agent.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2009 05:59 AM
03-06-2009 05:59 AM
Re: lsof 4.81 issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2009 06:32 AM
03-06-2009 06:32 AM
Re: lsof 4.81 issue
Ask that your case be sent to the backline languages group. Chances are you're being dumped into backline sys admin.
Hope you get somewhere with it.
Regards,
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2009 06:43 AM
03-06-2009 06:43 AM
Re: lsof 4.81 issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2009 12:49 PM
03-06-2009 12:49 PM
SolutionI would have thought HP-UX support would be better than this.
>Oops, wrong pid. It's actually:
I probably should have had this in the loop:
UNIX95=EXTENDED_PS ps -x -p $P -opid= -oargs=
>need you to reply. You deserve a bunny for this.
Here you go.
>erics: Ask that your case be sent to the backline languages group.
This has nothing to do with languages, this is more kernel or libc. When they ask me, I would just have to them to move it along. :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2009 12:56 PM
03-06-2009 12:56 PM
Re: lsof 4.81 issue
Now that you know the application, it should be a simple matter to write a program to look through the files and show pstat_getsocket hangs. ;-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2009 01:00 PM
03-06-2009 01:00 PM
Re: lsof 4.81 issue
P.S. I started xppa up again and it worked. The process must have been having issues.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2009 01:24 PM
03-06-2009 01:24 PM
Re: lsof 4.81 issue
It doesn't really get stuck on a PID, it gets stuck on a file/socket. The stack trace gives a clue on how to triage, first isolate it to a PID.
And you were lucky it was a specific application.