Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.