Izinqubo zeZombie

Kufundwa okufakiwe kusuka ku- izinga Ngikhumbule ukuthi esithangamini othile ucela usizo njengoba uhlelo lwabo luhamba kancane, ezinye izixazululo zigxile kuzinqubo.

Izimo eziyinhloko zezinqubo eziseLinux yilezi:
Ukulala (S) Izinqubo ezilinde ithuba lazo lokwenza.
Ukugijima (R) Izinqubo ezisebenzayo.
Ukulinda (D) Izinqubo ezilinde ukuthi umsebenzi wokuNgena / wokuPhuma uqedwe.
I-Zombie (Z) Izinqubo eziphelile kepha ziyaqhubeka ukuvela kuthebula lenqubo. Zingadalwa amaphutha wohlelo futhi kungaba uphawu lohlelo oludonsa kancane noma oludala izinkinga.

Inqubo yeZombie ingakaze ithole isignali kusuka enqubeni yomzali eyidalile, inqubo yengane inomsuka wayo enqubeni esezingeni eliphakeme eyaziwa ngokuthi inqubo yomzali ephethe ukuthumela amasiginali kuzinqubo zezingane ezenziwe ngawo ukukhombisa ukuthi isikhathi sokuphila kwayo sesiphelile.

Zingadalwa amaphutha wohlelo futhi kungaba uphawu lohlelo oludonsa kancane noma oludala izinkinga. Lesi simo sivame ukwenzeka, futhi ngoba okunye ukumiswa bekungacatshangwa ngunjiniyela.

KuWikipedia ungakwenza funda kabanzi mayelana nalezi zinqubo.

Ukwenza umyalo ophezulu singabona ngesikhathi sangempela izinqubo ezisebenza ohlelweni, futhi kuzokhombisa ukuthi ngabe zikhona yini zombie zombuso, kepha ayikhombisi ukuthi iyiphi.

inqubo

Ukubona zonke izinqubo, thayipha ukuphela: ps aux, nokubona amaZombi kuphela: ps -el | grep 'Z'o I-ps -A -ostat, i-ppid, i-pid, i-cmd | grep -e '^ [Zz]'

i-alf @ Alf ~ $ I-ps -A -ostat, i-ppid, i-pid, i-cmd | grep -e '^ [Zz]'

Z 1945

Uma, lapho kufakwa kuhlu izinqubo, umuntu evela enesimo se-Z, kusho ukuthi iyi-zombie, okusho ukuthi uhlelo lokusebenza aluxazululwa kahle noma lunezimbungulu, ukwazi ukuthi i-PID yayo ingasuswa ngokwenza umyalo ofana no, esigungwini, kulesi sibonelo: 

i-alf @ Alf ~ $ bulala -9 1945

Uma unezinqubo eziningi ze-zombie noma okungenani ezingaphezu kweyodwa, ungasebenzisa umyalo olandelayo obabulala, kusebenza lokho kuphela, uma ukuqhuba ngaphandle kokuba nezinqubo zombie akukho okuzokwenzeka:

