The OOM-Killer vs. Python

Erno Kuusela erno-news at erno.iki.fi
Sun Mar 24 17:54:36 EST 2002


In article <3c9e2b5f.9993062 at news.t-online.de>,
gerson.kurz at t-online.de (Gerson Kurz) writes:

| I have a python-based SMTP server (see http://p-nand-q.com/shicks.htm)
| running on our server, and in general it has worked flawless (since
| about nov 2001). However, in the recent week that dreaded linux OOM
| killer twice killed the python process. [The machine has 768mb ram -
| call me oldfashioned but that SHOULD be enough for both Linux & Python
| to get along, really. OK, its running KDE, and has only 256mb for
| swap, but still...]

i think you need more swap, also make sure you have your resource
limits configured correctly. last i heard, the linux 2.4 kernel series
had a "feature" where swap space only gave you (swapsize - physical
memory size) more vm space.

  -- erno



More information about the Python-list mailing list