When using search.cgi, sometimes I get this error:
DBSQL (1997): Fatal Error: Unable to connect to the SQL server. Reason: Too many connections at /usr/monografias.com/cgi-bin/search.cgi line 80
There are many connections open, since there are a lot of users logged simultaneously. Then I tried searching again and got the results o.k., but this means I'm at the limit... and it's not even the hour when connections really rise.
How can I change the limit of the sql connections?
Is this required?:
Apache::DBI->connect_on_init( etc...
Thanks.
DBSQL (1997): Fatal Error: Unable to connect to the SQL server. Reason: Too many connections at /usr/monografias.com/cgi-bin/search.cgi line 80
There are many connections open, since there are a lot of users logged simultaneously. Then I tried searching again and got the results o.k., but this means I'm at the limit... and it's not even the hour when connections really rise.
How can I change the limit of the sql connections?
Is this required?:
Apache::DBI->connect_on_init( etc...
Thanks.