Bugzilla – Bug 361
slimserver leaks memory when playing radio station
Last modified: 2008-12-18 11:50:58 UTC
I've been using the CVS slimserver for a while, updating regularly. Recently, slimserver was killed because it was using too much memory: Jun 6 10:09:27 fenestro /kernel: pid 5365 (perl), uid 1000, was killed: out of swap space I updated my CVS and ran again; ps shows that the memory footprint definitely increases somewhat when switching radio stations: fenner 72924 0.0 4.0 21512 20764 pa S+ Mon12AM 8:08.94 /usr/bin/perl -w ./slimserver.pl fenner 72924 7.7 4.0 21564 20904 pa S+ Mon12AM 8:11.85 /usr/bin/perl -w ./slimserver.pl fenner 72924 4.6 4.2 22404 21748 pa S+ Mon12AM 8:12.73 /usr/bin/perl -w ./slimserver.pl fenner 72924 2.8 4.2 22476 21784 pa S+ Mon12AM 8:12.95 /usr/bin/perl -w ./slimserver.pl and increased significantly with no apparent reason: fenner 72924 0.0 6.1 32112 31460 pa S+ Mon12AM 8:18.21 /usr/bin/perl -w ./slimserver.pl The memory usage is sometimes constant, not constantly increasing, so this may be tough to track down. I haven't managed to track it down with more detail than this yet.
The running out of swap space was definitely the infinite loop in scanning the music library described in Bug 366. I'll keep my eye on the memory usage now that I've eliminated that.
Ok, great. Open up another bug if you see a memory leak.
There are 536 bugs in the database with targets of '---' that were fixed prior to new year 2006. I am setting them to targets of 6.2.1 to keep them from showing up in my queries.
Routine bug db maintenance; removing old versions which cause confusion. I apologize for the inconvenience.