emacs lento para começar a ler / poll / writev / org / freedesktop / org / gnome

1

Em um sistema Linux CentOS, onde eu sou um usuário não-root, toda vez que eu inicio o emacs-24.5, demora cerca de 30 segundos para aparecer:

strace -tt -o emacs.strace ~/local/bin/emacs-24.5

Existem algumas entradas read / pool / writev que parecem mencionar / org / freedesktop e / org / gnome, e o tempo limite após 30 segundos, mas não consigo dizer o que está acontecendo:

[...]
11:17:14.251692 write(4, "BEGIN\r\n", 7) = 7
11:17:14.251730 poll([{fd=4, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=4, revents=POLLOUT}])
11:17:14.251774 writev(4, [{"l
username   770  0.2  0.0 128432   428 ?        S    Sep07  58:09 /usr/libexec/gconfd-2
username  3096  0.2  0.0 128432   428 ?        S    Sep02  73:37 /usr/libexec/gconfd-2
username  5966  0.1  0.0 128432  2280 ?        S    10:51   0:03 /usr/libexec/gconfd-2
username  6171  0.2  0.0 128432   428 ?        S    Sep07  58:51 /usr/libexec/gconfd-2
username  6339  0.1  0.0 128432  2028 ?        S    Sep26   2:36 /usr/libexec/gconfd-2
username  6524  0.2  0.0 128432   428 ?        S    Sep02  73:32 /usr/libexec/gconfd-2
username  6954  0.2  0.0 128432   444 ?        S    Sep09  52:29 /usr/libexec/gconfd-2
username  7067  0.2  0.0 128432   428 ?        S    Sep06  62:02 /usr/libexec/gconfd-2
username  8035  0.1  0.0 128436  2280 ?        S    11:17   0:00 /usr/libexec/gconfd-2
username  8478  0.1  0.0 128436  2284 ?        S    11:17   0:00 /usr/libexec/gconfd-2
username 16077  0.2  0.0 128432   416 ?        S    Sep05  64:07 /usr/libexec/gconfd-2
username 18245  0.1  0.0 128432  2280 ?        S    11:02   0:02 /usr/libexec/gconfd-2
username 18721  0.2  0.0 128432   428 ?        S    Sep09  52:53 /usr/libexec/gconfd-2
username 19247  0.2  0.0 128432   416 ?        S    Sep02  73:51 /usr/libexec/gconfd-2
username 20655  0.1  0.0 128432  2280 ?        S    10:55   0:02 /usr/libexec/gconfd-2
username 21503  0.1  0.0 128432  2280 ?        S    10:55   0:02 /usr/libexec/gconfd-2
username 22662  0.1  0.0 128432  2264 ?        S    Sep26   1:52 /usr/libexec/gconfd-2
username 23035  0.2  0.0 128432   416 ?        S    Sep05  64:54 /usr/libexec/gconfd-2
username 25380  0.1  0.0 128432  2280 ?        S    10:49   0:03 /usr/libexec/gconfd-2
username 25445  0.1  0.0 128432  2172 ?        S    Sep26   2:03 /usr/libexec/gconfd-2
username 25528  0.1  0.0 128432  2024 ?        S    Sep26   2:43 /usr/libexec/gconfd-2
username 26399  0.1  0.0 128432  2268 ?        S    09:06   0:13 /usr/libexec/gconfd-2
username 26585  0.0  0.0 103252   856 pts/6    S+   11:22   0:00 grep gconfd
username 26752  0.2  0.0 128432   432 ?        S    Sep09  52:17 /usr/libexec/gconfd-2
username 28597  0.2  0.0 128432   432 ?        S    Sep09  52:07 /usr/libexec/gconfd-2
username 29638  0.1  0.0 128432  2176 ?        S    Sep26   2:03 /usr/libexec/gconfd-2
cat /etc/centos-release 
CentOS release 6.2 (Final)
strace -tt -o emacs.strace ~/local/bin/emacs-24.5
[...]
11:17:14.251692 write(4, "BEGIN\r\n", 7) = 7
11:17:14.251730 poll([{fd=4, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=4, revents=POLLOUT}])
11:17:14.251774 writev(4, [{"l
username   770  0.2  0.0 128432   428 ?        S    Sep07  58:09 /usr/libexec/gconfd-2
username  3096  0.2  0.0 128432   428 ?        S    Sep02  73:37 /usr/libexec/gconfd-2
username  5966  0.1  0.0 128432  2280 ?        S    10:51   0:03 /usr/libexec/gconfd-2
username  6171  0.2  0.0 128432   428 ?        S    Sep07  58:51 /usr/libexec/gconfd-2
username  6339  0.1  0.0 128432  2028 ?        S    Sep26   2:36 /usr/libexec/gconfd-2
username  6524  0.2  0.0 128432   428 ?        S    Sep02  73:32 /usr/libexec/gconfd-2
username  6954  0.2  0.0 128432   444 ?        S    Sep09  52:29 /usr/libexec/gconfd-2
username  7067  0.2  0.0 128432   428 ?        S    Sep06  62:02 /usr/libexec/gconfd-2
username  8035  0.1  0.0 128436  2280 ?        S    11:17   0:00 /usr/libexec/gconfd-2
username  8478  0.1  0.0 128436  2284 ?        S    11:17   0:00 /usr/libexec/gconfd-2
username 16077  0.2  0.0 128432   416 ?        S    Sep05  64:07 /usr/libexec/gconfd-2
username 18245  0.1  0.0 128432  2280 ?        S    11:02   0:02 /usr/libexec/gconfd-2
username 18721  0.2  0.0 128432   428 ?        S    Sep09  52:53 /usr/libexec/gconfd-2
username 19247  0.2  0.0 128432   416 ?        S    Sep02  73:51 /usr/libexec/gconfd-2
username 20655  0.1  0.0 128432  2280 ?        S    10:55   0:02 /usr/libexec/gconfd-2
username 21503  0.1  0.0 128432  2280 ?        S    10:55   0:02 /usr/libexec/gconfd-2
username 22662  0.1  0.0 128432  2264 ?        S    Sep26   1:52 /usr/libexec/gconfd-2
username 23035  0.2  0.0 128432   416 ?        S    Sep05  64:54 /usr/libexec/gconfd-2
username 25380  0.1  0.0 128432  2280 ?        S    10:49   0:03 /usr/libexec/gconfd-2
username 25445  0.1  0.0 128432  2172 ?        S    Sep26   2:03 /usr/libexec/gconfd-2
username 25528  0.1  0.0 128432  2024 ?        S    Sep26   2:43 /usr/libexec/gconfd-2
username 26399  0.1  0.0 128432  2268 ?        S    09:06   0:13 /usr/libexec/gconfd-2
username 26585  0.0  0.0 103252   856 pts/6    S+   11:22   0:00 grep gconfd
username 26752  0.2  0.0 128432   432 ?        S    Sep09  52:17 /usr/libexec/gconfd-2
username 28597  0.2  0.0 128432   432 ?        S    Sep09  52:07 /usr/libexec/gconfd-2
username 29638  0.1  0.0 128432  2176 ?        S    Sep26   2:03 /usr/libexec/gconfd-2
cat /etc/centos-release 
CentOS release 6.2 (Final)
%pre%%pre%%pre%%pre%%pre%%pre%n%pre%%pre%%pre%o%pre%%pre%%pre%%pre%/org/fre"..., 128}, {"", 0}], 2) = 128 11:17:14.251829 poll([{fd=4, events=POLLIN}], 1, 25000) = 1 ([{fd=4, revents=POLLIN}]) 11:17:14.252008 read(4, "l\t%pre%%pre%%pre%%pre%%pre%%pre%=%pre%%pre%%pre%s%pre%%pre%%pre%%pre%:1.0%pre%%pre%%pre%%pre%"..., 2048) = 258 11:17:14.252072 read(4, 0x186c310, 2048) = -1 EAGAIN (Resource temporarily unavailable) 11:17:14.252153 writev(4, [{"l%pre%%pre%%pre%%pre%%pre%%pre%%pre%%pre%_%pre%%pre%%pre%o%pre%%pre%%pre%%pre%/org/gno"..., 112}, {"", 0}], 2) = 112 11:17:14.252209 poll([{fd=4, events=POLLIN}], 1, 25000) = 0 (Timeout) 11:17:39.276732 writev(4, [{"l%pre%%pre%%pre%%pre%%pre%%pre%%pre%%pre%_%pre%%pre%%pre%o%pre%%pre%%pre%%pre%/org/gno"..., 112}, {"", 0}], 2) = 112 11:17:39.276933 poll([{fd=4, events=POLLIN}], 1, 25000) = 0 (Timeout) 11:18:04.299584 writev(4, [{"l%pre%%pre%%pre%%pre%%pre%%pre%%pre%%pre%_%pre%%pre%%pre%o%pre%%pre%%pre%%pre%/org/gno"..., 112}, {"", 0}], 2) = 112 11:18:04.299693 poll([{fd=4, events=POLLIN}], 1, 25000) = 0 (Timeout) 11:18:29.322840 writev(4, [{"l%pre%%pre%%pre%%pre%%pre%%pre%%pre%%pre%_%pre%%pre%%pre%o%pre%%pre%%pre%%pre%/org/gno"..., 112}, {"", 0}], 2) = 112 11:18:29.322988 poll([{fd=4, events=POLLIN}], 1, 25000) = 0 (Timeout) 11:18:54.339815 writev(4, [{"l%pre%%pre%%pre%%pre%%pre%%pre%%pre%%pre%_%pre%%pre%%pre%o%pre%%pre%%pre%%pre%/org/gno"..., 112}, {"", 0}], 2) = 112 11:18:54.339982 poll([{fd=4, events=POLLIN}], 1, 25000) = 0 (Timeout) 11:19:19.364735 writev(4, [{"l%pre%%pre%%pre%%pre%%pre%%pre%%pre%%pre%_%pre%%pre%%pre%o%pre%%pre%%pre%%pre%/org/gno"..., 112}, {"", 0}], 2) = 112 11:19:19.364810 poll([{fd=4, events=POLLIN}], 1, 25000) = 0 (Timeout) 11:19:44.384454 poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}]) 11:19:44.384515 writev(3, [{"%pre%|%pre%%pre%%pre%%pre%%pre%%pre%%pre%B%pre%O%pre%|%pre%%pre%%pre%%pre%%pre%%pre%%pre%%pre%"..., 44}, {NULL, 0}, {"", 0}], 3) = 44 [...]
%pre%%pre%%pre%%pre%n%pre%%pre%%pre%o%pre%%pre%%pre%%pre%/org/fre"..., 128}, {"", 0}], 2) = 128 11:17:14.251829 poll([{fd=4, events=POLLIN}], 1, 25000) = 1 ([{fd=4, revents=POLLIN}]) 11:17:14.252008 read(4, "l\t%pre%%pre%%pre%%pre%%pre%%pre%=%pre%%pre%%pre%s%pre%%pre%%pre%%pre%:1.0%pre%%pre%%pre%%pre%"..., 2048) = 258 11:17:14.252072 read(4, 0x186c310, 2048) = -1 EAGAIN (Resource temporarily unavailable) 11:17:14.252153 writev(4, [{"l%pre%%pre%%pre%%pre%%pre%%pre%%pre%%pre%_%pre%%pre%%pre%o%pre%%pre%%pre%%pre%/org/gno"..., 112}, {"", 0}], 2) = 112 11:17:14.252209 poll([{fd=4, events=POLLIN}], 1, 25000) = 0 (Timeout) 11:17:39.276732 writev(4, [{"l%pre%%pre%%pre%%pre%%pre%%pre%%pre%%pre%_%pre%%pre%%pre%o%pre%%pre%%pre%%pre%/org/gno"..., 112}, {"", 0}], 2) = 112 11:17:39.276933 poll([{fd=4, events=POLLIN}], 1, 25000) = 0 (Timeout) 11:18:04.299584 writev(4, [{"l%pre%%pre%%pre%%pre%%pre%%pre%%pre%%pre%_%pre%%pre%%pre%o%pre%%pre%%pre%%pre%/org/gno"..., 112}, {"", 0}], 2) = 112 11:18:04.299693 poll([{fd=4, events=POLLIN}], 1, 25000) = 0 (Timeout) 11:18:29.322840 writev(4, [{"l%pre%%pre%%pre%%pre%%pre%%pre%%pre%%pre%_%pre%%pre%%pre%o%pre%%pre%%pre%%pre%/org/gno"..., 112}, {"", 0}], 2) = 112 11:18:29.322988 poll([{fd=4, events=POLLIN}], 1, 25000) = 0 (Timeout) 11:18:54.339815 writev(4, [{"l%pre%%pre%%pre%%pre%%pre%%pre%%pre%%pre%_%pre%%pre%%pre%o%pre%%pre%%pre%%pre%/org/gno"..., 112}, {"", 0}], 2) = 112 11:18:54.339982 poll([{fd=4, events=POLLIN}], 1, 25000) = 0 (Timeout) 11:19:19.364735 writev(4, [{"l%pre%%pre%%pre%%pre%%pre%%pre%%pre%%pre%_%pre%%pre%%pre%o%pre%%pre%%pre%%pre%/org/gno"..., 112}, {"", 0}], 2) = 112 11:19:19.364810 poll([{fd=4, events=POLLIN}], 1, 25000) = 0 (Timeout) 11:19:44.384454 poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}]) 11:19:44.384515 writev(3, [{"%pre%|%pre%%pre%%pre%%pre%%pre%%pre%%pre%B%pre%O%pre%|%pre%%pre%%pre%%pre%%pre%%pre%%pre%%pre%"..., 44}, {NULL, 0}, {"", 0}], 3) = 44 [...]

Incidentalmente, notei que nesta máquina, eu tenho um monte de processos gconfd-2 acumulando ao longo do tempo:

%pre%

Alguma idéia do que pode estar acontecendo? Existe uma maneira de chamar o emacs de forma diferente, para que isso não continue acontecendo?

EDITADO: Mais detalhes

Este é um sistema CentOS no qual eu ssh, eu presumo que use o gnome porque eu ssh de um sistema Ubuntu 14.04 com o gnome nele:

%pre%

Como eu disse, isso é em um sistema onde eu sou apenas um usuário, acesso não-root, então se há uma maneira de eu corrigir o problema do meu jeito e não ter que incomodar o sysadmin, isso seria ótimo.

    
por 719016 27.09.2016 / 12:24

0 respostas