Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: 'max_user_connections'  (Read 2568 times)

0 Members and 1 Guest are viewing this topic.

jenniferlindgren

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
'max_user_connections'
« on: April 09, 2009, 07:14:38 pm »

hi, this is my first post. i've used the search-function and tried to find what i'm looking but found topics that couldn't help me.

my website (twilightsweden.se) has been working totally fine until yesterday when i uploaded a lot of images to the gallery. since than this text always comes up:

Coppermine critical error:
Unable to connect to database !

MySQL said: User twilightsweden_ already has more than 'max_user_connections' active connections


i'd appreciate really much if you could try helping me solve this. what should i do?

thanks!
Logged

jenniferlindgren

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: 'max_user_connections'
« Reply #1 on: April 09, 2009, 07:16:43 pm »

and a strange thing is that the site sometimes works...
Logged

Nibbler

  • Guest
Re: 'max_user_connections'
« Reply #2 on: April 09, 2009, 07:22:52 pm »

Your (presumably cheap) webhost has limited the number of connections you can have open to the database at a time. When your site gets busy you will have this error. You need to talk to them about getting the limit increased or search the board for a posted workaround involving multiple accounts which may help.
Logged

jenniferlindgren

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: 'max_user_connections'
« Reply #3 on: April 13, 2009, 09:39:37 pm »

Hey,

I'm sorry to bother you guys again.

I've been put in quite a misery position. The thing is- when I contact the supporters of my webhost they say that since my gallery is a running Coppermine Gallery- I should contact you. And when I write here I'm recommended to contact my webhost... ::)

I have had my image gallery (twilightsweden.se/galleri) temporarily shut down for about 5 days. No one is able to enter it except me. The main site works perfectly fine but when I decide to log log in to try my gallery, the "max_user_connection"-thing directly pops up (even though I'm the only one visiting it). I can admit, I'm using a very cheap webhost (one.com) but I have never had those problems before and I have always had about the same amount of in-coming trafic.

I'm starting to think that maybe there's something strange going on, a bug for example, in the Coppermine-script.

I read that when you're experiencing things similar to this, you are allowed to post the "debug info" so that you can check for errors. Maybe I should do that? :P

I hope this entry is okay! And thank you for taking your time reading it.
Logged

Nibbler

  • Guest
Re: 'max_user_connections'
« Reply #4 on: April 13, 2009, 09:44:57 pm »

The login page seems fine to me. Clear your browser cache.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: 'max_user_connections'
« Reply #5 on: April 14, 2009, 09:18:51 am »

The error message you get comes from mysql and just shows through in coppermine. It's a lame excuse of your webhost if they tell you that you should look for support here: we simply can't help you to fix issues with your database. Send them to this thread if you want, I'm ready to take it up with them. However, you usually get what you pay for, so my guess is that you're on budget webhosting or free webhosting. According to a whois lookup you appear to be hosted by one.com, but I have no idea about the webhosting plan they offer. It's quite likely that the small print of your webhosting contract contains a limitation in maximum concurrent connections, so you can't actually name this a bug, but expected behaviour. There is little advice we could give except talking to your webhost, spending a few more bucks to improve your webhosting plan or find another webhost.
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 19 queries.