Re: lsof core dumps for one specific user (427 Views)
Reply
Trusted Contributor
Dave Chamberlin
Posts: 558
Registered: ‎04-10-2000
Message 1 of 5 (464 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

Honored Contributor
Patrick Wallek
Posts: 13,786
Registered: ‎06-21-2000
Message 2 of 5 (458 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?

Trusted Contributor
Dave Chamberlin
Posts: 558
Registered: ‎04-10-2000
Message 3 of 5 (444 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....

Acclaimed Contributor
Dennis Handly
Posts: 25,277
Registered: ‎03-06-2006
Message 4 of 5 (440 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.

Trusted Contributor
Dave Chamberlin
Posts: 558
Registered: ‎04-10-2000
Message 5 of 5 (427 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.

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.