<div dir="ltr"><div class="gmail_default" style="font-size:large"><font>a) Sorry about the fonts<br></font></div><div class="gmail_default" style="font-size:large"><font>b) All my containers are unconfined<br></font></div><div class="gmail_default" style="font-size:large"><font>c) My app does crash but no dumps. It is Asterisk, and it is compiled with debug information, etc.<br></font></div><div class="gmail_default" style="font-size:large"><font>my ulimit -a<br>core file size (blocks, -c) unlimited<br>data seg size (kbytes, -d) unlimited<br>scheduling priority (-e) 0<br>file size (blocks, -f) unlimited<br>pending signals (-i) 1048576<br>max locked memory (kbytes, -l) unlimited<br>max memory size (kbytes, -m) unlimited<br>open files (-n) 1048576<br>pipe size (512 bytes, -p) 8<br>POSIX message queues (bytes, -q) 819200<br>real-time priority (-r) 0<br>stack size (kbytes, -s) 8192<br>cpu time (seconds, -t) unlimited<br>max user processes (-u) unlimited<br>virtual memory (kbytes, -v) unlimited<br>file locks (-x) unlimited<br><br></font></div><div class="gmail_default" style="font-size:large"><font>what would it prevent Asterisk from duping a core file on crashing?<br></font></div><div class="gmail_default" style="font-size:large"><font><br></font></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 5, 2015 at 5:11 PM, Fajar A. Nugraha <span dir="ltr"><<a href="mailto:list@fajar.net" target="_blank">list@fajar.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Fri, Feb 6, 2015 at 1:19 AM, CDR <<a href="mailto:venefax@gmail.com">venefax@gmail.com</a>> wrote:<br>
><br>
> I need to use TYY=9 in a container, how do I achieve that?<br>
<br>
</span>You could probably start by NOT using big fonts in html mail when<br>
posting to the list.<br>
That being said, what do you mean "tyy=9"? did you mean tty? If yes,<br>
try "man lxc.container.conf" (look for "lxc.tty") as well as "man<br>
lxc-console"<br>
<span class=""><br>
> Also I feel that my apps in the container crash more than when installed in a virtual machine, ceteris paribus.<br>
<br>
</span>"feel" without data is not really helpful, is it? The usual methods of<br>
debugging a crash should apply (e.g. reading app logs, using gdb), and<br>
should apply whether it's in the host, container, or VM. Once you know<br>
what the problem is, its easier to determine whether the problem has<br>
something to do with container or not.<br>
<br>
When troubleshooting containter-related problems on Ubuntu, a starting<br>
point is to run it as "normal" (i.e. not unprivileged) container, and<br>
use lxc.aa_profile = unconfined (you probably have that already if<br>
using centos container). Then again, if you know that the app WILL<br>
crash even its in a VM, then most likely it's the app's fault, not<br>
related to whether it's in container or not.<br>
<span class=""><br>
> How do I write in the configuration that the container has the same "importance" as the host?<br>
<br>
</span>It should already is by default. That is, if you don't specify any<br>
cgroups limit.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Fajar<br>
_______________________________________________<br>
lxc-users mailing list<br>
<a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a><br>
<a href="http://lists.linuxcontainers.org/listinfo/lxc-users" target="_blank">http://lists.linuxcontainers.org/listinfo/lxc-users</a></font></span></blockquote></div><br></div>