Hi guys i just move to new server

in previous server i can running mysql backup using mysqldump with no problem

mysqldump -opt -u user -p dbname > backup.sql

but in this new server, its running not completed, stopped in the middle

the mysql size total are 2.2Gb, but its only get 650Mb

please advice what should we do, current server’s specs are bigger from the previous servers

here is current server’s specs

Core i7 860 Quad Core - SINGLE CPU QUAD CORE 2.8GHZ FSB 2.5 GT/s (8MB CACHE) w/HT
Control Panel: CPanel/WHM - Centos 5 64 Bit
RAM/Memory: 8GB DDR3
Primary Hard Drive: 1TB SATA

here is the my.cnf content, from pctipsbox.com/a-real-production-mycnf-file-for-mysql-server/ , and please advice do you think below configuration are good for above server’s specs, the server are running vbulletin big enough

[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
skip-innodb
max_connections = 500
key_buffer = 16M
myisam_sort_buffer_size = 64M
join_buffer_size = 1M
read_buffer_size = 1M
sort_buffer_size = 2M
table_cache = 1024
thread_cache_size = 64
wait_timeout = 1800
connect_timeout = 10
max_allowed_packet = 16M
max_connect_errors = 10
query_cache_limit = 1M
query_cache_size = 32M
query_cache_type = 1

[mysqld_safe]
err-log=/var/log/mysqld.log
open_files_limit = 8192

[mysqldump]
quick
max_allowed_packet = 16M

[myisamchk]
key_buffer = 64M
sort_buffer = 64M
read_buffer = 16M
write_buffer = 16M

[mysql.server]
user=mysql

What are the errors from /var/log/mysqld.log when this happens? What do you mean it stops, does it freeze, crash with errors? Gotta bring specifics.
Compare the old my.cnf to the new, I’ve had issues using the quick option before … none of my DBs were 2.2GB though.
i bet his ssh client is closing the connection due to no activity
Run your mysqldump in a screen. If you don’t have it installed yet, I think it can be installed in CentOS by doing:

yum install screen

Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

© 2013 Tag ORDA - Webmaster Lab Suffusion theme by Sayontan Sinha