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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T21:32:21+00:00 2026-05-20T21:32:21+00:00

I just installed apache 2.2.3 and already had the error too many connections. I

  • 0

I just installed apache 2.2.3 and already had the error “too many connections”. I went to my.cnf to increase max_connections but its not there!

The only content in it is:

[mysqld] datadir=/var/lib/mysql socket=/var/lib/mysql/mysql.sock user=mysql
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package). old_passwords=1

# Disabling symbolic-links is recommended to prevent assorted security risks;
# to do so, uncomment this line:
# symbolic-links=0

[mysqld_safe] log-error=/var/log/mysqld.log pid-file=/var/run/mysqld/mysqld.pid

So what can I do to increase max_connections?

Where can I find it?

Thanks a lot!

  • 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-20T21:32:22+00:00Added an answer on May 20, 2026 at 9:32 pm

    If you see a “too many connections” error in Apache, then editing my.cnf will not help, because that belongs to MySQL.

    Edit /etc/apache2/apache2.conf instead.

    In a default install, you will probably have the traditional prefork mpm, so you will need to edit the MaxClients directive inside the <IfModule mpm_prefork_module> block. If you are not sure, you can edit MaxClients in the other mpm blocks too.

    Restart the server after changing config (/etc/init.d/apache2 restart).

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

Sidebar

Related Questions

I just installed the apache 2.2 http server and I get this error message
i am running a vps with apache. just installed nginx. got the address already
I just installed subclipse in Eclipse to checkout: http://svn.apache.org/viewvc/commons/proper/validator/trunk/ But this fails with the
I've just installed Apache and PHP. Apache appears to run php correctly, but it
I'm using Windows Vista, I have Apache installed already. Apache is working great, but
I just installed Apache 2.2.11 and downloaded the zip for PHP5.2.9-2 I uncommented extension=php_pdo_pgsql.dll
I have just installed CentOS, Apache and PHP. When I visit my site http://example.com/myapp/
Just installed AnkhSVN and I see the equivalent of svn up but I'd prefer
Just installed the SDK and ADK. while updating, it gives the following error: unexpected
I just installed Apache and PHP on my computer to be able to run

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.