[pve-devel] Best way to enable core dump for KVM

Dietmar Maurer dietmar at proxmox.com
Mon Feb 11 16:33:40 CET 2013


> >> i really would like to set ulimit -c unlimited for the kvm process.
> >> From time to time i've seen kvm segfaulting but without a coredump
> >> i'm unable to get a stacktrace.
> >>
> >> What would be the best way to archieve this with PVE?
> >
> > no idea.
> 
> This would be really important for debugging kvm problems. I'vr already
> made a patch to create a kvm debug package but i miss the option to execute
> ulimit -c unlimited in the same "bash" as kvm is started through PVE.

I normally start such VM manually from bash (see 'qm showcmd <vmid>'), removing
the '-damonize' option to run in foreground to get any warnings written to stderr.




More information about the pve-devel mailing list