-
☆ A M B ☆
- 211 Posts
Hi, I began noticing since upgrading to 1.0.4 a weird behavior which I’ve been unable to pin point. All I can confirm is that it only happens on modx. Here is what happens:
Sometimes when clicking on a given page (regardless if it is cache or not) the browser keeps waiting and waiting and waiting. Most of the time for up to 20 to 25 seconds, before delivering the page.
Initially I thought this was a server issue so I began looking there but the load is fine and everything else is working fine.
I realized this was a modx issue because whenever this hangs happens (I can kinda reproduce it) I can test any page in the server outside of modx and it loads immediately, even when modx has not yet processed the modx resource. So by doing this I can rule out (I guess) the web server.
This only began happening after upgrading to 1.0.4. Traffic is about the same, not a dramatic difference from prior 1.0.4.
This is an Ubuntu VPS 10.04 running nginx, I am using suhosin and xcache.
There are no errors, I haven’t found anything weird in the logs, just the occasional slow response webpage. This issue aside, every page loads extremely fast.
Thanks in advance.
Jose R. Lopez
-
☆ A M B ☆
- 211 Posts
It happened right after posting this by clicking on my homepage which usually loads extremely fast.
This is the slow response request:
<!--
Document Parsing Data:
MySQL: 0.0435 s
164 request(s)
PHP: 20.4718 s
total: 20.5153 s
document retrieved from cache.
-->
A quick refresh on the same page after the slow response:
<!--
Document Parsing Data:
MySQL: 0.0404 s
164 request(s)
PHP: 0.2129 s
total: 0.2533 s
document retrieved from cache.
-->
This is the usual response time, actually a bit lower for most pages in the website.
This happens on any random page at any given point in time. I can’t accurately reproduce it but I see it happen often enough to kinda guess when it will happen.
Any pointer is appreciated.
Regards,
Jose R. Lopez
-
☆ A M B ☆
- 211 Posts
I just experienced the issue again, this time not on an actual page but on a weblink which forwards elsewhere.
It seems to me by my findings that this error is something in modx when processing the request (regardless of the content), I am just unsure how to troubleshoot it.
I hope someone has some insights.
Jose R. Lopez
I can confirm that often MODx Evo takes a very long time to load front end pages (15 seconds or longer).
I have fewer than 12 pages on a HostGator reseller account. I had previously run a WordPress site with 7000+ pages on the same account with no problems.