I'm using MediaElement to show a list of mp3-Files on a page. The Player works fine, but there is a problem after the page is loaded. Every next click produces the following error-message:

PDOException: SQLSTATE[42000] [1203] User ****** already has more than 'max_user_connections' active connections in lock_may_be_available() (line 167 of /www/htdocs/******/drupal7/includes/lock.inc).

After talking to my provider I checked the processes in phpMyAdmin and there are 20 processes sleeping. I guess, the problem is, that I have too many player instances loaded. There are 37 mp3-files, and every file has its own player.
I'm not sure, if this is a bug or a limitation.
Can anyone help me solving this problem? It's important to have all files playable on one page.



krabbe’s picture

Does anyone know if there's a general problem with having many mp3-players on one page?

Dave Reid’s picture

Category: bug » support
Status: Active » Postponed (maintainer needs more info)

Not clear that this is actually related to Media element and is a server-level issue instead.

drewish’s picture

Status: Postponed (maintainer needs more info) » Closed (duplicate)

I think this is a symptom of #1213956: Prevent Automatic Download of Files. Going to mark it as a duplicate.