i-alf @ Alf ~ $ Sudo kill -HUP `ps -A -ostat, ppid, pid, cmd | grep -e '^ [Zz]' | awk '{phrinta $ 2}' ''

Phendula ngokucaphuna


Okuqukethwe yi-athikili kunamathela ezimisweni zethu ze izimiso zokuhlelela. Ukubika iphutha chofoza lapha.

Amazwana ayi-14, shiya okwakho

Shiya umbono wakho

Ikheli lakho le ngeke ishicilelwe. Ezidingekayo ibhalwe nge *

*

*

  1. Ubhekele imininingwane: Miguel Ángel Gatón
  2. Inhloso yedatha: Lawula Ugaxekile, ukuphathwa kwamazwana.
  3. Ukusemthethweni: Imvume yakho
  4. Ukuxhumana kwemininingwane: Imininingwane ngeke idluliselwe kubantu besithathu ngaphandle kwesibopho esisemthethweni.
  5. Isitoreji sedatha: Idatabase ebanjwe yi-Occentus Networks (EU)
  6. Amalungelo: Nganoma yisiphi isikhathi ungakhawulela, uthole futhi ususe imininingwane yakho.

  1.   kufanelekile kusho

    🙁

  2.   oscar kusho

    Ngiyabonga, umnikelo omuhle kakhulu, ngizogcina imiyalo yokwenza ukuqinisekisa ngezikhathi ezithile.

  3.   Josh kusho

    Ngiyabonga, i-athikili enhle.

  4.   msx kusho

    Ukucaciswa okumbalwa maqondana nendatshana yakho:

    Igama elithi "inqubo ye-Zombie" alilungile ngokomthetho futhi thina esinolwazi oluncane nge-GNU / Linux kufanele sikugweme ukuyisebenzisa ngoba ayikho inqubo ezisebenza yodwa, kepha kumane kubhekiswe kunqubo engasekho ku system futhi akasikhiphanga isihlonzi sakhe.

    "Inqubo ye-zombie" empeleni ukungena kuthebula lokuhlela imephu yenkomba yenqubo (isichasisi senqubo), lokho nje, ngakho-ke ayisebenzisi izinsizakusebenza ezingaphezu kwama-byte ambalwa enkumbulo asetshenziswa uhlelo ukugcina umkhondo wethebula lenqubo.

    Inkinga okungahle kube nayo nge-ghost (noma i-zombie) izincazelo zerejistri ukuthi uma ziveza ngokushesha okukhulu zingangena kulo lonke ithebula lokwabiwa kwezincazelo zenqubo zishiya uhlelo lungenaso isikhala samarekhodi amasha ngakho-ke kungenzeka kube nzima ukusebenzisa izinhlelo ezintsha -rekhoda izinqubo zabo- ekugcineni ilenga umshini.

    Kodwa-ke, cishe akunakwenzeka ukwenzeka ngoba ezinhlelweni ezingama-32-bit kunezikhala ezingama-32767 zokubhalisa izinqubo (kuyaqabukela noma zingakaze zisetshenziswe) futhi zikuphinda kabili lokho kusistimu engama-64.

    Ukuphela kwendlela yokwenza ukuphahlazeka kohlelo ngezinqubo ezifile zisuswe kabi ukudala izinqubo nokuzibulala ngokushesha ngaphandle kokuhlanza kahle isichasisi senqubo (okungukuthi, ukudala "izinqubo ze-zombie") kepha, masikubhekane nakho, uma othile efuna ukulengisa system kunezindlela eziqonde kakhulu kunalokho. ukuqala ukudala izinqubo ezintsha ngokushesha ngendlela echazayo eqinisa uhlelo bese ililengisa; enye yezindlela zokufeza lokhu ngebhomu lemfoloko:

    : () {: |: &};:

    Ungenza isistimu imelane kakhulu nebhomu lemfoloko ngokulungisa /etc/security/limits.conf kahle, yize kufanele kucatshangwe ukuthi lapho sikhawulela kakhulu amathuba okwenza izinqubo ezintsha, sizokwazi ukusebenzisa izinhlelo ezimbalwa ngasikhathi sinye kusistimu yethu. Kodwa-ke, iyithuluzi elivumelekile lalo lonke i-paranoid sysadmin elifuna ukulawula kahle amasistimu alo!

    Le ndatshana inemininingwane emihle ngezincazelo zenqubo ezingavumelekile:
    http://www.howtogeek.com/119815/htg-explains-what-is-a-zombie-process-on-linux/
    Futhi kulokhu kunencazelo ecacile yokuthi ibhomu lemfoloko lisebenza kanjani: http://stackoverflow.com/questions/991142/how-does-this-bash-fork-bomb-work

    Salu2

    1.    UJotaele kusho

      msx: «Igama elithi" inqubo ye-Zombie "alifanelekile ngokwezobuchwepheshe futhi labo bethu abanolwazi oluncane nge-GNU / Linux kufanele bakugweme ukuyisebenzisa…» Ha ha ha. Kukhona okuthile okukhulu kunokuziqhenya kwakho: ukunambitheka kwakho okungalungile. Sawubona, okwenzile akulungile, uma ufuna ukunikeza inkulumo, thola eyodwa kwi-faculty, noma ufake ibhulogi yakho bese ubhala okufunayo, kodwa ukuza lapha ukuzolungisa ifulethi libe u-Alf omuhle akukuhle neze .

      1.    UFernando Rojas kusho

        Iqiniso labonakala kimi njengamazwana athakazelisa kakhulu. Okungaphezulu kokuthunyelwe

  5.   ngobe kusho

    ngiyabonga kakhulu.

  6.   Ukubola87 kusho

    i-athikili enhle kakhulu ngiyabonga

  7.   Alf kusho

    msx
    «Igama elithi" inqubo ye-Zombie "alifanelekile ngokwezobuchwepheshe futhi labo bethu abanolwazi oluncane ku-GNU / Linux kufanele bakugweme ukulisebenzisa»

    Kuzofanele sazise abathuthukisi, ngoba njengoba uzobona, igama elithi zombie liyasetshenziswa, lapho ngilifunde kukhonsoli.

    Phendula ngokucaphuna

  8.   I-Citux kusho

    Siyakuhalalisela, sihloko esihle kakhulu, bengilokhu nginokungabaza ukuthi bangama-PZs kodwa bengingakaze ngibe nesikhathi sokuphenya, manje ngiya ekhasini bese ngithola impendulo ngiyabonga …….

  9.   truko22 kusho

    Ku-KDE ngokulawula + imisebenzi yokuphunyuka kohlelo kuphuma futhi singazibulala lezo zombies ngokushesha.

  10.   Imvula kusho

    Ukulungiswa, yi-ZOMBIE hhayi inqubo ye-ZOMBIE
    UZombie useNgilandi
    UZombi ngeSpanish

  11.   U-Elynx kusho

    Okunethezeka, ngiyabonga!.

  12.   Roberto kusho

    Okokuqala, inqubo yenqubo ye-zombie ibonakala ilungile ngokuphelele. Futhi leli gama libaluleke kakhulu.
    Iqiniso ukuthi njengoba i-msx ikhombisa, ne-wikipedia efanayo (ngifunde i-athikili) inqubo ye-zombie ifile ngempela.
    «Uma inqubo iphela, yonke inkumbulo nezinsizakusebenza zayo ezihambisana nayo ziyakhonjiswa, ukuze zisetshenziswe ngezinye izinqubo. Noma kunjalo, inqubo yokungena etafuleni lenqubo isahleli »
    Lokho wukuthi, inqubo ayisathathi izinsiza zohlelo, ngakho-ke umthwalo kuhlelo lincane, njengoba kuchaziwe yi-msx.
    Kodwa-ke, ukuphela kwento enayo ukungena okungavumelekile kuthebula lenqubo ... okuthi, uma kunezinkulungwane zazo, mhlawumbe kube umthwalo (ngemuva kwakho konke, iprosesa kufanele lifunde itafula lenqubo futhi lizofunda imininingwane eminingi engenamsebenzi) ngaphezu kokukhombisa imikhuba emibi yezinhlelo (othile wenza izinhlelo ezenziwe kabi).
    Kepha kukodwa incazelo yokuthunyelwe ayilungile kangako futhi eyiyo kungaba yiyo enikezwa yi-msx.