[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mon
Subject:    Re: patch for Client.pm [was: Re: perl segmentation faults]
From:       "Doug Rice" <airthief () verizonmail ! com>
Date:       2002-03-23 0:55:56
[Download RAW message or body]

> > Essentially, the perl process calls brk repeatedly until the segmentation 
> > fault occurs.
> 
> That's odd. If you can reproduce reliably, let us know.

Simply make the detail from a monitor to include the output from ps -ef on a system \
with 500+ processes, and use remote.alert as the alert.  Faults every time.  A mon \
trap of 42K, while potentially useful to a human, it not a goog thing...

> That's definitely a bug. A patch to Client.pm (untested by me) is attached, 
> which causes send_trap to err out if inet_aton cannot resolve the host. 
> Please test and verify that it works. If it does, it will go in 0.12.

Patch works.   Thanks!
Doug
-- 

_______________________________________________
Talk More, Pay Less with Net2Phone Direct(R), up to 1500 minutes free! 
http://www.net2phone.com/cgi-bin/link.cgi?143 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic