Re: lsof core dumps for one specific user (307 Views)
Reply
Trusted Contributor
Dave Chamberlin
Posts: 558
Registered: ‎04-10-2000
Message 1 of 5 (327 Views)

lsof core dumps for one specific user

Greetings,

 

Running hpux 11.11 64 bit, lsof version is 4.77. I had a problem with user clr with too many open files - used "lsof -u clr" and it did show piles of open files - though these were not specific files  - just the directory. Stopped the problem processes and restarted. Now doing "lsof -u clr" causes coredump though "lsof -u oracle10" - or any other user does not. If I run lsof without flags and grep for the directory involved - or clr - the list comes back. Any ideas what this means?

thanks

Please use plain text.
Honored Contributor
Patrick Wallek
Posts: 13,736
Registered: ‎06-21-2000
Message 2 of 5 (321 Views)

Re: lsof core dumps for one specific user

Is there anything useful in the core file that is generated?

 

What does "file core" show?

Please use plain text.
Trusted Contributor
Dave Chamberlin
Posts: 558
Registered: ‎04-10-2000
Message 3 of 5 (307 Views)

Re: lsof core dumps for one specific user

file core just shows - core file from lsof - received SIGSEGV. The command itself shows memory fault - though as I mentioned it works for other users on the system, and works without parameters....

Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 24,888
Registered: ‎03-06-2006
Message 4 of 5 (303 Views)

Re: lsof core dumps for one specific user

[ Edited ]

>Any ideas what this means?

 

Too many files opened for that user?

Using gdb to get a stacktrace from the corefile may be helpful.

Please use plain text.
Trusted Contributor
Dave Chamberlin
Posts: 558
Registered: ‎04-10-2000
Message 5 of 5 (290 Views)

Re: lsof core dumps for one specific user

I do have a workaround - just wondered why the issue. That user initially DID reach its file limit, but lsof worked when that condition was there.

Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation