--On Friday, September 20, 2002 10:43 AM -0700 Jim Trocki 
<[EMAIL PROTECTED]> wrote:
>
> in the past we've seen a number of memory leaks, mostly from perl modules.
> also, we've stumbled on a couple bugs in perl, particularly a bug in
> the regex lib, which would cause mon to crash under some circumstances.
>
> fwiw, this isn't a problem on perl 5.005_03 w/mon 0.99.1. the mon process
> on one of our servers over here has been running since april 1st of this
> year and the RSS is under 8mb.
>

What operating system/version?

On our solaris system we never had any problems.

But on this linux system, with perl 5.6.1, linux 2.4.18, and libc 2.1.3, 
the problem was pretty bad.  (Mon was taking 2-3 minutes to start, or 
process a reset request, because perl was spending so much time doing 
memory mismanagement)

> i've deliberately not used the -w switch in the past because it complained
> about superfluous problems.
>

Don't take this wrong, but an argument could be made that perl -w doesn't 
complain about superfluous problems, but complains about bad programming. 
(using $foo{bar} when $foo{bar} doesn't exist in the hash, for example)

I've always liked the comment in the perl manpage about 'The -w switch is 
not mandatory.' being a bug.

Regardless, I've got a version that -w is now pretty happy with.  I think 
I'm going to send my current patchset to you before I start working on the 
per-host tracking stuff.  Probably monday.


-David Nolan
 Network Software Developer
 Computing Services
 Carnegie Mellon University

_______________________________________________
mon mailing list
[EMAIL PROTECTED]
http://linux.kernel.org/mailman/listinfo/mon

Reply via email to