OpenVZ Forum


Home » General » Support » Server crash with "dd" command
Server crash with "dd" command [message #36581] Thu, 02 July 2009 13:11 Go to next message
dvazart is currently offline  dvazart
Messages: 37
Registered: October 2008
Location: France
Member
Hi again !

doing test on my server, I make it hang (HN) running two commands like (in to a VE) :
dd if=/dev/zero of=test bs=1024 count=2000000 && time cp test /tmp/test

I was launched two times this command and my CPU reaches 100% and then it was impossible to take the control by SSH.

Its there a especial UBC parameter to restrict this ?? im trying with --ioprio but not seems to work.


Thanks.


----------- Daniel Vazart ------------
"Knowledge is power, Sharing is human"
------- http://www.vazart.net --------
Re: Server crash with "dd" command [message #36595 is a reply to message #36581] Fri, 03 July 2009 09:13 Go to previous messageGo to next message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Quote:


I was launched two times this command and my CPU reaches 100% and then it was impossible to take the control by SSH.


Probably CPU parameters were not set properly.
Re: Server crash with "dd" command [message #36596 is a reply to message #36581] Fri, 03 July 2009 09:51 Go to previous message
dvazart is currently offline  dvazart
Messages: 37
Registered: October 2008
Location: France
Member
Thanks.

Yeah, i'm testing with the options CPUUNITS, CPULIMITS and CPUS and it seems to be solved !


----------- Daniel Vazart ------------
"Knowledge is power, Sharing is human"
------- http://www.vazart.net --------
Previous Topic: Server crash
Next Topic: Weird network -> default gateway
Goto Forum:
  


Current Time: Sat Jul 20 19:19:45 GMT 2024

Total time taken to generate the page: 0.02337 seconds