Login to download the latest version of Mint and your favorite Pepper, purchase additional licenses, or post in the Forum. Don't have an account? Create one!

In Partnership with Media Temple

Mint Forum

Could Mint be responsible for slow site on (mt)?

bmck
Minted
Posted on Jun 20, '09 at 09:28 am

My site at bioneural.net (WordPress) has been horrendously slow. I have Mint and WordPress in separate databases. My host (mt) suggested I move my SQL databases into their GridContainer and use the tools therein to try and root out the cause of slowness and then optimize my installation. I ran the Query Analyzer which detects all queries taking > 1 sec and if found two, both of which seem to concern Mint:

1 Query

Total time: 3, Average time: 3

Taking 3 seconds to complete

Rows analyzed 27839

use dbXXX_mint; SELECT resource , resource_title , resource_checksum , COUNT(resource_checksum) AS total FROM mint_visit
WHERE XXX=XXX AND resource NOT LIKE ‘XXX’ GROUP BY resource_checksum ORDER BY total DESC LIMIT XXX;

use db32398_mint; SELECT resource , resource_title , resource_checksum , COUNT(resource_checksum) AS total FROM mint_visit
WHERE 1=1 AND resource NOT LIKE ‘http://bioneural.net/’ GROUP BY resource_checksum ORDER BY total DESC LIMIT 6;

1 Query

Total time: 3, Average time: 3

Taking 3 seconds to complete

Rows analyzed 27839

SELECT resource , resource_title , resource_checksum , COUNT(resource_checksum) AS total FROM mint_visit
WHERE XXX=XXX AND resource NOT LIKE ‘XXX’ GROUP BY resource_checksum ORDER BY total DESC LIMIT XXX;

SELECT resource , resource_title , resource_checksum , COUNT(resource_checksum) AS total FROM mint_visit
WHERE 1=1 AND resource NOT LIKE ‘http://bioneural.net/’ GROUP BY resource_checksum ORDER BY total DESC LIMIT 6;

I really have no idea what to make of this. Are (mt) therefore suggesting that I can’t run Mint if I want decide site performance on their (gs) product? Any advice much appreciated.

Cheers, Bruce

Till
Third-Party Pepper Developer
Posted on Jun 20, '09 at 09:40 am

The queries you analyzed are only fire when you’re viewing Mint, not when Mint stores a user request.

Rename your /mint/ folder to /mint2/ and check if you’re site loads faster.

bmck
Minted
Posted on Jun 20, '09 at 03:30 pm

Did that thanks Till; one page it seems lightening fast, next page I give up after staring at the loading spinner… mostly ‘tho I think it’s faster, as when I change back to mint/ it seems more consistently worse!

What might that mean?

Incidentally (mt) also advised me to disable SuperCache, which I did, since they said ‘the storage segment for the cluster is not local to the web server, these plugins do not decrease latency, but generate GPU and seek time overhead’

Shaun Inman
Mint/Pepper Developer
Posted on Jun 21, '09 at 04:20 pm

Till’s assessments are correct. Those queries only run when you view Mint and even then only when viewing a specific tab.

Your server just seems to be generally slow at responding to requests—for both static elements (like images and JavaScript) and dynamically generated ones (like Wordpress and Mint).

bmck
Minted
Posted on Jun 21, '09 at 04:50 pm

Thanks Shaun for the confirmation it’s not Mint-related. To put that to the test I accessed Mint quite a bit then re-ran the slow query; 279 taking longer than 1 sec, most of which reflected my accessing Mint, the rest I think relate to commenting (which is infrequent enough on my site to be disregarded as a cause of general slowness).

So it does seem the problem lies with the (mt) Grid-Server architecture; I’m looking at migrating to A Small Orange. Hmm… orange and mint offends my sense of colour coordination, but I trust they’ll make a fine team ;-)

You must be logged in to reply. Login above or create an account