VM: killing process X
Konstantinos Peletidis
kpeletidis at dsl.pipex.com
Fri May 28 18:17:53 EEST 2004
On Fri, 28 May 2004 16:44:19 +0300
Christos Ricudis <ricudis at itc.auth.gr> wrote:
> On Fri, 28 May 2004 13:18:51 +0100
> Konstantinos Peletidis <kpeletidis at dsl.pipex.com> wrote:
>
> > Geia sas,
> > Psaxnontas sto google ema8a pws o kernel, apo tote pou afaire8hke
> > o OOM killer, an ksemeinei apo virtual memory skotwnei
> > psilorandomly processes mexri na hremhsoun ta pragmata.
>
> H alh8eia einai oti de mporei na kanei kai tipote allo. Assume this
> scenario :
>
> * You have 400 mb of virtual memory free
> * You run something.big
> * Now, you suddenly have 1 mb of virtual memory free
> * You run something small
> * Something small requests 2 mb of memory
> * OOM killer kills the something small process
Symfwnoi. As skotwsei thn process pou zhthse perissoterh mnhmh apo osh
mporoume na dia8esoume. Etsi o xrhsths mporei na epileksei poia apo tis
hdh yparxouses processes prepei na anaxwrhsei gia ton allo kosmo(px
something.big) kai na ksanatreksei thn something small.
> To senario einai poly syxnotero apo oti fantazesai. Me opoiadhpote
> logikh kai na prospa8hseis na dialekseis TI 8a skotwseis, exeis megalh
> pi8anothta na skotwseis kapoio entelws asxeto process.
>
> O monos algori8mos poy douleyei einai o ekshs :
>
> 1) At OOM condition, scan process list
> 2) Netscape found? kill it and return
> 3) Mozilla found? Kill it and return
> 4) Evolution found? Kill it and return
> 5) Java VM found? Kill it and return
> 6) Nothing of the above? Question the user WHAT the heck is running
> other than these that COULD EVER CAUSE a OOM condition even in a 32mb
> VM environment.
Me vriskeis apolytws symfwno :-)
Xmmm, mhpws 8a htan kalh idea na yparxei enas daemon ston opoio na
dhlwnoume to poso shmantikh einai h ka8e process (px dinontas va8mous se
mia klimaka apo 1 ws 10) kai o daemon autos na apofasizei ti na skotwsei
analoga me thn peristash?
Euxaristw gia thn apanthsh.
--
Kostas
More information about the Linux-greek-users
mailing list