Hi Toni,

Toni Milovan wrote:
> I have compiled and installed apache, started in finally and now I'm
> getting "Midgard: too many connections" in apache error_log file.
> Anybody know what I have to do?

The MySQL server allows only a limited number of simultaneous
connections. When you start Apache, it creates a number of server
processes that each open it's own MySQL connection for Midgard.
Therefore you should set the max_connections option of MySQL to allow
more connections than the Apaches allows server processes. If you use
multiple Midgard databases then you should prepare for multiple database
connections for each of the Apache server processes.

You can set the max_connections option for example in the /etc/my.cnf
file using the following syntax:

[mysqld]
max_connections = 100

The default MySQL setting is 100 simultaneous connections. It should be
well enough for small servers with only one or two Midgard databases and
few other MySQL database connections.

Jukka

--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]

Reply via email to