Eu acho que o meu thunderbird está em um loop infinito inútil.
Acontece repetitivo.
Saída de strace -p PID:
recvmsg(4, {msg_name(0)=NULL, msg_iov(1)=[{"ls -ltr /proc/2797/fd| wc -l
116
3) 5root@ThinkPad-E520:~# ls -ltr /proc/3059/fd| grep ' 4 '
lrwx------ 1 guettli guettli 64 Aug 14 06:14 4 -> socket:[32096]
recvmsg(4, {msg_name(0)=NULL, msg_iov(1)=[{"ls -ltr /proc/2797/fd| wc -l
116
3) 5root@ThinkPad-E520:~# ls -ltr /proc/3059/fd| grep ' 4 '
lrwx------ 1 guettli guettli 64 Aug 14 06:14 4 -> socket:[32096]
%pre%%pre%%pre%%pre%%pre%%pre%%pre%%pre%%pre%%pre%%pre%%pre%%pre%%pre%%pre%%pre%%pre%%pre%", 4096}], msg_controllen=0, msg_flags=0}, 0) = 32
recvmsg(4, 0x7ffea5151530, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(4, 0x7ffea5151510, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN}, {fd=5, events=POLLIN}, {fd=11, events=POLLIN}, {fd=28, events=POLLIN}, {fd=29, events=POLLIN}, {fd=358, events=POLLIN}], 6, 0) = 0 (Timeout)
recvmsg(4, 0x7ffea5151510, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN}, {fd=5, events=POLLIN}, {fd=11, events=POLLIN}, {fd=28, events=POLLIN}, {fd=29, events=POLLIN}, {fd=358, events=POLLIN}], 6, 0) = 0 (Timeout)
recvmsg(4, 0x7ffea5151510, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN}, {fd=5, events=POLLIN}, {fd=11, events=POLLIN}, {fd=28, events=POLLIN}, {fd=29, events=POLLIN}, {fd=358, events=POLLIN}], 6, 0) = 0 (Timeout)
recvmsg(4, 0x7ffea5151510, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN}, {fd=5, events=POLLIN}, {fd=11, events=POLLIN}, {fd=28, events=POLLIN}, {fd=29, events=POLLIN}, {fd=358, events=POLLIN}], 6, 0) = 0 (Timeout)
recvmsg(4, 0x7ffea5151510, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN}, {fd=5, events=POLLIN}, {fd=11, events=POLLIN}, {fd=28, events=POLLIN}, {fd=29, events=POLLIN}, {fd=358, events=POLLIN}], 6, -1) = 1 ([{fd=29, revents=POLLIN}])
%pre%%pre%%pre%%pre%%pre%%pre%%pre%%pre%%pre%%pre%%pre%%pre%%pre%%pre%%pre%%pre%%pre%", 4096}], msg_controllen=0, msg_flags=0}, 0) = 32
recvmsg(4, 0x7ffea5151530, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(4, 0x7ffea5151510, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN}, {fd=5, events=POLLIN}, {fd=11, events=POLLIN}, {fd=28, events=POLLIN}, {fd=29, events=POLLIN}, {fd=358, events=POLLIN}], 6, 0) = 0 (Timeout)
recvmsg(4, 0x7ffea5151510, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN}, {fd=5, events=POLLIN}, {fd=11, events=POLLIN}, {fd=28, events=POLLIN}, {fd=29, events=POLLIN}, {fd=358, events=POLLIN}], 6, 0) = 0 (Timeout)
recvmsg(4, 0x7ffea5151510, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN}, {fd=5, events=POLLIN}, {fd=11, events=POLLIN}, {fd=28, events=POLLIN}, {fd=29, events=POLLIN}, {fd=358, events=POLLIN}], 6, 0) = 0 (Timeout)
recvmsg(4, 0x7ffea5151510, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN}, {fd=5, events=POLLIN}, {fd=11, events=POLLIN}, {fd=28, events=POLLIN}, {fd=29, events=POLLIN}, {fd=358, events=POLLIN}], 6, 0) = 0 (Timeout)
recvmsg(4, 0x7ffea5151510, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN}, {fd=5, events=POLLIN}, {fd=11, events=POLLIN}, {fd=28, events=POLLIN}, {fd=29, events=POLLIN}, {fd=358, events=POLLIN}], 6, -1) = 1 ([{fd=29, revents=POLLIN}])
Com top
, posso ver que o thunderbird é o único processo que precisa de CPU. Precisa de 30% de cpu.
Com iotop
, vejo que quase nada é feito.
Mesmo alguns minutos depois. A saída strace do processo thunderbird é a mesma.
Na lista de atividades do thunderbird, vejo que ele tenta digitalizar imagens em uma pasta IMAP.
Com dmesg
não vejo erros. Os sistemas de arquivos parecem estar ok.
O processo do thunderbird tem muitos arquivos abertos:
%pre%
A maioria dos arquivos são arquivos .msf.
O Thunderbird reage muito lentamente. A GUI é quase inutilizável.
O que está acontecendo aqui? O que posso fazer?
Executando o Ubuntu 16.04.2 LTS
Aqui está a lista de atividades. Ontem thunderbird estava pendurado aqui por várias horas. Depois de reiniciar, é o mesmo novamente:
O descritor de arquivo 4 é um soquete de domínio unix:
%pre%