xjamesb
Forum Replies Created
-
Forum: Plugins
In reply to: [BuddyPress Docs] BuddyPress Docs adds 3.5 seconds to siteload timeLittlebloke,
On my installation Newrelic also reports that
* SELECT option_value FROM wp_options
is a high frequency and time consuming query. I am not able to determine if this is due to BuddyPress Docs. However, with my limited knowledge of WordPress I thought it was odd.
Forum: Plugins
In reply to: [BuddyPress Docs] BuddyPress Docs adds 3.5 seconds to siteload timeThank Gorges,
Now you have confirmed the bug I have disabled BuddyPress Docs and await your new release. System performance has returned to normal.
The whole AJAX thing is very difficult to debug and diagnose. I am new to WordPress development but I understand that the normal process is to use tools such as Debug Bar and Query Monitor to look at single pages as they execute. This probably won’t show up AJAX issues.
P3 is better because it does a larger sample. Newrelic is great because it does a very large sample and full stack traces but it is $200 per month per server which is beyond the means of most developers.
* Are you aware of any other tools that are cheaper than Newrelic that we could have used to detect and then diagnose this issue with a stack trace?
Forum: Plugins
In reply to: [BuddyPress Docs] BuddyPress Docs adds 3.5 seconds to siteload timeDear Gorges,
I have morning looking at traces. The tool gives a sample of long running transactions.
One that keeps coming up is
/wp-admin/admin-ajax.php
and in each case there is the call to BP_Docs_Attachments::check_is_protected.
Here is a typical trace. There is no reason that this should be being called at all. I am just browsing the website and creating posts.
If you would like a login to my systems please send me your email address (james (at symbol) elephantpm.com and I will give you a login.
Thank you for your help. James
https://dl.dropboxusercontent.com/u/34047309/buddypress-docs-trace.jpg
Forum: Plugins
In reply to: [BuddyPress Docs] BuddyPress Docs adds 3.5 seconds to siteload timeThank you Gorges,
I have spent the evening learning how to use the monitoring. I will do some real testing tomorrow. I will then try to answer your questions.
My set up
* Bitnami AMI on Amazon small instance running WordPress Multisite
* UbuntuForum: Plugins
In reply to: [BuddyPress Docs] BuddyPress Docs adds 3.5 seconds to siteload timeI have a very simple site with only one or two test docs and 5 categories.
I have been tuning the site with W3TC cache and Amazon CloudFront and performance is significantly better. It may be that P3 is not reporting the real world situation.
I have installed Newrelic and got a stack trace. This shows that BP_Docs_Attachments::check_is_protected takes 3s to return because it makes a test request.
* please confirm that check_is_protected only runs in the admin panel and not on every call
If that is the case then it might be that P3 is triggering that call somehow and the reported delay is a test artifact.
* what are your thoughts?
Thanks Andrew, I will look forward to that.
Forum: Networking WordPress
In reply to: How do I install two buddypress networks on one server?I have written detailed instructions here.
https://blog.jamesbayley.com/2014/04/04/creating-a-wordpress-farm-on-a-bitnami-server/
In summary,
* single Apache
* multiple virtual hosts
* one WordPress Multisite install per host
* WordPress Multisite has to installed manually because I don’t have a script for it.Forum: Plugins
In reply to: [Advanced Editor Tools] How do I make TinyMCE Advanced work full screen?I have just noticed that the acronym DFW can be read “Doesn’t Format Well” which is perhaps just as accurate as “distraction free writing”.
I will try to hack it myself (and feed you back the code) can you give me some hints?
thanks,
JamesForum: Networking WordPress
In reply to: How do I install two buddypress networks on one server?Thank you Mika,
I have read the documentation on this plugin and although it is very good it is a bit too scary for me at the moment. It seemed to break due to point releases of BuddyPress and BuddyPress 2.0 is due out on April 16th 2014.
The author points out that there are several open issues about cross-network authentication. For security I need absolutely
clarity in this area.My technical ability is too low at the moment to maintain this plugin so I think that I will wait until either I am better or the plugin moves into BuddyPress core (if ever).
Forum: Fixing WordPress
In reply to: "Welcome User Email" does not contain passwordThe fix will appear in BP 2.0, which is currently scheduled for April 16, 2014.
Forum: Fixing WordPress
In reply to: "Welcome User Email" does not contain passwordThis bug has been confirmed and fixed. The patch is available from the Trac ticket above.
Forum: Fixing WordPress
In reply to: "Welcome User Email" does not contain passwordI will follow the progress of Trac ticket and leave this thread as unresolved for now.
thanks,
JamesForum: Plugins
In reply to: [BuddyPress Docs] How do I secure my BuddyPress Docs attachment directory?Resolved
Forum: Plugins
In reply to: [BuddyPress Docs] How do I secure my BuddyPress Docs attachment directory?That fix worked.
The Bitnami distribution comes with
AllowOverride None
* Have they made a mistake (in which case I will tell them) or might there be a good reason for this setting?
James