Toso eukolos <<ios>>?

George Daflidis-Kotsis gdk at demon.net
Thu Feb 3 11:41:43 EET 2000


On Wed, Feb 02, 2000 at 08:51:01PM +0200, Antonis Tsolomitis wrote:

> Mou edeikse evas foitntns tov eksns aplo kwdika
> (pou sigoura 0a kserete osoi kataxete apo programmatismo)
> 
> #include <stdio.h>
> 
> main()
>  {
>   int n;
>  for(;;)
>  {
>   n=fork();
>  }
> }   

To idio kai me to (an 8umamai kala):

main()
{
	while(1) {
		malloc();
		fork();
	}
}

O tropos gia na kaneis to parapanw na mhn trexei apo userland einai na baleis
limits stous users ta opoia ta ka8orizei to shell (nomizw).

Des ta man limits ulimit. Epishs ta ka8orizeis kai me to /etc/limits nomizw
alla de 8umamai pou mporeis na breis plhrofories gia auto. Isws me man login.

-- 
-- George Daflidis-Kotsis -- Systems Administrator -- Demon Internet Ltd. --
--    Welcome to hell, here is your DoubleSpaced 386SX and Windows 98.    --
--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at hellug.gr
Ta archives tis listas einai sto http://lists.hellug.gr/lgu.html
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users at hellug.gr
====================================================================



More information about the Linux-greek-users mailing list