shrinking memory consumptions

Martin Langhoff martin.langhoff at gmail.com
Mon Apr 2 16:34:51 EDT 2007


On 4/3/07, Adam Jackson <ajackson at redhat.com> wrote:
> If you do get back to this, please make it a file, not a signal.  Signal
> handling is enough of a nightmare intrinsically, and most apps also get

Yep, it is hard to do because you have to handle it immediately. If
it's a file you can defer it until you get out of that memory-eating
loops that's keeping you busy right now... and OOM'ing the box. :-)

If that's the case, doing it via signals is the right thing to do, and
it _is_ hard. Moving it to a pollable mechanism makes it easier, and
of very limited use -- ie: only when your app is idle.

Or perhaps I am completely misunderstanding.


martin



More information about the Devel mailing list