LCDproc development and user support list

Text archives Help


[Lcdproc] memory getting used up


Chronological Thread 
  • From: Luis.F.Correia AT seg-social.pt (Luis.F.Correia)
  • Subject: [Lcdproc] memory getting used up
  • Date: Mon Dec 23 17:09:01 2002

Version 0.4.3 has memory leaks in the Server code.

Please try version 0.4.4 or 0.5 (unstable) instead.

-----Original Message-----
From: mark
[mailto:mark AT neteffex.com]

Sent: Saturday, December 21, 2002 11:05 AM
To:
lcdproc AT lists.omnipotent.net
Subject: [Lcdproc] memory getting used up


I installed LCDproc version 0.4.3 on my Linux system (Caldera Systems Open
Linux 2.2 that shipped with kernel 2.2.5 [circa 1999]. Approximately 20
security patches and kernel 2.2.20 have been loaded).

I'm using the DS44780 driver for a small 20x1 lcd display.

When LCDd runs by itself (which is somewhat useless..) the memory usage
remains low.

I installed Jon Dissy's lcd_users_load.tclv1.0 and overnight the LCDd kept
building up memory usage. The next day, everything on that machine was VERY
slow to respond. That's because available memory was so low.

When I started LCDd and Jon's tcl, I show:

USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
mark 2932 0.0 1.5 1304 720 ttyp4 S 01:55 0:00 LCDd -c
LCDd.conf
root 2933 0.0 1.2 1760 572 ttyp2 S 01:55 0:01 tclsh
./lcd.tcl
localhost:1366

but the next morning...

USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
mark 2932 0.0 41.1 95124 19332 ttyp4 S 01:55 0:00 LCDd -c
LCDd.conf
root 2933 0.0 1.2 1760 572 ttyp2 S 01:55 0:01 tclsh
./lcd.tcl
localhost:1366

This is the first client I attempted to use, so I dont' know if it was a
problem
with my implementation or what....

So, I downloaded netlcdclient (which is made for a 4-line lcd display, but
at
least I wanted to see if the problem was repeatable with a compiled
client). Once installed, I could only see "Load: eth0" on my small lcd, but
I
knew it was apparently working.

beginning netclient version 0.2.1 on Sunday eve:
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
mark 16721 0.0 0.9 1332 424 ttyp4 S Dec21 0:01 LCDd -c
LCDd.conf
root 24170 0.0 1.1 1060 536 ttyp5 S 23:47 0:00
./netlcdclient -i
eth0

and then on Monday morning...
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
mark 16721 0.0 44.8 72936 21072 ttyp4 S Dec21 0:01 LCDd -c
LCDd.conf
root 24170 0.0 0.4 1060 212 ttyp5 S Dec22 0:00
./netlcdclient -i
eth0

What is causing this memory consumption? Any clues?

- mark
_______________________________________________
LCDproc mailing list
LCDproc AT lists.omnipotent.net
http://lists.omnipotent.net/mailman/listinfo/lcdproc




Archive powered by MHonArc 2.6.18.

Top of page