* Jamin W. Collins ([EMAIL PROTECTED]) wrote:
> Package: iceweasel
> Version: 2.0.0.6+2.0.0.8-0etch1
> 
> Even without any actual usage, active extensions, or bookmarks the
> iceweasel program continues to increase the amount of memory it uses.
> The increase is gradual, but there none the less.  Iceweasel was simply
> started and left idle during the test, no page displayed of any kind.
> 
> I'm attaching both the script that was used to monitor the process and
> the resultant output.

Hmmm, you'll notice by the end of the output the virtual size stays
constant (in fact it shrinks slightly near the end), and the does seem
to be trending upward slightly, it does oscillate around a bit. The
rss number change purely due to the kernel's memory manager fiddling
with pages and not necessarily that the amount of memory consumed is
going up. You only ran the test for 10 hours, you should try running
it for several days to see if more of a trend appears.
 
> --- System information. ---
> Architecture: i386
> Kernel:       Linux 2.6.18-5-k7
> 
> Debian Release: 4.0
> 
> --- Package information. ---
> Depends                  (Version) | Installed
> ==================================-+-================
> fontconfig                         | 2.4.2-1.2
> psmisc                             | 22.3-1
> debianutils              (>= 1.16) | 2.17
> libatk1.0-0            (>= 1.12.2) | 1.12.4-3
> libc6                 (>= 2.3.6-6) | 2.3.6.ds1-13etch2
> libcairo2               (>= 1.2.4) | 1.2.4-4
> libfontconfig1          (>= 2.4.0) | 2.4.2-1.2
> libfreetype6              (>= 2.2) | 2.2.1-5+etch1
> libgcc1            (>= 1:4.1.1-12) | 1:4.1.1-21
> libglib2.0-0           (>= 2.12.0) | 2.12.4-2
> libgtk2.0-0             (>= 2.8.0) | 2.8.20-7
> libjpeg62                          | 6b-13
> libmyspell3c2                      | 1:3.1-18
> libpango1.0-0          (>= 1.14.8) | 1.14.8-5
> libpng12-0           (>= 1.2.13-4) | 1.2.15~beta5-1
> libstdc++6           (>= 4.1.1-12) | 4.1.1-21
> libx11-6                           | 2:1.0.3-7
> libxft2                 (>> 2.1.1) | 2.1.8.2-8
> libxinerama1                       | 1:1.0.1-4.1
> libxp6                             | 1:1.0.0.xsf1-1
> libxrender1                        | 1:0.9.1-3
> libxt6                             | 1:1.0.2-2
> zlib1g                (>= 1:1.2.1) | 1:1.2.3-13
> 


> #!/bin/bash
> #
> #
> # The parameter entered via $1 is the process name which is listed
> # If it is left out then firefox-bin is the default
> #
> # MDC 050228
> # Amended GC 050301
> # Amended Mike MDC 060610
> #
> 
> # set process name
> 
>    if [ -z "$1" ]; then
>         Process_Name=firefox-bin
>    else
>         Process_Name=$1
>    fi
> 
> # Set logfile
> 
>    hname=$(hostname)
>    hname=${hname%%.*}
> 
>    LOGFILE_NAME=$Process_Name.$hname.log
> 
> #
> # How long to run
> #
>    let period_mins=5
>    let num_checks=6*24
> 
>    DAY=$(date +%d)
>    MONTH=$(date +%B)
>    TIMENOW=$(date +%r)
> 
> # echo Listing process details
>    echo
>    echo Listing process information on $DAY $MONTH at $TIMENOW
>    echo for process: $Process_Name  ...
>    echo
> 
>    if [ -a $LOGFILE_NAME ]; then
>         echo Process info added to $LOGFILE_NAME
>         new_log=no
>    else
>         echo Process information for $Process_Name > $LOGFILE_NAME
>         echo $LOGFILE_NAME created and process info added
>         new_log=yes
>    fi
> #
> # Loop
> #
>     if [ "$new_log" = "yes" ] ; then
>        echo "   Date     : Command          vsize  rss  " >> $LOGFILE_NAME
>        echo "----------- : ------------     ------ -----  " >> $LOGFILE_NAME
> 
>     fi
> 
>     let period_secs=$period_mins*60
>     let i=0
>     while (( i < num_checks))
>     do
>        datime=$(date +%d-%H:%M:%S)
>        echo -n "$datime : " | tee -a $LOGFILE_NAME
>        ps -o"comm=,vsize=,rss=" -C $Process_Name | tee -a $LOGFILE_NAME
>        sleep $period_secs
>        let i=++i
>     done
> 
> exit 0


-- 
Eric Dorland <[EMAIL PROTECTED]>
ICQ: #61138586, Jabber: [EMAIL PROTECTED]

Attachment: signature.asc
Description: Digital signature

Reply via email to