Bug 169065
Summary: | gamin taking 99% CPU, looping continually over /usr/bin/* | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Charles R. Anderson <cra> | ||||||
Component: | gamin | Assignee: | Alexander Larsson <alexl> | ||||||
Status: | CLOSED WONTFIX | QA Contact: | |||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 4 | CC: | mstuff | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2006-11-27 05:49:27 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Charles R. Anderson
2005-09-22 18:03:36 UTC
Created attachment 119159 [details]
strace -p of gam_server process
zcat gam_server-strace.txt.gz | awk -F, '{print $1}' | sort | uniq -c | sort -n
shows about half of the files in /usr/bin being stat64'ed 89 times each:
89 stat64("/usr/bin/4ssd"
89 stat64("/usr/bin/4ss_manager"
89 stat64("/usr/bin/aatest"
89 stat64("/usr/bin/ac"
89 stat64("/usr/bin/aclocal-1.9"
89 stat64("/usr/bin/addftinfo"
89 stat64("/usr/bin/akregator"
89 stat64("/usr/bin/allneeded"
89 stat64("/usr/bin/amidi"
89 stat64("/usr/bin/amixer"
...
Created attachment 119160 [details]
gamin debug output
Here is the output generated by kill -USR2 <pid_of_gam_server>
Not sure how useful this is, but here is a backtrace from gdb: Program received signal SIGINT, Interrupt. 0x0047e402 in ?? () (gdb) where #0 0x0047e402 in ?? () #1 0x00a0003b in ___xstat64 (vers=3, name=0xa69ff4 "<\235¦", buf=0xbff1322c) at ../sysdeps/unix/sysv/linux/xstat64.c:50 #2 0x0804cb8c in poll_file (node=0x8a79948) at /usr/include/sys/stat.h:366 #3 0x0804d93b in gam_poll_scan_directory_internal (dir_node=Variable "dir_node" is not available. ) at gam_poll.c:691 #4 0x0804dacc in gam_poll_scan_directory (path=0x899cb88 "/usr/bin") at gam_poll.c:1151 #5 0x08052ca3 in gam_dnotify_pipe_handler (user_data=0x894a988) at gam_dnotify.c:316 #6 0x037c44fc in g_io_unix_dispatch (source=0x894aa78, callback=0x8052bb4 <gam_dnotify_pipe_handler>, user_data=0x0) at giounix.c:162 #7 0x0379e4ce in IA__g_main_context_dispatch (context=0x8949f38) at gmain.c:1934 #8 0x037a14d6 in g_main_context_iterate (context=0x8949f38, block=1, dispatch=1, self=0x8945018) at gmain.c:2565 #9 0x037a17c3 in IA__g_main_loop_run (loop=0x894b140) at gmain.c:2769 #10 0x0804b01a in main (argc=1, argv=0xbff14894) at gam_server.c:368 #11 0x00959d5f in __libc_start_main (main=0x804ae77 <main>, argc=1, ubp_av=0xbff14894, init=0x80534cc <__libc_csu_init>, fini=0x805351c <__libc_csu_fini>, rtld_fini=0x9351ad <_dl_fini>, stack_end=0xbff1488c) at ../sysdeps/generic/libc-start.c:216 #12 0x0804a171 in _start () (gdb) continue I occasionally see these from gdb. The "Debugging Gamin" website at http://www.gnome.org/~veillard/gamin/debug.html#Debugging says to tell gdb to not stop on SIG33. I did the same for SIG34, since I never saw a SIG33 here. Program received signal SIG34, Real-time event 34. Program received signal SIG34, Real-time event 34. Program received signal SIG34, Real-time event 34. PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 4682 morgan 25 0 2340 1160 872 R 83.7 0.5 0:48.99 gam_server Like to confirm this bug? I guess the above confirms it? It occures when I connect the web. My version is gamin-0.1.1-3.FC4 But, couldn't find anything newer in updates? All, the other gam_server bugs like this seem to be a year ago. M. Thank you for the bug report. However, Fedora Project no longer maintains this version of the product. Please upgrade to the latest version and open a new bug if the problem persists. The Fedora Legacy project (http://fedoralegacy.org/) maintains some older releases, and if you believe this bug is interesting to them, please report the problem against Fedora Legacy component |