[mythtv-commits] Ticket #10179: [PATCH] Produce a core dump file on error in mythfront/backend
MythTV
noreply at mythtv.org
Wed Nov 23 13:47:55 UTC 2011
#10179: [PATCH] Produce a core dump file on error in mythfront/backend
-------------------------------------------------+-------------------------
Reporter: Lawrence Rust <lvr@…> | Owner:
Type: Patch - Feature | Status: closed
Priority: minor | Milestone: unknown
Component: MythTV - General | Version:
Severity: medium | Unspecified
Keywords: core backtrace | Resolution: Won't
| Fix
| Ticket locked: 0
-------------------------------------------------+-------------------------
Changes (by danielk):
* status: new => closed
* resolution: => Won't Fix
Comment:
It's bad form to enable core dumps within an application. It's easy enough
to enable this with ulimit in the startup script, and there you can also
set the core pattern so all cores go to a single location that isn't
likely to fill up and have knock on effects like crashing your mysql
tables.
{{{
ulimit -c unlimited
echo 1 > /proc/sys/kernel/core_uses_pid
echo "/cores/core.%t.%u.%p.%e" > /proc/sys/kernel/core_pattern
}}}
--
Ticket URL: <http://code.mythtv.org/trac/ticket/10179#comment:1>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list