Signal Handler for Out of Memory Problem
From: Joshua Berry (jberry_at_PENSON.COM)
Date: 11/29/04
- Next message: Ing. Branislav Gerzo: "Re: problem with function"
- Previous message: casey_at_geeknest.com: "perl.beginners Weekly list FAQ posting"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 29 Nov 2004 14:20:29 -0600 To: <beginners@perl.org>
I have written a program that appears to have a memory leak or is using
a module with a memory leak. Eventually the system runs out of memory
and dies. I need to write a signal handler that intercepts the signal
that stops the program and flushes everything in use to free up memory.
Does anyone know what signal is sent when the system is out of memory?
This is on Slackware Linux 10.0, Kernel 2.6.7 with GRSec, Perl v5.8.4.
Josh Berry | CISSP GCIA
Information Security
214-765-1296
--------------------------------------------------------------------
If you spend more on coffee than on IT security, you will be hacked.
What's more, you deserve to be hacked.
-- (Former) White House Cybersecurity adviser Richard Clarke
- Next message: Ing. Branislav Gerzo: "Re: problem with function"
- Previous message: casey_at_geeknest.com: "perl.beginners Weekly list FAQ posting"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|