System Administration
Showing results for 
Search instead for 
Do you mean 

lsof core dumps for one specific user

Trusted Contributor [Founder]

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

4 REPLIES
Highlighted
Honored Contributor [Founder]

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 [Founder]

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 [Founder]

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 [Founder]

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.