getting program.core, where and how?

Harald Schmalzbauer h.schmalzbauer at omnilan.de
Wed Nov 18 15:46:35 UTC 2009


Hello,

I have a daemon (compiled with -g) which is dying frequently, but I 
can't get a core dump.
The daemon drops privileges and runs as restricted user after startup.
I gave the restricted user write permission to the directory where the 
binary lives, but that hasn't helped.
The size should be really small, so I think ulimit is not the problem.
How can I find out what the working directory of the binary is? I guess 
the problem is missing write permissions there.

Thanks,

-Harry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091118/83e2a45f/signature.pgp


More information about the freebsd-questions mailing list