Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Of course, to look for a problem and memory leaks, you can add a swap, in situations where processes allow this, this can help.
You can fork at the moment when the process is being killed (probably makes sense if the reason for the murder is not the physical end of the memory, but some combination of limit settings), after freeing the occupied memory of course. Those. your process will certainly die, but just before death it will give birth to a clone, with less memory consumption.
ps do not do this, it's just out of desperation.
here just discussed how to seize the moment
You need to deal with memory leaks and correctly delimit resources, and not disable OOM-killer.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question