On Mon, Oct 31, 2005 at 12:00:10PM +0100, Dag Wieers wrote:
> On Sat, 29 Oct 2005, Peter Cordes wrote:
> 
> > Package: dstat
> > Version: 0.6.1-1
> > Severity: normal
> > 
> >  When I leave dstat running it will be using 350MB of memory after a
> > day or so.  It will keep using more until the kernel's out-of-memory
> > killer gets it.  I usually start dstat with a command line like
> > dstat -D hda,sda,hdc,sdb 20, and I run it with TERM=screen (inside a
> > screen session, of course).
> > 
> >  I have python-psyco installed, in case that matters.  I _think_ I've
> > seen this bug on systems where I didn't have python-psyco installed,
> > though.
> 
> You are the second person to report it. Can you test if it only happens 
> with the 'Disk' stats ?
> 
>       dstat -d -D hda,sda,hdc,sdb 20
> 
> I haven't looked at it myself though. Need to look into how to print all 
> the data-structures/sizes to see what exactly is increasing.
> 
> Thanks for reporting !


 I started three copies of dstat running in three  screen  windows on Oct
31st. (So they've been running for 1 day and 19 hours.)
$ ps -C python -O etime,pmem,rss,size,vsz -w
  PID     ELAPSED %MEM   RSS    SZ    VSZ S TTY          TIME COMMAND
 8345  1-19:54:02 20.9 326184 398916 401832 S pts/4  00:02:37 python 
/usr/bin/dstat -d -D hda,sda,hdc,sdb 20
10307  1-18:53:29 20.4 318172 391028 393944 S pts/6  00:02:34 python 
/usr/bin/dstat -cg 20
10378  1-18:50:03 20.4 317660 390484 393400 S pts/5  00:01:39 python 
/usr/bin/dstat -ny 20

 I have another long-running python process (bittornado) which hasn't
ballooned up, and dstat didn't used to do this.

Environment variables:

SSH_AGENT_PID=3883
SHELL=/bin/bash
TERM=screen
HUSHLOGIN=FALSE
WINDOWID=8388624
USER=peter
XTERM_SHELL=/bin/bash
LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.ogg=01;35:*.mp3=01;35:*.wav=01;35:
SSH_AUTH_SOCK=/tmp/ssh-jHUpmJ3817/agent.3817
TERMCAP=SC|screen|VT 100/ANSI X3.64 virtual terminal:\
        :DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:bs:bt=\E[Z:\
        :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:ct=\E[3g:\
        :do=^J:nd=\E[C:pt:rc=\E8:rs=\Ec:sc=\E7:st=\EH:up=\EM:\
        :le=^H:bl=^G:cr=^M:it#8:ho=\E[H:nw=\EE:ta=^I:is=\E)0:\
        :li#30:co#107:am:xn:xv:LP:sr=\EM:al=\E[L:AL=\E[%dL:\
        :cs=\E[%i%d;%dr:dl=\E[M:DL=\E[%dM:dc=\E[P:DC=\E[%dP:\
        :im=\E[4h:ei=\E[4l:mi:IC=\E[%d@:ks=\E[?1h\E=:\
        :ke=\E[?1l\E>:vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l:\
        :ti=\E[?1049h:te=\E[?1049l:us=\E[4m:ue=\E[24m:so=\E[3m:\
        :se=\E[23m:mb=\E[5m:md=\E[1m:mr=\E[7m:me=\E[m:ms:\
        :Co#8:pa#64:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:AX:\
        :vb=\Eg:G0:as=\E(0:ae=\E(B:\
        
:ac=\140\140aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++,,hhII00:\
        :po=\E[5i:pf=\E[4i:k0=\E[10~:k1=\EOP:k2=\EOQ:k3=\EOR:\
        :k4=\EOS:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
        :k9=\E[20~:k;=\E[21~:F3=\EO2P:F4=\EO2Q:F5=\EO2R:\
        :F6=\EO2S:F7=\E[15;2~:F8=\E[17;2~:F9=\E[18;2~:\
        :FA=\E[19;2~:kb=:K2=\EOE:kB=\E[Z:*4=\E[3;2~:*7=\E[1;2F:\
        :#2=\E[1;2H:#3=\E[2;2~:#4=\E[1;2D:%c=\E[6;2~:%e=\E[5;2~:\
        :%i=\E[1;2C:kh=\E[1~:@1=\E[1~:kH=\E[4~:@7=\E[4~:\
        :kN=\E[6~:kP=\E[5~:kI=\E[2~:kD=\E[3~:ku=\EOA:kd=\EOB:\
        :kr=\EOC:kl=\EOD:km:
PAGER=/usr/bin/less
XPSERVERLIST=:64
PATH=/home/peter/bin:/usr/local/bin:/usr/bin:/bin:/sbin:/usr/sbin:/usr/bin/X11:/usr/games:/sbin:/usr/sbin
MAIL=/var/mail/peter
STY=3907.pts-0.holly
PWD=/home/peter
EDITOR=/usr/bin/jed
HISTCONTROL=ignoredups
XTERM_VERSION=XTerm(202)
HOME=/home/peter
SHLVL=5
LOGNAME=peter
LESS=iM
WINDOW=0
LESSOPEN=| /usr/bin/lesspipe %s
DISPLAY=:0.0
LESSCLOSE=/usr/bin/lesspipe %s %s
XAUTHORITY=/home/peter/.Xauthority
_=/usr/bin/env
OLDPWD=/mnt/sda5/from-bad-disk/good

-- 
#define X(x,y) x##y
Peter Cordes ;  e-mail: X([EMAIL PROTECTED] , des.ca)

"The gods confound the man who first found out how to distinguish the hours!
 Confound him, too, who in this place set up a sundial, to cut and hack
 my day so wretchedly into small pieces!" -- Plautus, 200 BC


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to