On 03/30/2012 07:58 AM, Serge Hallyn wrote:
> Funky.
>
> Can you turn off apache and mysqld (switch the startup jobs to not run)
> and see if the container behaves better?

Good idea:

# lsof|grep -c mysql.log
1008

init          1   root 1016w   REG              253,0  1407936     
270760 /var/log/upstart/mysql.log.1 (deleted)

>
> Anything at all in host's syslog?

Nothing.

>
> What do ls -l /dev/ptmx /dev/pts show on both the host and in
> the container?

hi,

On host:

lroot@lxc01:~# ls -l /dev/ptmx
crw-rw-rw- 1 root tty 5, 2 Mar 30 08:49 /dev/ptmx
root@lxc01:~# ls -l /dev/pts/
total 0
crw--w---- 1 tompos tty  136, 0 Mar 30 08:49 0
crw------- 1 root   root 136, 1 Feb  2 11:54 1
crw------- 1 root   root 136, 2 Feb  2 11:54 2
crw-rw---- 1 root   tty  136, 3 Mar 22 13:57 3
crw-rw---- 1 root   tty  136, 4 Mar 22 13:57 4
crw-rw---- 1 root   tty  136, 5 Mar 22 13:57 5
crw-rw---- 1 root   tty  136, 6 Mar 22 13:57 6
crw-rw---- 1 root   tty  136, 7 Mar 22 13:57 7
c--------- 1 root   root   5, 2 Jan 16 17:20 ptmx




In container:

root@log0:~# ls -l /dev/ptmx
crw-rw-rw- 1 root root 5, 2 Mar 30 06:51 /dev/ptmx
root@log0:~# ls -l /dev/pts/
total 0
crw--w---- 1 root   tty  136, 0 Mar 22 21:24 0
crw------- 1 tompos tty  136, 1 Mar 30 06:51 1
crw-rw-rw- 1 root   root   5, 2 Mar 30 06:51 ptmx




So is this just an mysql or upstart error?
However I cannot imagine, why init keeps opened mysql.log files? Is this 
because mysqld is zombie now? Why not drop them?

tamas

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to