Hi,
I seem to have a really odd problem I'm not sure how it came about. I never really noticed as I mainly browse my site ad an administrator. But the the last couple days I've noticed that when using the site as any user but admin... there's a considerable delay on all pages. I have no idea why this would only occur for non-admin... Nothing in the logs suggests any problems as I can load the same page as admin in less than a second, yet if I log out (or even just remove admin from the account) it takes +4-5 seconds...
Anyone have any suggestions on what I should be looking at?
Thanks
|
Try installing profiler module that came with dolphin and check it and post back. so much to do.... |
I've installed it... but not sure where I'm to look to see the results... Nothing additional is showing ont he pages... I tested that on the demo page and nothing shows either... am I needing another step? |
ok I figured that out. Had it add this:
define ('BX_PROFILER', true); if (BX_PROFILER && !isset($GLOBALS['bx_profiler_start'])) $GLOBALS['bx_profiler_start'] = microtime ();
to the inc/header.php
Here are the results which must be slowing me down... not sure why all of a sudden the PAC for menuitems is a problem...
Modules:4 modules loadedModules Queries:7 modules queries (6.061 sec)
-
Page Access Control |
service |
Module |
serviceMenuItemsFilter |
3.02238 sec |
Page Access Control |
service |
Module |
serviceResponceProtectURL |
0.00052 sec |
Page Access Control |
service |
Module |
servicePageBlocksFilter |
0.00184 sec |
Simple Messenger |
service |
Module |
serviceGetMessengerCore |
0.00174 sec |
Payment |
service |
Module |
serviceGetCartItemCount |
0.01068 sec |
Spy |
service |
Module |
serviceGetMemberMenuBubblesData |
0.00145 sec |
Page Access Control |
service |
Module |
serviceMenuItemsFilter |
3.02206 sec |
|
Menus:4 menus (3.105 sec)
-
Member Menu |
3.0915 sec |
Main Menu |
0.01119 sec |
Service Menu |
0.00126 sec |
Bottom Menu |
0.00063 sec |
|
Pages:1 (3.112 sec)Templates Cached:22 (3.116 sec)Templates Not Cached:1 (0 sec)
-
designbox_10.html |
yes |
0.00096 sec |
page_17.html |
no |
8.0E-5 sec |
default.html |
yes |
3.11198 sec |
|
Ok... so I removed PAC... and while... I don't see the delays there... now it's just not saying where... here's a compare between Admin and User:
Time:0.16 secMemory:19.5M of 1024M allowedPHP:5.3.3-7+squeeze15SAPI:apache2handlerOS:Linux
Menus:4 menus (0.043 sec)
+
Pages:1 (0.05 sec)Templates Cached:23 (0.054 sec)Templates Not Cached:1 (0 sec)
+
Injections:8 injection (0.005 sec)
+
SQL:26 queries (0.006 sec)
+
Modules:3 modules loadedModules Queries:3 modules queries (0.015 sec)
|
Time:6.176 secMemory:18.5M of 1024M allowedPHP:5.3.3-7+squeeze15SAPI:apache2handlerOS:Linux
Menus:4 menus (0.017 sec)
+
Pages:1 (0.025 sec)Templates Cached:9 (0.027 sec)Templates Not Cached:1 (0 sec)
+
Injections:8 injection (0.005 sec)
+
SQL:24 queries (0.003 sec)
+
Modules:1 modules loadedModules Queries:1 modules queries (0.002 sec)
|
Now there's no indication where the slow down is... |
if I add PAC back in... the original slow items show back up...
Any thoughts?
|
|
Thoughts anyone? I really need to get this straightened away... |
Now that I've been watching the console, it seems EVERY request made by non-admin is taking ~3 seconds... I don't understand what could possibly be doing this...
|
Please PM me your admin login, i will check. so much to do.... |
Actually I just found the issue.
If I hav DNS Block lists enabled... it hangs all the time... I only have the default entry enabled for sbl.spamhaus.org.
Any idea why that would be bogging everything down for users?
|
I am not familiar with how the DNS blocklist works, so no idea now :(
Oh buts its good the problem is solved :D
Good Luck
Actually I just found the issue.
If I hav DNS Block lists enabled... it hangs all the time... I only have the default entry enabled for sbl.spamhaus.org.
Any idea why that would be bogging everything down for users?
so much to do.... |
DNS Blocklists are working using DNS.
Something wrong with DNS on your server, it is very overloaded and/or not have caching and/or have bad internet connection and/or something else.
Rules → http://www.boonex.com/terms |
I use google DNS and nothing else seems to indicate a network issue...
cat /etc/resolv.conf
nameserver 8.8.8.8
nameserver 4.4.4.4
options rotate
options timeout:3
|
Any reason why your using googles public DNS servers and not your service providers DNS?
Anyhow. Googles can become overloaded and they tend to be slow to update when DNS changes are done.
If you must use public DNS servers then try Level 3's
209.244.0.3 209.244.0.4 https://www.deanbassett.com |
no reason really... just I thought they'd be a little more reliable. I'll change them up and see if that makes a difference. |