Reply To: Buddy Press Memory Spikes
@djpaul thanks for join the thread. Here is a copy and paste from an email my host sent me:
The other day whilst we were on the phone I was able to view the potential issue in realtime and I could see that there were a growing number of PHP processes being spawned on the server and the RAM consumption of each process kept increasing.
I have attached a screenshot of my findings, although I do not recommend that you include this on any forum as it does include some sensitive information.
The top left section of the screenshot displays the TOP output of your server. As you can see most of the entires were from the Phoenix user, and each process was consuming between 95-259MB of RAM each. This kept growing.
The bottom left section was an Strace output from one of the PHP PID’s, which allows you to see exactly what a processes is doing. Each process referred to the same thing, which was something to do with buddypress.
The top right section displayed entires from the access log in realtime. As we discussed I believe the buddypress plugin loads content dynamically without having to refresh the page, which would explain the low activity in the access log.
The bottom right section was from the MySQL server. It displays the MySQL process-list, which was fine.
Ideally I would first try to find a buddypress developer and then provide them with that output, as it may help point them in the right direction to find out why your site consumes too much RAM.
Hopefully this may shed more light on my problems? Any help form anyone greatly appreciated.