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