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 3962866
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T03:08:50+00:00 2026-05-20T03:08:50+00:00

I need a help with tuning parameters in my.cnf for efficient work of my

  • 0

I need a help with tuning parameters in my.cnf for efficient work of my web-site. I’ve been reading different articles, forum entries etc. regarding this topic, however I still keep getting problems.

Depending on the value of max_user_connection I either get an error saying that it’s too low(if it’s less than 300), or my server goes down after mysql taking all the server resources(if max_user_connections if over 300).

Can someone give me advices regarding tuning my.cnf options?

On my server, I have a 1 WordPress blog with multi-site option enabled. This is a news web-site with a very large traffic. I have 6 GB of RAM on the server.
Here’s my current settings:

skip-locking
safe-show-database

myisam_sort_buffer_size=96M
interactive_timeout=50
wait_timeout=10
connect_timeout=10
max_user_connections=150
max_connections=400

max_heap_table_size = 32M
max_connect_errors=10
key_buffer=256M
join_buffer=2M
record_buffer=2M
sort_buffer=64M
max_allowed_packet=24M

query_cache_limit = 128M
query_cache_size = 512M
query_cache_type = 1
query_prealloc_size = 65K
query_alloc_block_size = 128K
read_buffer_size=1M
read_rnd_buffer_size=768K

log_slow_queries = /tmp/slow.log

tmp_table_size=128M
table_cache=4096
thread_cache=1024
thread_concurrency=8
  • 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-20T03:08:51+00:00Added an answer on May 20, 2026 at 3:08 am

    There is no magic answer to improving your MySQL server performance. You need to make a change, then restart your MySQL server and benchmark.

    Make sure your thread concurrency is set to 2x the number of cores in the server’s CPU.

    You may want to try increasing your query cache size also, if its too small then you may have a lot of cache fragmentation (which degrades performance).

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

Sidebar

Related Questions

i need some help with inserting multiple rows from different arrays into my database.
I need help in turning this linq expression into a linq statment. SampleData.Publishers and
Need help to convert code from asp control to input type to fetch file
Need help with deleting call log from multi numbers, using the following code i
Need help on this following code. the problem is it only trigger the last
need help to create regular expression matching string www.*.abc.*/somestring Here * is wild card
Need help writing a script downloads data from google insight using c# this is
need help/guide for sql select query, I have 2 table stock and stock_history, in
need help regarding USSD Gateway. I have to develop an app, which will directly
need help in error in database pivot. i have table tamed table_score like below:

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.