[Bug 19814] New: gam_server eats all the RAM slowly

bugzilla-daemon at bugzilla.ubuntu.com bugzilla-daemon at bugzilla.ubuntu.com
Fri Nov 18 23:21:40 UTC 2005


Please do not reply to this email.  You can add comments at
http://bugzilla.ubuntu.com/show_bug.cgi?id=19814
Ubuntu | gamin

           Summary: gam_server eats all the RAM slowly
           Product: Ubuntu
           Version: unspecified
          Platform: Other
        OS/Version: other
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gamin
        AssignedTo: seb128 at ubuntu.com
        ReportedBy: marius at pov.lt
         QAContact: desktop-bugs at lists.ubuntu.com


Today I've noticed that my laptop was acting sluggish, and half of the swap
space was eaten.  I discovered that gam_server took over 400 megs of virtual
memory, killed it, and went back to work.  A few hours later I noticed the same
thing (gam_server eating 500 megs this time), and killed it again.  gam_server
started growing again.

To summarize: whenever I kill gam_server, it respawns and starts allocating
memory at the rate of about 0.1 meg per 3 seconds (according to
gnome-system-monitor).  I had never encountered this before today.

gdb doesn't help mutch (I get a lot of question marks).  ltrace/strace show a
lot of activity -- stating a bunch of files, watching /etc/mtab, writing to
pipes, calling strange numbered syscalls 292 and 293 (I guess strace/ltrace
doesn't recognize inotify?).

ltrace -c -S -p `pidof gam_server` for a 10-second period shows
   
   20116 calls to g_free
   16457 calls to g_strdup_printf
    3324 calls to g_strdup
    3187 calls to g_malloc0
      90 calls to g_malloc

and a bunch of other calls that don't seem to be related to memory management at
first glance.

-- 
Configure bugmail: http://bugzilla.ubuntu.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.




More information about the desktop-bugs mailing list