2007/3/7, Tony Mancill <[EMAIL PROTECTED]>:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm not able to reproduce this problem, but perhaps xsysinfo is causing
your system to use a lot of memory.  (On my system, it doesn't appear to
have any sort of memory leak.)  On a comannd-line, could you find out
the PID of xsysinfo and then submit the contents of /proc/<pid>/status?


Thanks for your quick answer :)
Here's the content of /proc/<pid>/status:

Script started on jeu 08 mar 2007 09:58:09 CET

[EMAIL PROTECTED] 09:58 /home/pibe>cat /proc/14550/status
Name:   xsysinfo
State:  R (running)
SleepAVG:       0%
Tgid:   14550
Pid:    14550
PPid:   14549
TracerPid:      0
Uid:    500     500     500     500
Gid:    500     500     500     500

FDSize: 256
Groups: 6 29 44 500
VmPeak:    37324 kB
VmSize:    37324 kB
VmLck:         0 kB
VmHWM:     35408 kB
VmRSS:     35408 kB
VmData:    33840 kB
VmStk:        88 kB
VmExe:        12 kB

VmPTE:        48 kB
Threads:        1
SigQ:   1/4294967295
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000000000
SigCgt: 0000000000000000
CapInh: 0000000000000000

CapPrm: 0000000000000000
CapEff: 0000000000000000
Cpus_allowed:   ff
Mems_allowed:   1
[EMAIL PROTECTED] 09:58 /home/pibe>exit

Script done on jeu 08 mar 2007 09:58:26 CET
VmLib:      3240 kB




BTW, regarding it taking a lot of CPU even at the xdm login screen, I'm
not sure how xsysinfo is running if there isn't an active X session on
the machine.  Could you elaborate?


xsysinfo is started from /etc/X11/xdm/Xsetup:

[EMAIL PROTECTED] 10:04 /root>grep xsysinfo /etc/X11/xdm/Xsetup
xsysinfo -swap -geometry 240x120+20-20 &

... this way it runs when nobody is logged, but it also runs when somebody
is logged


Thank you,
tony

Pierre Bauduin wrote:
> Package: xsysinfo
> Version: 1.7-5
>
> The version of xsysinfo that comes with Debian 4.0 "etch" has some major
> issues.
> It uses a lot of CPU and memory all the time.
>
> Even when you're at the xdm login screen (nobody is logged),
> If xsysinfo isn't running, the load average is around 0.9
> If xsysinfo is running, the load average is around 5.0
>
> Take a look at the following screenshot:
> http://pierre.baudu.in/files/2007-03-07-095221_1024x768_scrot.png
>
> You can very well see that:
> - load average is 5.0 when xsysinfo is running and 1.0 when it is not
> running
> - at the time of the screenshot the load average is 4.50
> - at the time of the screenshot 560 MB out of 640 MB of swap are being
used
>
> Debian release: 4.0 "etch"
> Architecture: i386
> CPU: Pentium III (Katmai) at 450 MHz
> Memory: 256 MB
> Kernel: Linux cobra 2.6.18-3-686 #1 SMP Mon Dec 4 16:41:14 UTC 2006 i686
> GNU/Linux
> Version of packages xsysinfo depends on: libc6 (>= 2.3.6-6), libice6,
> libsm6, libx11-6, libxaw7, libxext6, libxmu6, libxpm4, libxt6
>
> It would be nice if someone could look into this :)
>
> Thank you,
> --
> Pierre Bauduin
> Linux enthusiast since 1996
> Debian GNU/Linux user
> website: http://pierre.baudu.in/
>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF7vOapdwBkPlyvgMRAshXAJ9vKnrsrMM5PoW1onQVGeim+XG+jgCeIPvk
7F4GNqUDz2XAlsM9F8uv2QE=
=8MDV
-----END PGP SIGNATURE-----



Thank you,
--
Pierre Bauduin
Linux enthusiast since 1996
Debian GNU/Linux user
website: http://pierre.baudu.in/

<[EMAIL PROTECTED]>

Reply via email to