Bug#594245: I found possible reasons...

alex 766f6964 at gmail.com
Wed Aug 25 10:33:37 UTC 2010


 	Hi,

 	I made some tests trying to get a solution and I found some 
interesting things about this problem:

 	If I launch gnome-terminal as root, works fine, no delays, no big 
resources are used.

 	I do a strace gnome-terminal (as normal user) and I see that there 
are a lot calls to poll & read / write functions (4 calls / second)

read(3, 
"\2$\273\3nB\327\2\255\1\0\0\4\0\340\2\0\0\0\0g\4\262\3\372\3/\3\0\0\1\0", 
4096) = 32
read(3, 0x904b64, 4096)                 = -1 EAGAIN (Resource temporarily 
unavailable)
write(14, "\r", 1)                      = 1
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, 
revents=POLLOUT}])
writev(3, [{"\22\0\7\0\4\0\340\2\213\1\0\0\6\0\0\0 
\2\366\0\1\0\0\0nB\327\2", 28}, {NULL, 0}, {"", 0}], 3) = 28
read(3, 0x904b64, 4096)                 = -1 EAGAIN (Resource temporarily 
unavailable)
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=6, events=POLLIN}, 
{fd=9, events=POLLIN|POLLPRI}, {fd=11, events=POLLIN|POLLPRI}, {fd=12, 
events=POLLIN|POLLPRI}, {fd=13, events=POLLIN|POLLPRI}, {fd=14, 
events=POLLIN}], 8, 600) = 1 ([{fd=3, revents=POLLIN}])
read(3, 
"\34\0\274\3\4\0\340\2\213\1\0\0oB\327\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 
4096) = 32
read(3, 0x904b64, 4096)                 = -1 EAGAIN (Resource temporarily 
unavailable)
read(3, 0x904b64, 4096)                 = -1 EAGAIN (Resource temporarily 
unavailable)
read(3, 0x904b64, 4096)                 = -1 EAGAIN (Resource temporarily 
unavailable)

 	This is a normal work for a idle terminal ?

 	If this is the problem, I could attach a full strace log






More information about the pkg-gnome-maintainers mailing list