Catching core files in read-only jails
Poul-Henning Kamp
phk at phk.freebsd.dk
Fri Apr 1 09:41:55 UTC 2016
--------
In message <56FE13BA.4060500 at FreeBSD.org>, Matthew Seaman writes:
>> If an application is running on a production server in a read-only
>> jail for security purposes, and it crashes occasionally due to some
>> unknown bug, is there any way to catch a core file?
>
>You'll have to mount a read-write filesystem somewhere in your jail and
>configure core dumps to be written to that filesystem. Something like
>this example from core(5):
It would be really nice if instead of coredumps one could select to
just get a stack backtrace.
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the freebsd-hackers
mailing list