LxCenter HyperVM & Kloxo Support

Forum



Members   Search      Help    Register    Login    Home
Home » LxCenter » GNU/Linux Help » limit resource usage when backing up the database
limit resource usage when backing up the database [message #77128] Tue, 05 October 2010 18:03 Go to next message
mr-cracker is currently offline mr-cracker  Iraq
Messages: 46
Registered: August 2008
Member
hi all, i use this command to back up my db
mysqldump --opt -Q -u dbusername -p databasename > backupname.sql
however it consumes all my server ram and my website does not open while its backing up. my database is big and it take like 5 mins or more to complete,

my question is how can i limit ram usage (say 300MB only) for backing up, is that possible?? i don't care if it takes long time to complete, i just don't want my website to go down.

regards
Re: limit resource usage when backing up the database [message #77132 is a reply to message #77128] Tue, 05 October 2010 19:32 Go to previous messageGo to next message
Walter  Brazil
Messages: 865
Registered: February 2009
Location: Florianopolis / BR
Senior Master
Forum Moderator
LxCenter Project Manager

Google is your friend.

http://blog.darkscape.net/2009/12/mysqldump-consumes-all-ava ilable-memory/
Re: limit resource usage when backing up the database [message #77141 is a reply to message #77132] Wed, 06 October 2010 14:09 Go to previous messageGo to next message
mr-cracker is currently offline mr-cracker  Iraq
Messages: 46
Registered: August 2008
Member
great, thanks
Re: limit resource usage when backing up the database [message #80535 is a reply to message #77128] Sun, 06 March 2011 06:33 Go to previous message
Luzifull33 is currently offline Luzifull33  Thailand
Messages: 2
Registered: March 2011
Location: TH
Member
yess Ok Thankss!

__________________


Thinking patterns of service บาคาร่าออนไลน์, whether it will not affect how well it without advertising. บาคาร่าออนไลน์ as recognized by the people.

[Updated on: Sun, 06 March 2011 06:34]

Report message to a moderator

Previous Topic:Slackware12.1 rebuild the xen
Next Topic:NEED HELP, using kernel-PAE or 64-bit centos with kloxo?
Goto Forum:
  


Current Time: Sun May 19 22:32:25 EDT 2013

Total time taken to generate the page: 0.01140 seconds
.:: Contact :: Home :: Privacy ::.

Click here to lend your support to: LxCenter and make a donation at www.pledgie.com !

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software