[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH OSSTEST] Arrange for core dumps to be placed in /var/core and collect them



On Wed, 2015-03-25 at 09:40 +0000, Ian Campbell wrote:
> Do you have any thoughts on how to best universally arrange for the
> rlimits to be increased? Probably inserting a ulimit call into the
> libvirt initscript would be an easy first step, and since that's the
> thing we most often see crashing it seems. I'll send such a patch
> shortly.
> 
> Adding it to xencommons would be OK too, which just leaves catching e.g.
> daemonised xl processes launched via ssh. Hacking /etc/profile or
> something in TestSupport::cmdex perhaps?

I handled this by writing an /etc/security/limits.d/ file during host
install, which seems to have done the trick. I just sent a patch which
along with the libvirt one I sent earlier today covers everything I
think we care about except our daemons which are launched from
xencommons.

The initscript in xen.git doesn't offer a useful hook for this, we could
add something to the end of /etc/default/xencommons, which is sourced by
the script, but that seems like a bit of an abuse.

Ian.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.