Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Nov 2009 16:34:18 +0100
From:      Harald Schmalzbauer <h.schmalzbauer@omnilan.de>
To:        freebsd-questions@freebsd.org
Subject:   getting program.core, where and how?
Message-ID:  <4B0413FA.8080506@omnilan.de>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.13 (FreeBSD)

iEYEARECAAYFAksEFAAACgkQLDqVQ9VXb8jjEQCgnwuDXvJaUfNoRgdNof7ywbbY
2MkAnRZ8qRBftFika4VzEoA8fT78SgZ8
=Dcb6
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B0413FA.8080506>