[Pkg-xfce-devel] Bug#478566: Bug#478566: thunar: thunar runs amok on /proc, wasting lots of CPU time

Hilko Bengen bengen at debian.org
Wed Apr 30 10:00:29 UTC 2008


Yves-Alexis Perez <corsac at debian.org> writes:

>> Truth be told, I'm not even sure that moving files triggered this.
> Mpf. Could you at least retry what you were doing, and tell if you can
> reproduce yourself?

I am currently not at my machine at home but was able to reproduce a
similar condition on a workstation also running Debian/sid.

Starting with a "clean" (no Thunar configuration files) file:

$ find ~ -iname \*thunar\* | xargs rm -rvf
removed `/home/bengen/thunar.strace'
removed `/home/bengen/.cache/Thunar/metafile.tdb'
removed `/home/bengen/.cache/Thunar/thumbnailers.cache'
removed directory: `/home/bengen/.cache/Thunar'
removed `/home/bengen/.config/Thunar/thunarrc'
removed `/home/bengen/.config/Thunar/accels.scm'
removed directory: `/home/bengen/.config/Thunar'
$ strace -o thunar.strace thunar &
$ tail -f thunar.strace | grep '/proc\|fgetxattr'

In Thunar,
Select from menu: View / Side Pane / Tree
Expand "File System" in Side Pane
Expand "proc"

... here the madness starts: Several files in subdirectories of /proc
are accessed periodically, about once a second. In my test run, that
meant about 100 different files (see below for the complete list).

This behavior looks like an infinite loop to me.

Speculation: If something like this happens with more files on a slow
machine (like my VIA C7-based machine at home), this could well
explain a high level of CPU activity and Thunar becoming unresponsive
and unusable.

Cheers,
-Hilko

/proc/acpi/ac_adapter
/proc/acpi/battery
/proc/acpi/button
/proc/acpi/dsdt
/proc/acpi/embedded_controller
/proc/acpi/fadt
/proc/acpi/fan
/proc/acpi/info
/proc/acpi/power_resource
/proc/acpi/processor
/proc/acpi/sleep
/proc/acpi/thermal_zone
/proc/acpi/wakeup
/proc/asound/card0
/proc/asound/cards
/proc/asound/devices
/proc/asound/ICH5
/proc/asound/modules
/proc/asound/oss
/proc/asound/pcm
/proc/asound/seq
/proc/asound/timers
/proc/asound/version
/proc/bus/input
/proc/dri/0
/proc/driver/rtc
/proc/driver/snd-page-alloc
/proc/fs/nfsd
/proc/ide/drivers
/proc/ide/hdc
/proc/ide/ide1
/proc/irq/0
/proc/irq/1
/proc/irq/10
/proc/irq/11
/proc/irq/12
/proc/irq/13
/proc/irq/14
/proc/irq/15
/proc/irq/16
/proc/irq/17
/proc/irq/18
/proc/irq/19
/proc/irq/2
/proc/irq/20
/proc/irq/21
/proc/irq/3
/proc/irq/4
/proc/irq/5
/proc/irq/6
/proc/irq/7
/proc/irq/8
/proc/irq/9
/proc/net/anycast6
/proc/net/arp
/proc/net/atm
/proc/net/dev
/proc/net/dev_mcast
/proc/net/dev_snmp6
/proc/net/if_inet6
/proc/net/igmp
/proc/net/igmp6
/proc/net/ip6_flowlabel
/proc/net/ip_mr_cache
/proc/net/ip_mr_vif
/proc/net/ipv6_route
/proc/net/mcfilter
/proc/net/mcfilter6
/proc/net/netfilter
/proc/net/netlink
/proc/net/netstat
/proc/net/packet
/proc/net/protocols
/proc/net/psched
/proc/net/ptype
/proc/net/raw
/proc/net/raw6
/proc/net/route
/proc/net/rt6_stats
/proc/net/rt_acct
/proc/net/rt_cache
/proc/net/snmp
/proc/net/snmp6
/proc/net/sockstat
/proc/net/sockstat6
/proc/net/softnet_stat
/proc/net/stat
/proc/net/tcp
/proc/net/tcp6
/proc/net/tr_rif
/proc/net/udp
/proc/net/udp6
/proc/net/udplite
/proc/net/udplite6
/proc/net/unix
/proc/net/wireless
/proc/scsi/device_info
/proc/scsi/scsi
/proc/sysvipc/msg
/proc/sysvipc/sem
/proc/sysvipc/shm
/proc/tty/driver
/proc/tty/drivers
/proc/tty/ldisc
/proc/tty/ldiscs





More information about the Pkg-xfce-devel mailing list