Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6736331
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T11:07:02+00:00 2026-05-26T11:07:02+00:00

I have a problem. I run an open source game software on one of

  • 0

I have a problem. I run an open source game software on one of my servers (eAthena) and they use MySQL as their preferred database. However, every time I run mysqldump

mysqldump -u backup -p*** eathena > test-backup.sql

it ends up hanging the server. The eAthena software hangs, and ends up shutting down once it’s complete. Is this a size problem? Seeing as how the database is 4.7gb, I’m not sure what to blame. Is there some type of alternative my mysqldump?

I’m running CentOS 6 64bit, MySQL version 5.1.52.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T11:07:03+00:00Added an answer on May 26, 2026 at 11:07 am

    it seems that your mysql installation is running out of memory. Check /etc/my.cnf or /etc/mysql/my.cnf (or wherever it is on CentOS).

    increase the table_cache and key_buffer_size . See the examples of confs that comes with the mysql installation: my-huge.cnf’,my-large.cnf’, my-medium.cnf’, andmy-small.cnf’. Compare your confs with this:

    [mysqld]
    # Reduced to 200 as memory will not be enough for 500 connections.
    # memory=key_buffer+sort_buffer_size+read_buffer_size)*max_connections
    # which is now: 64 + (1 + 1) * 200 = 464 MB
    # max_connections = approx. MaxClients setting in httpd.conf file
    # Default set to 100.
    max_connections = 100
    max_allowed_packet = 1M
    max_connect_errors = 10
    key_buffer = 512M # 128M for 1GB, 256M for 2GB, 512 for 4GB
    join_buffer_size = 4M # 1M for 1GB, 2M for 2GB, 4M for 4GB
    read_buffer_size = 4M # 1M for 1GB, 2M for 2GB, 4M for 4GB
    sort_buffer_size = 2M # 1M for 1GB, 2M for 2GB, 4M for 4GB
    # myisam_sort_buffer_size used for ALTER, OPTIMIZE, REPAIR TABLE commands.
    myisam_sort_buffer_size = 32M
    # Checked opened tables and adjusted accordingly after running for a while.
    table_cache = 1024
    # thread_concurrency = 2 * (no. of CPU)
    thread_concurrency=4
    thread_cache_size = 286
    # log slow queries is a must. Many queries that take more than 2 seconds.
    # If so, then your tables need enhancement.
    log_slow_queries=/var/log/mysqld.slow.log
    long_query_time=2
    # Reduced wait_timeout to prevent idle clients holding connections.
    wait_timeout = 10
    connect_timeout = 10
    interactive_timeout = 10
    # Enable it for vast improvement and it may be all you need to tweak.
    query_cache_limit = 1M
    query_cache_size = 128M
    query_cache_type = 1
    [mysqld_safe]
    open_files_limit = 8192
    [mysqldump]
    quick
    max_allowed_packet = 16M
    [myisamchk]
    key_buffer = 256M # 64M for 1GB, 128M for 2GB, 256 for 4GB
    sort_buffer = 256M # 64M for 1GB, 128M for 2GB, 256 for 4GB
    read_buffer = 64M # 16M for 1GB, 32M for 2GB, 64M for 4GB
    write_buffer = 64M # 16M for 1GB, 32M for 2GB, 64M for 4GB
    [mysqlhotcopy]
    interactive-timeout
    

    don’t forget to restart mysql server before try again

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have written some code that makes use of an open source library to
I have a problem: if i run this test in NUnit ,it works Board
I have problem with Timeout, when I run a command through app, a timeout
I have problem with fancybox. I want to write a function that will run
NOTE: I have solved the majority of this problem but have run into a
I have a problem with apache2 settings (Ubuntu system). I would like to run
The problem: we have jobs that run from a few seconds to a few
I have an odd problem in VS2008 running unit tests. When I run the
I have a little problem with a simple vbScript. The script has to run
I have run into this problem before but never quite solved it. I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.