Search Results for 'buddypress'
-
Search Results
-
Story:
Recently, I have time to investigate on my servers memory usage, I found that most of wordpress running site was taken about 20MB to 30MB memory, and the buddypress site is 60MB (WHAO!).
Actually, it still not yet hit the bottleneck what i seen in daily, becoz they’re not busy site, but somewhat when i try to stress it with 50 concurrent user loading on the BP site, it was unbelievable slow!
Next:
Without questioning it, there may hitting some setup issue.
1. Looking at the vmstat
It’s quite normal, without all the way high, swap is not in use. Eliminate the memory problem is not server-wide.
2. Looking at the iostat
It’s quite normal, without R/W all the time. Eliminate the I/O issue is not server-wide.
3. Looking at the MySQL CPU usage.
Stress it with 50 concurrent, monitor with “top”, mysql process still not bumped up yet.
Eliminate SQL query issue.
4. PHP itself.
Memory limit is 300MB, exec time is 180. ZendOptimizer 3.3.9 enabled
5. Apache
25 min spare server
75 max spare server
256 max client
Stress it again.. 12 httpd process, they all didn’t bumped up to 100%CPU
Why?:
It was PHP code run-time performance, once I switch the Optimizer to eAccelerator, the performance just come back at once.
WP from 20MB to 10MB
BP from 60MB to 17MB (WHAO!!!)
It’s not conclude that ZendOptimizer is suck, but eAccelerator with WP/BP is greater.
Howto:
Monitor your WP/BP memory usage:
Put this in your theme footer.php
<?php echo memory_get_usage() . “\n”; ?>
How to install eAccelerator:
I’m probably missing something really obvious here but I’ve been banging my head against this problem for an hour now, I could really use some help.
I downloaded the zip file of the trunk version at the bottom of http://trac.buddypress.org/browser/trunk.
It unpacked just like the current version – a folder named buddypress containing 12 more folders accompanied by PHP files, 2 txt files and a favicon – and I uploaded it to the wp-content/plugins folder as usual.
It’s a completely fresh install of MU, no other plugins in there and, yet, the plugins page can’t seem to see the buddypress folder, it says “No plugins to show”.
This was my first attempt at installing the trunk version, is there something about it that means it has to be installed differently? Just for the Hell of it, I also tried putting it into mu-plugins, but that didn’t help.
Any ideas?
I’ve looked around I’m prolly just blind and dumb.. But how the heck do I administer bbpress now that its installed with buddypress?
Topic: Can members have subdomains?
I had MU installed and each user had their own subdomain, now that buddypress is installed they all have directories instead. So how do i get member subdomains back? Is it even possible?
Hi buddypress community,
I’m working on my theme and now want to exclude comments from bp_has_activities, I saw the codex page but this didn’t say anything about excluding, let alone comments.
Anyone done this already or have any ideas on how to do this?
Thanks,
Mitchell