Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In my office we sometimes have servers that hit the max_connections limit. As we sometimes have scripts that take up that 1 extra 'superuser' slot for MySQLD, we'd like to raise that.

Google really hasn't turned up much on this, is there a way to raise the number of slots?

share|improve this question
How about setting max_connections reasonably high? Do the scripts realy have to have superuser rights? – matthias krull Mar 17 '11 at 18:05

You might want to investigate the following options:

  • increasing max_connections to a reasonable amount
  • timing out idle connections
  • using persistent connections
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.