You are viewing the PKP Support Forum | PKP Home Wiki

Large number of mysql connections

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.

Large number of mysql connections

Postby agentsmith » Mon Mar 11, 2013 1:54 pm


When google or other search engine harvest's our OJS site a large number of MySql connections are spawned. This harvesting of our site can really slow it down and has the potential to max out the number of DB connections causing an error.
Is there a way to limit the number of mysql connections for OJS?

Posts: 44
Joined: Fri Sep 15, 2006 4:40 pm

Re: Large number of mysql connections

Postby asmecher » Mon Mar 11, 2013 2:12 pm

Hi Jeremy,

Your best bet is to use a robots.txt file to limit the indexing activity of bots. Not all bots respect robots.txt but the major ones do. If you want to limit the number of simultaneous requests that can come into OJS, that'll be an Apache configuration issue; it's not something that can be configured from within OJS.

Alec Smecher
Public Knowledge Project Team
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Return to OJS Technical Support

Who is online

Users browsing this forum: No registered users and 2 guests