WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-api

[Xen-API] [PATCH] make sure squeezed will core dump

To: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] [PATCH] make sure squeezed will core dump
From: David Scott <dave.scott@xxxxxxxxxxxxx>
Date: Tue, 30 Mar 2010 11:27:40 +0100
Delivery-date: Tue, 30 Mar 2010 03:18:21 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User David Scott <dave.scott@xxxxxxxxxxxxx>
# Date 1269944843 -3600
# Node ID c8c7f8c48fa89fa188f451d20e89320bf1330a2f
# Parent  83abaa3f4ab5e82eaaf540a5c36eebb1811bbe50
CA-39538: make sure that squeezed will dump core if it crashes.

Signed-off-by: David Scott <dave.scott@xxxxxxxxxxxxx>

diff -r 83abaa3f4ab5 -r c8c7f8c48fa8 scripts/init.d-squeezed
--- a/scripts/init.d-squeezed   Mon Mar 29 10:11:36 2010 +0100
+++ b/scripts/init.d-squeezed   Tue Mar 30 11:27:23 2010 +0100
@@ -27,6 +27,9 @@
 if [ -e /var/xapi/xiu-xc ]; then
        export XIU=/var/xapi/xiu
 fi
+
+# Enable core dumping
+ulimit -c unlimited
 
 start() {
        echo -n $"Starting the memory ballooning daemon: "
1 file changed, 3 insertions(+)
scripts/init.d-squeezed |    3 +++


Attachment: xen-api.hg.patch
Description: Text Data

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-API] [PATCH] make sure squeezed will core dump, David Scott <=