<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
> <i>I tried the python script, it just works fine.</i><br>
<br>
Q1: How does the "kill -INT init" method affect running
processes, especially MySQL and other databases that may need to
shutdown gracefully to avoid data corruption?<br>
<br>
I believe that the child processes (incl. mysqld, apache, etc.)
would be able to shutdown gracefully without data corruption,
because they'd be killed with a signal that will invoke their
internal signal handlers. But, I am looking for independent
confirmation.<br>
<br>
<br>
Q2: How is lxc-stop -n $CONTAINERNAME different from the Python
script mentioned below? Will lxc-stop on a container cause an
unclean shutdown, or does it also use a Unix signal?<br>
<br>
<br>
Thanks,<br>
Derek<br>
<br>
On 10/17/2011 01:37 PM, Papp Tamas wrote:
<blockquote cite="mid:4E9C91F0.8090902@martos.bme.hu" type="cite">
<pre wrap="">On 10/17/2011 10:26 PM, Milos Negovanovic wrote:
</pre>
<blockquote type="cite">
<pre wrap="">
If I am not mistaken thats similar approach to using this script:
<a class="moz-txt-link-freetext" href="http://pastie.org/2713689">http://pastie.org/2713689</a>
Ive tried using that python script, but instead of shutting down my
container restarts! Can you paste your container /etc/inittab by any
chance?
</pre>
</blockquote>
<pre wrap="">
There is no inittab, Ubuntu and also CentOS 6 uses upstart.
I tried the python script, it just works fine.
tamas
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
<a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/splunk-d2d-oct">http://p.sf.net/sfu/splunk-d2d-oct</a>
_______________________________________________
Lxc-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Lxc-users@lists.sourceforge.net">Lxc-users@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/lxc-users">https://lists.sourceforge.net/lists/listinfo/lxc-users</a>
</pre>
</blockquote>
<br>
</body>
</html>