Re: [uml-user] understanding child process

2017-05-08 Thread Enjoy Mindful
On Sun, Apr 30, 2017 at 10:57 AM, Lakshmipathi.G wrote: > Hi, > > When I launch single UML instance as: ./kernel64-4.3.5 > ubda="cow,./CentOS6.x-AMD64-root_fs" mem=512m umid="uml" > I see quite few child process with pstree: > > ───kernel64-4.3.5(4084)─┬─kernel64-4.3.5(4089) >│

Re: [uml-user] understanding child process

2017-05-04 Thread Lakshmipathi.G
Thanks Richard/Russell. Yes, the system went unresponsive, needed to power-off and restart it(I ran UML from sudo account). Will create normal user account with ulimits and check again fork-bomb. As you mentioned it should go away :-) -- Cheers, Lakshmipathi.G http://www.giis.co.in http:

Re: [uml-user] understanding child process

2017-05-04 Thread Richard Weinberger
Russell, Am 04.05.2017 um 23:10 schrieb Russell Lewis: > I'm going to quibble (or maybe clarify?) a bit here. Since UML is a process > inside the host kernel, it should have the same power as any other > application you run. If you > fork-bomb with an ordinary application, I'd expect that you

Re: [uml-user] understanding child process

2017-05-04 Thread Richard Weinberger
Am 04.05.2017 um 22:32 schrieb Lakshmipathi.G: > Thanks for the details. I checked it by creating 5 new process (sleep > 120 &) while running pstree from host. Nice, didn't know that we can > control(kill) UML process from host too. Well, "control". ;-) You can kill UML processes on the host side

Re: [uml-user] understanding child process

2017-05-04 Thread Lakshmipathi.G
Thanks for the details. I checked it by creating 5 new process (sleep 120 &) while running pstree from host. Nice, didn't know that we can control(kill) UML process from host too. I test ran a fork-bomb inside UML, it crashed the host. Is that expected behavior? Is there a way to prevent this? On

Re: [uml-user] understanding child process

2017-05-03 Thread Richard Weinberger
On Sun, Apr 30, 2017 at 8:46 AM, Lakshmipathi.G wrote: > Hi Russ, > > Thanks for the response. I tried with Slackware root file system with > same kernel, now it doesn't spawn as many child process. Its possibly > related to root file system i guess (may be something like getty > process?). UML c

Re: [uml-user] understanding child process

2017-04-29 Thread Lakshmipathi.G
Hi Russ, Thanks for the response. I tried with Slackware root file system with same kernel, now it doesn't spawn as many child process. Its possibly related to root file system i guess (may be something like getty process?). Cheers. On 4/30/17, Russell Lewis wrote: > I'm certainly no UML expert

[uml-user] understanding child process

2017-04-29 Thread Lakshmipathi.G
Hi, When I launch single UML instance as: ./kernel64-4.3.5 ubda="cow,./CentOS6.x-AMD64-root_fs" mem=512m umid="uml" I see quite few child process with pstree: ───kernel64-4.3.5(4084)─┬─kernel64-4.3.5(4089) │ │ ├─kernel64-4.3.5(4090) │ │ ├─kernel64-4.3.5(4091) │ │