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="Sledmore" data-source="post: 467075" data-attributes="member: 591"><p>Like the others, I think it could be the cron.</p><p></p><p>By connections do you mean threads? For MySQL active connections come up under 'Threads connected' rather than 'Connections', it might be worth monitoring the active threads, you can view these by running the processlist query.</p><p></p><p>[CODE=sql]SHOW PROCESSLIST;[/CODE]</p><p></p><p>It'd be worth running this when/if you experience this again. We recently had an issue w/ an e-learning site where for some unknown reason WooCommerce had started to run an alter query, but due to how long it took and timeouts it tried again, and again, and again and so on, thus bringing the site down - which I believe was trigged by the cron.</p></blockquote><p></p>
[QUOTE="Sledmore, post: 467075, member: 591"] Like the others, I think it could be the cron. By connections do you mean threads? For MySQL active connections come up under 'Threads connected' rather than 'Connections', it might be worth monitoring the active threads, you can view these by running the processlist query. [CODE=sql]SHOW PROCESSLIST;[/CODE] It'd be worth running this when/if you experience this again. We recently had an issue w/ an e-learning site where for some unknown reason WooCommerce had started to run an alter query, but due to how long it took and timeouts it tried again, and again, and again and so on, thus bringing the site down - which I believe was trigged by the cron. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Software Development
Programming
Programming Q&A
What is causing these insane database connection spikes?
Top