Tso tawm ntxov ntxov 1.3, txheej txheem rau cov lus teb thaum ntxov rau kev nco qis

Tom qab xya lub hlis ntawm kev loj hlob luam tawm keeb kwm kev tso tawm thaum ntxov 1.3, uas ib ntus kuaj xyuas qhov muaj peev xwm nco tau (MemAvailable, SwapFree) thiab sim teb thaum ntxov rau qhov tshwm sim ntawm kev nco tsis txaus.

Yog tias tus nqi ntawm lub cim xeeb muaj tsawg dua li tus nqi teev tseg, ces ntxov ntxov yuav yuam (los ntawm kev xa SIGTERM lossis SIGKILL) txiav cov txheej txheem uas siv lub cim xeeb tshaj plaws (muaj qhov siab tshaj / proc / * / oom_score tus nqi), yam tsis tau nqa lub xeev lub xeev. kom tshem tawm qhov system buffers thiab cuam tshuam nrog kev ua haujlwm swapping (OOM (Out Of Memory) handler hauv lub kernel yog tshwm sim thaum lub xeev tsis nco qab tau mus txog qhov tseem ceeb thiab feem ntau los ntawm lub sijhawm no lub kaw lus tsis teb lawm. rau cov neeg siv kev ua).

Earlyoom txhawb kev xa cov ntawv ceeb toom ntawm kev yuam kev yuam kev mus rau lub desktop (siv ceeb toom-xa), thiab tseem muab lub peev xwm los txhais cov cai uas, siv cov lus qhia tsis tu ncua, koj tuaj yeem qhia cov npe ntawm cov txheej txheem uas nyiam raug txiav tawm (kev xaiv "- -prefer") lossis nres yuav tsum zam (kev xaiv "-avoid").

Cov kev hloov tseem ceeb hauv qhov kev tso tawm tshiab:

  • Ua tiav tos kom tiav cov txheej txheem tom qab xa cov teeb liab mus rau nws. Qhov no tshem tawm qhov teeb meem uas ntxov ntxov qee zaum tua ntau tshaj ib txoj kev thaum ib tug yuav txaus;
  • Ntxiv ib tsab ntawv pabcuam (notify_all_users.py) ceeb toom rau txhua tus neeg siv nkag mus txog qhov ua tiav ntawm cov txheej txheem ntawm kev ceeb toom-xa;
  • Tsau cov zaub tsis raug ntawm qee cov npe txheej txheem uas muaj UTF-8 cim;
  • Txoj Cai Tswjfwm Kev Sib Koom Tes tau raug coj los ua.

Tau qhov twg los: opennet.ru

Ntxiv ib saib