Loading...
 
Skip to main content

Features / Usability


web host "too many db connections"

My site is now all wrapped up in tikiwiki as mentioned in a previous post but my webhost is now bitching about the load it is putting on the database server. This is despite having tiki in there fantastico setup page.

I’m a bit unhappy as they just locked the tiki database and caused the whole site to stop!

Copy to clipboard
Please be noted that your database was having more than the restricted number of connections at the same time whn it was disabled on the server. Please be noted that there are other legitimate customer on the server and with the server resources we need to satisfy their request too. Please have a check on your active mysql connections and make it low by closing the connections soon as a query is processed. You can also post a ticket on this open connections to the tiki developers.


As I see it I have three courses of action:

1 Reduce the load on the database I have kept the modules to a minimum and restricted the users to only the stuff I need. Most of the site does not in truth need to be in tiki but I wanted consistency, how easy would it be to only fire up the full tiki stuff once the user enters parts of the site that needs it?

2 Ditch my host and head for one more supportive of tiki. my site dished out 7300 pages on a busy day is this going to be so high that no cheap webhost will allow?

3 Move to a fork of tiki would I be better of with Bitweaver of MeteorCMS? Rember this is in regards to reducing the database load.

Sorry to ask so many questions but I seem to have driven my self into a dead end. I get the feeling that tiki is used mostly in Intranets with relatively low hit rates.

> As I see it I have three courses of action:
>
> 1 Reduce the load on the database I have kept the modules to a minimum and restricted the users to only the stuff I need. Most of the site does not in truth need to be in tiki but I wanted consistency, how easy would it be to only fire up the full tiki stuff once the user enters parts of the site that needs it?
>
> 2 Ditch my host and head for one more supportive of tiki. my site dished out 7300 pages on a busy day is this going to be so high that no cheap webhost will allow?
>
> 3 Move to a fork of tiki would I be better of with Bitweaver of MeteorCMS? Rember this is in regards to reducing the database load.
>
> Sorry to ask so many questions but I seem to have driven my self into a dead end. I get the feeling that tiki is used mostly in Intranets with relatively low hit rates.

You could fight with your hoster, especially, as he has to support tikiwiki if it's in his bundle. But I'd believe the best would be: get your money back and move to a more professional hoster.

When it comes to a split off: Bitweaver looks VERY promising. I'd take a closer look, once it has integrated more of the old TikiWiki features. Currently they are about completing the redisign --- something TikiWiki is IMHO heavily missing. TikiWiki is too much feature oriented, instead of providing a stable basis and documentation. On the other hand, the completeness of features is the biggest strength of TikiWiki.

Best regards, Bernhard


There is a rumor that tikiwiki doesn't close properly its database connection. THis is supposed to be done automatically by the adodb library ... but....it seems it is not.

Some people said to have done a special program outside tiwiki to close this connection. But nothing has been committed back.

SOmetimes you can have some indexes that are missing in your database. If you are on mysql, try the mysql slow queries feature to detect the slow queries. Try not to use the tikwiki search and the minimun of last modules to see if perf improves

sylvie


I didtched the webhist in the end, just shutting down my site DB is a no no.