Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Software Development
Programming
Programming Q&A
What is causing these insane database connection spikes?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Weasel" data-source="post: 467168" data-attributes="member: 9520"><p>No, I mean actually from your MySQL server. If you run SELECT * FROM PROCESSLIST on your database, it should give you an overview of those active connections. Under the column "host" you can see from where the connections are made (the source).</p><p></p><p>They're basically the same. One connection usually spins up 1 thread (the actual process), but that's more DBA stuff.</p><p></p><p>Are you using different users for this, or does every application connect through the same user with the database? If you use different users, it might be hitting the max_user_connections instead of the max_connections, which would explain why your other sites stay up. Another reason might be caching, if your other sites don't perform any MySQL connections, it won't go down.</p></blockquote><p></p>
[QUOTE="Weasel, post: 467168, member: 9520"] No, I mean actually from your MySQL server. If you run SELECT * FROM PROCESSLIST on your database, it should give you an overview of those active connections. Under the column "host" you can see from where the connections are made (the source). They're basically the same. One connection usually spins up 1 thread (the actual process), but that's more DBA stuff. Are you using different users for this, or does every application connect through the same user with the database? If you use different users, it might be hitting the max_user_connections instead of the max_connections, which would explain why your other sites stay up. Another reason might be caching, if your other sites don't perform any MySQL connections, it won't go down. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Software Development
Programming
Programming Q&A
What is causing these insane database connection spikes?
Top