VM: killing process X

Aggelos Economopoulos aoiko at cc.ece.ntua.gr
Wed Jun 2 20:01:11 EEST 2004


On Saturday 29 May 2004 00:21, V13 wrote:
> On Friday 28 May 2004 23:38, ricudis at itc.auth.gr wrote:
[...]
> > Bebaia h malloc() den einai o monos tropos na desmeyseis mnhmh. Thn
> > malloc() thn elegxeis. Den yparxei omes kanenas tropos na elegkseis an to
> > epomeno function call poy 8a kaneis 8a apotyxei epeidh den yparxei xwros
> > gia akoma ena stack frame. Fysika kai s'ayth thn periptwsh 8a fas
> > sigsegv.
>
> Ypotheto pos sxetika eykola mporeis na exei desmeymeni X KB o kernel oste
> na min yparxei periptosi na yparksei ayto to problima (afaik ayto to kanei
> idi, alios pos tha doylevan oi drivers kai o idios o oom killer?).

Dhladh gia poia timh tou X den uparxei periptwsh na upar3ei auto to 
problhma? ;-)

Gia userspace efarmoges, to SIGSEGV einai mia polu wraia lush. Gia ton phruna, 
to stack einai fixed-size, opote oi drivers kai o oom killer douleuoun me ton 
e3hs tropo:

"I beg thee, o $deity, let there be no call path that will overflow the stack 
of thy humble servant!"

[...]
> pragmati... kato apo k.s. ena 'killall mozilla-bin' prepei na einai mia
> xara gia oom killer. Dedomenoy toy oti skeytontai na afisoyn ayti ti
> doyleia se userspace programmata problepo pos tha doyme ricafr-oom-killer
> soon...

Kala twra, an eixe ulopoih8ei to ena dekato apo auta pou skeftetai o kosmos 
sthn lkml 8a to eixame gurisei oloi se GNU/Hurd gia na douleuoume se ena 
sxetika "logiko" OS.

Aggelos




More information about the Linux-greek-users mailing list