Re: lsof core dumps for one specific user (530 Views)
Reply
Trusted Contributor
Posts: 564
Registered: ‎04-10-2000
Message 1 of 5 (567 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
Posts: 13,908
Registered: ‎06-21-2000
Message 2 of 5 (561 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
Posts: 564
Registered: ‎04-10-2000
Message 3 of 5 (547 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
Posts: 26,108
Registered: ‎03-06-2006
Message 4 of 5 (543 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.

Highlighted
Trusted Contributor
Posts: 564
Registered: ‎04-10-2000
Message 5 of 5 (530 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.