Re: [wmii] Memory usage in 20051114

From: Anselm R. Garbe <garbeam_AT_wmii.de>
Date: Tue, 13 Dec 2005 15:43:33 +0100

Hi,

On Tue, Dec 13, 2005 at 03:05:07PM +0100, Stefan Tibus wrote:
> Hello,
>
> I'm trying wmii for a while already and have found the snapshot 20051114
> to work quite well. However, after running the session for longer than a
> week already, I just noticed the huge memory usage by wmifs and wmibar
> (output by top):
>
> PID USERNAME LWP PRI NICE SIZE RES STATE TIME CPU COMMAND
> 26934 root 1 59 0 133M 58M sleep 265:44 3.25% Xsun
> 6911 stibus 1 59 0 80M 59M sleep 1:52 0.40% opera
> 26973 stibus 1 59 0 68M 1784K sleep 12:57 0.16% wmifs
> 26975 stibus 1 59 0 66M 1744K sleep 13:23 0.05% wmibar
>
> Has this happened to other users as well?
> I have just restarted the whole x-session again and will observe the
> memory usage during the next daysxi. Currently top reports:
>
> PID USERNAME LWP PRI NICE SIZE RES STATE TIME CPU COMMAND
> 20331 root 1 59 0 21M 12M sleep 0:10 0.86% Xsun
> 22829 stibus 1 59 0 3088K 1928K sleep 0:04 0.33% wmifs
> 22831 stibus 1 59 0 2752K 1616K sleep 0:01 0.11% wmibar
>
> Note: I'm running wmii on Solaris 9 on a Sun Ultra 5.

I remember that I fixed a mem leak for next snap which was font
related, but wmifs is no X client. Surprising is, that wmifs and
wmibar use the same amount of memory in your scenario which is
really odd.

I just rechecked with:

; while true; do wmiir write /bar/2/data foo; donee

in bash, and surprisingly the mem usage increases drastically,
smells like a mem leak in old (soon obsolete) libixp/ramfs.c.

Regards,

-- 
 Anselm R. Garbe  ><><  www.ebrag.de  ><><  GPG key: 0D73F361
Received on Tue Dec 13 2005 - 15:43:33 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:59:36 UTC