Re: [Nautilus-list] Excessive CPU utilization



Good to hear it's a bug. I thought this was normal for
Nautilus as it seems to do this on all our systems. I ran
strace -p and it seems to be doing the same things over 
and over. I've attached one complete loop of the strace
results (it's a 10k attachment - I hope that isn't a problem
for the list). I looked through the listing and it does seem to
be busily doing all sorts of stuff but I don't know what
it should be doing so maybe someone on the list can have a
look and tell what might be wrong. Thanks!

-Steve

On Sat, 14 Jul 2001 14:31:01 -0700, Darin Adler wrote:
>> I'm running Ximian Gnome with Nautilus 1.0.4 on several machines
>> and noticed that top shows Nautilus sucking up a good bit of CPU
>> time. On my PIII 800mhz, top shows Nautilus at 10-15% all of the
>> time (even when it shouldn't be doing anything). Worse, on a PII
>> 200mhz, top shows it at 35-50%. It makes the slower machine almost
>> unusable whereas it works great after a "killall nautilus".
>
> <...>
>In any case, this CPU time being sucked up by Nautilus is some kind of bug.
>  One way to begin the process of tracking it down is to use "strace -p" to 
>find out what Nautilus is doing.


_____________________________________________________________________
R. Steven Rainwater * http://www.ncc.com/humans/srainwater/index.html
"As you struggle to save humanity be sure to avoid electrodes in
your path"  -- Robotron 2084

gettimeofday({995146803, 4847}, NULL)   = 0
gettimeofday({995146803, 4924}, NULL)   = 0
ioctl(5, FIONREAD, [0])                 = 0
poll([{fd=5, events=POLLIN}, {fd=6, events=POLLIN|POLLPRI}, {fd=7, events=POLLIN}, {fd=10, events=POLLIN}, {fd=3, events=POLLIN}, {fd=12, events=POLLIN}, {fd=9, events=POLLIN}, {fd=13, events=POLLIN}, {fd=17, events=POLLIN}], 9, 113) = 0
gettimeofday({995146803, 130843}, NULL) = 0
time(NULL)                              = 995146803
time(NULL)                              = 995146803
stat("/home/steve/.gnome//Background", {st_mode=S_IFREG|0664, st_size=858, ...}) = 0
time(NULL)                              = 995146803
stat("/usr/share/pixmaps/nautilus/eazel-logos/crux_eggplant/backgrounds/background_pattern.png", 0xbffff450) = -1 ENOENT (No such file or directory)
stat("/usr/share/pixmaps/nautilus/crux_eggplant/backgrounds/background_pattern.png", {st_mode=S_IFREG|0644, st_size=9425, ...}) = 0
stat("/usr/share/pixmaps/nautilus/crux_eggplant/backgrounds/background_pattern.png", {st_mode=S_IFREG|0644, st_size=9425, ...}) = 0
time(NULL)                              = 995146803
time(NULL)                              = 995146803
time(NULL)                              = 995146803
time(NULL)                              = 995146803
time(NULL)                              = 995146803
time(NULL)                              = 995146803
time(NULL)                              = 995146803
time(NULL)                              = 995146803
time(NULL)                              = 995146803
time(NULL)                              = 995146803
time(NULL)                              = 995146803
time(NULL)                              = 995146803
write(5, "+\3\1\0", 4)                  = 4
read(5, 0xbffff630, 32)                 = -1 EAGAIN (Resource temporarily unavailable)
select(6, [5], NULL, NULL, NULL)        = 1 (in [5])
read(5, "\1\2\245\274\0\0\0\0\255\1\0\2\0\0\0\0\1\0\0\0\0\0\0\0"..., 32) = 32
uname({sys="Linux", node="rodan.ncc.com", ...}) = 0
socket(PF_UNIX, SOCK_STREAM, 0)         = 15
uname({sys="Linux", node="rodan.ncc.com", ...}) = 0
uname({sys="Linux", node="rodan.ncc.com", ...}) = 0
connect(15, {sin_family=AF_UNIX, path="/tmp/.X11-unix/X0"}, 19) = 0
uname({sys="Linux", node="rodan.ncc.com", ...}) = 0
fcntl(15, F_SETFD, FD_CLOEXEC)          = 0
access("/home/steve/.Xauthority", R_OK) = 0
open("/home/steve/.Xauthority", O_RDONLY) = 16
fstat(16, {st_mode=S_IFREG|0600, st_size=107, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40aaf000
read(16, "\1\0\0\rrodan.ncc.com\0\0010\0\22MIT-MAGIC-"..., 4096) = 107
close(16)                               = 0
munmap(0x40aaf000, 4096)                = 0
writev(15, [{"l\0\v\0\0\0\22\0\20\0\0\0", 12}, {"MIT-MAGIC-COOKIE-1", 18}, {"\0\0", 2}, {"5\352\211\257\21w\372\230\217\2\32H\22\347\242`", 16}], 4) = 48
fcntl(15, F_GETFL)                      = 0x2 (flags O_RDWR)
fcntl(15, F_SETFL, O_RDWR|O_NONBLOCK)   = 0
read(15, 0xbffff588, 8)                 = -1 EAGAIN (Resource temporarily unavailable)
select(16, [15], NULL, NULL, NULL)      = 1 (in [15])
read(15, "\1\0\v\0\0\0$\0", 8)          = 8
read(15, " \r\0\0\0\0 \2\377\377?\0\0\1\0\0\30\0\377\377\1\2\0\0"..., 144) = 144
write(15, "7\0\5\0\0\0 \2&\0\0\0\10\0\0\0\377\377\377\0b\0\5\0\f\0"..., 64) = 64
read(15, 0xbffff5b0, 32)                = -1 EAGAIN (Resource temporarily unavailable)
select(16, [15], NULL, NULL, NULL)      = 1 (in [15])
read(15, "\1\0\2\0\0\0\0\0\1\204\0\0\0\0\0\0\0\0\0\0\0\0\0\0(/x\10"..., 32) = 32
read(15, "\1\0\3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 32) = 32
write(15, "\204\0\1\0", 4)              = 4
read(15, 0xbffff590, 32)                = -1 EAGAIN (Resource temporarily unavailable)
select(16, [15], NULL, NULL, NULL)      = 1 (in [15])
read(15, "\1\0\4\0\0\0\0\0\377\377\17\0\0\0\0\0\1\0\0\0\0\0\0\0("..., 32) = 32
writev(15, [{"b\0\5\0\t\0 \2", 8}, {"XKEYBOARD", 9}, {"\0\0\0", 3}], 3) = 20
read(15, 0xbffff400, 32)                = -1 EAGAIN (Resource temporarily unavailable)
select(16, [15], NULL, NULL, NULL)      = 1 (in [15])
read(15, "\1\0\5\0\0\0\0\0\1\210T\210\0\0\0\0\1\0\0\0\0\0\0\0(/x"..., 32) = 32
write(15, "\210\0\2\0\1\0\0\0", 8)      = 8
read(15, 0xbffff4d0, 32)                = -1 EAGAIN (Resource temporarily unavailable)
select(16, [15], NULL, NULL, NULL)      = 1 (in [15])
read(15, "\1\1\6\0\0\0\0\0\1\0\0\0\0\0\0\0\1\0\0\0\0\0\0\0(/x\10"..., 32) = 32
write(15, "\20\0\4\0\7\0\0\0Compose\0", 16) = 16
read(15, 0xbffff450, 32)                = -1 EAGAIN (Resource temporarily unavailable)
select(16, [15], NULL, NULL, NULL)      = 1 (in [15])
read(15, "\1\0\7\0\0\0\0\0\276\0\0\0\0\0\0\0\1\0\0\0\0\0\0\0(/x\10"..., 32) = 32
write(15, "p\1\1\0005\30\4\0\1\0 \2&\0\0\0\0\5\0\4<\0\2\0\0\0 \2+"..., 32) = 32
read(15, 0xbffff610, 32)                = -1 EAGAIN (Resource temporarily unavailable)
select(16, [15], NULL, NULL, NULL)      = 1 (in [15])
read(15, "\1\2\v\0\0\0\0\0\255\1\0\2\0\0\0\0\0\0\0\0\0\0\0\0(/x\10"..., 32) = 32
shutdown(15, 2 /* send and receive */)  = 0
close(15)                               = 0
write(5, "\16\3\2\0\1\0 \2", 8)         = 8
read(5, 0xbffff5d0, 32)                 = -1 EAGAIN (Resource temporarily unavailable)
select(6, [5], NULL, NULL, NULL)        = 1 (in [5])
read(5, "\1\30\246\274\0\0\0\0&\0\0\0\0\0\0\0\0\5\0\4\0\0\0\0\250"..., 32) = 32
write(5, "7\3\5\0)R\2\1\1\0 \2\0\0\1\0\0\0\0\0\201\3\n\0\1\0@\2)"..., 104) = 104
read(5, 0xbffff3e0, 32)                 = -1 EAGAIN (Resource temporarily unavailable)
select(6, [5], NULL, NULL, NULL)        = 1 (in [5])
read(5, "\1\2\252\274\0\0\0\0\255\1\0\2\0\0\0\0\0\0\0\0\0\0\0\0"..., 32) = 32
write(5, "\201\3\n\0\1\0 \2)R\2\1\0\6 \0\0\0\0\0\0\1@\0\0\2\0\0\30"..., 244) = 244
read(5, 0xbffff3e0, 32)                 = -1 EAGAIN (Resource temporarily unavailable)
select(6, [5], NULL, NULL, NULL)        = 1 (in [5])
read(5, "\1\2\261\274\0\0\0\0\255\1\0\2\0\0\0\0\0\0\0\0\0\0\0\0"..., 32) = 32
write(5, "\201\3\n\0\1\0 \2)R\2\1\0\6 \0\0\0\0\0\0\1@\0\0\3 \0\30"..., 244) = 244
read(5, 0xbffff3e0, 32)                 = -1 EAGAIN (Resource temporarily unavailable)
select(6, [5], NULL, NULL, NULL)        = 1 (in [5])
read(5, "\1\2\270\274\0\0\0\0\255\1\0\2\0\0\0\0\0\0\0\0\0\0\0\0"..., 32) = 32
write(5, "\201\3\n\0\1\0 \2)R\2\1\0\6 \0\0\0\0\0\0\1@\0\0\4\200\0"..., 244) = 244
read(5, 0xbffff3e0, 32)                 = -1 EAGAIN (Resource temporarily unavailable)
select(6, [5], NULL, NULL, NULL)        = 1 (in [5])
read(5, "\1\2\277\274\0\0\0\0\255\1\0\2\0\0\0\0\0\0\0\0\0\0\0\0"..., 32) = 32
write(5, "\201\3\n\0\1\0 \2)R\2\1\0\6 \0\0\0\0\0\0\1@\0\0\0\0\1\30"..., 244) = 244
read(5, 0xbffff3e0, 32)                 = -1 EAGAIN (Resource temporarily unavailable)
select(6, [5], NULL, NULL, NULL)        = 1 (in [5])
read(5, "\1\2\306\274\0\0\0\0\255\1\0\2\0\0\0\0\0\0\0\0\0\0\0\0"..., 32) = 32
write(5, "\201\3\n\0\1\0 \2)R\2\1\0\6 \0\0\0\0\0\0\1@\0\0\1 \1\30"..., 244) = 244
read(5, 0xbffff3e0, 32)                 = -1 EAGAIN (Resource temporarily unavailable)
select(6, [5], NULL, NULL, NULL)        = 1 (in [5])
read(5, "\1\2\315\274\0\0\0\0\255\1\0\2\0\0\0\0\0\0\0\0\0\0\0\0"..., 32) = 32
write(5, "\201\3\n\0\1\0 \2)R\2\1\0\6 \0\0\0\0\0\0\1@\0\0\2\200\1"..., 244) = 244
read(5, 0xbffff3e0, 32)                 = -1 EAGAIN (Resource temporarily unavailable)
select(6, [5], NULL, NULL, NULL)        = 1 (in [5])
read(5, "\1\2\324\274\0\0\0\0\255\1\0\2\0\0\0\0\0\0\0\0\0\0\0\0"..., 32) = 32
write(5, "\201\3\n\0\1\0 \2)R\2\1\0\6 \0\0\0\0\0\0\1@\0\0\3\300\1"..., 244) = 244
read(5, 0xbffff3e0, 32)                 = -1 EAGAIN (Resource temporarily unavailable)
select(6, [5], NULL, NULL, NULL)        = 1 (in [5])
read(5, "\1\2\333\274\0\0\0\0\255\1\0\2\0\0\0\0\0\0\0\0\0\0\0\0"..., 32) = 32
write(5, "\201\3\n\0\1\0 \2)R\2\1\0\6 \0\0\0\0\0\0\1@\0\0\4\0\2\30"..., 244) = 244
read(5, 0xbffff3e0, 32)                 = -1 EAGAIN (Resource temporarily unavailable)
select(6, [5], NULL, NULL, NULL)        = 1 (in [5])
read(5, "\1\2\342\274\0\0\0\0\255\1\0\2\0\0\0\0\0\0\0\0\0\0\0\0"..., 32) = 32
write(5, "\201\3\n\0\1\0 \2)R\2\1\0\6 \0\0\0\0\0\0\1@\0\0\0\200\2"..., 244) = 244
read(5, 0xbffff3e0, 32)                 = -1 EAGAIN (Resource temporarily unavailable)
select(6, [5], NULL, NULL, NULL)        = 1 (in [5])
read(5, "\1\2\351\274\0\0\0\0\255\1\0\2\0\0\0\0\0\0\0\0\0\0\0\0"..., 32) = 32
write(5, "\201\3\n\0\1\0 \2)R\2\1\0\6 \0\0\0\0\0\0\1@\0\0\1\300\2"..., 244) = 244
read(5, 0xbffff3e0, 32)                 = -1 EAGAIN (Resource temporarily unavailable)
select(6, [5], NULL, NULL, NULL)        = 1 (in [5])
read(5, "\1\2\360\274\0\0\0\0\255\1\0\2\0\0\0\0\0\0\0\0\0\0\0\0"..., 32) = 32
write(5, "\201\3\n\0\1\0 \2)R\2\1\0\6 \0\0\0\0\0\0\1@\0\0\2\0\3\30"..., 244) = 244
read(5, 0xbffff3e0, 32)                 = -1 EAGAIN (Resource temporarily unavailable)
select(6, [5], NULL, NULL, NULL)        = 1 (in [5])
read(5, "\1\2\367\274\0\0\0\0\255\1\0\2\0\0\0\0\0\0\0\0\0\0\0\0"..., 32) = 32
write(5, "\201\3\n\0\1\0 \2)R\2\1\0\6 \0\0\0\0\0\0\1@\0\0\3 \3\30"..., 244) = 244
read(5, 0xbffff3e0, 32)                 = -1 EAGAIN (Resource temporarily unavailable)
select(6, [5], NULL, NULL, NULL)        = 1 (in [5])
read(5, "\1\2\376\274\0\0\0\0\255\1\0\2\0\0\0\0\0\0\0\0\0\0\0\0"..., 32) = 32
write(5, "\201\3\n\0\1\0 \2)R\2\1\0\6 \0\0\0\0\0\0\1@\0\0\4\200\3"..., 276) = 276
read(5, 0xbffff5e0, 32)                 = -1 EAGAIN (Resource temporarily unavailable)
select(6, [5], NULL, NULL, NULL)        = 1 (in [5])
read(5, "\1 \7\275\1\0\0\0\24\0\0\0\0\0\0\0\1\0\0\0\0\0\0\0\0\0"..., 32) = 32
read(5, "\1\0\200\3", 4)                = 4
write(5, "q\3\2\0\1\0\200\3\22\0\7\0&\0\0\0\7\1\0\0\24\0\0\0 \4\200"..., 100) = 100
gettimeofday({995146803, 226615}, NULL) = 0
write(5, "\2\3\4\0\273\4\0\1\1\0\0\0\1\0 \2", 16) = 16
ioctl(5, FIONREAD, [0])                 = 0
poll([{fd=5, events=POLLIN, revents=POLLIN}, {fd=6, events=POLLIN|POLLPRI}, {fd=7, events=POLLIN}, {fd=10, events=POLLIN}, {fd=3, events=POLLIN}, {fd=12, events=POLLIN}, {fd=9, events=POLLIN}, {fd=13, events=POLLIN}, {fd=17, events=POLLIN}], 9, 153) = 1
gettimeofday({995146803, 227673}, NULL) = 0
ioctl(5, FIONREAD, [64])                = 0
read(5, "\34[\t\275&\0\0\0\7\1\0\0\32(_\263\00017\10 \371\377\277"..., 64) = 64
gettimeofday({995146803, 227869}, NULL) = 0
gettimeofday({995146803, 227920}, NULL) = 0
poll([{fd=5, events=POLLIN}, {fd=6, events=POLLIN|POLLPRI}, {fd=7, events=POLLIN}, {fd=10, events=POLLIN}], 4, 0) = 0
gettimeofday({995146803, 228025}, NULL) = 0
ioctl(5, FIONREAD, [0])                 = 0
poll([{fd=5, events=POLLIN}, {fd=6, events=POLLIN|POLLPRI}, {fd=7, events=POLLIN}, {fd=10, events=POLLIN}, {fd=3, events=POLLIN}, {fd=12, events=POLLIN}, {fd=9, events=POLLIN}, {fd=13, events=POLLIN}, {fd=17, events=POLLIN}], 9, 152) = 0
gettimeofday({995146803, 390862}, NULL) = 0
stat("/home/steve/.gnome-desktop", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
stat("/home/steve/.gnome-desktop", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
gettimeofday({995146803, 391040}, NULL) = 0
ioctl(5, FIONREAD, [0])                 = 0
poll([{fd=5, events=POLLIN}, {fd=6, events=POLLIN|POLLPRI}, {fd=7, events=POLLIN}, {fd=10, events=POLLIN}, {fd=3, events=POLLIN}, {fd=12, events=POLLIN}, {fd=9, events=POLLIN}, {fd=13, events=POLLIN}, {fd=17, events=POLLIN}], 9, 46) = 0
gettimeofday({995146803, 450802}, NULL) = 0
_llseek(14, 0, [0], SEEK_SET)           = 0
read(14, "/dev/root / ext2 rw 0 0\n/proc /p"..., 1024) = 236
read(14, "", 1024)                      = 0


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]