Xymon Mailing List Archive search

BBWin 0.13 memory usage

list Richard Finegold
Wed, 27 Mar 2013 12:27:34 -0700
Message-Id: <CAFsNKkN0YU8x5OyGL=user-1b2a3d73e660@xymon.invalid>

On Mon, Mar 18, 2013 at 7:43 AM, Neil Simmonds
<user-8188d25e65e4@xymon.invalid> wrote:
I wondered if anyone had noticed anything unusual in the memory usage of
BBWin 0.13.
We’ve a number of servers running this version of the client and also a
number running BBWin 0.12.
All the 0.12 clients are using less than 10Mb of memory, however some of the
0.13 clients are using a lot more (a large number using between 250Mb and
400Mb and even one that was using over 1Gb).
I'd noticed what seemed to be a leak when sending large status
messages; somewhere 8700 and 8900 or so bytes was the threshold for a
lack of release, but it wasn't easily reproducible. (The threshold
seemed to be constant within a bbwin service session, but varied
between stops/starts of the bbwin service.) If you look at
http://xymonton.org/monitors:lsmon you'll see my code to work around
this issue: invoking bbwincmd with uploadmessage instead of merely
putting the file in tmpPath when the file is bigger than LEAKYMAX.

More at http://sourceforge.net/mailarchive/forum.php?thread_name=user-023a03fdd9cc@xymon.invalid&forum_name=bbwin-help