Apache using 100% CPU, locking up, etc
Created by: kenrestivo
Just leaving this here as a catch-all. I'd be happy to attempt to gather more data on this. I'm seeing Apache becoming unresponsive, and MySQL crashing, under normal, very light usage on a 2GB RAM VPS. I understand that the stated design goal for Hubzilla is that it could be run on simple, cheap shared hosting. It is failing regularly on a Xen virtualized VPS.
With a 1.0 release near, I'd suggest at least attempting to address these kinds of reliability/performance problems. They might be easy to fix, or they might be symptoms of a design/architecture flaw that can't be fixed without a major rewrite, or they might reqre changing the install requirements to require a more high-powered server/VPS, more RAM, more CPU cores, etc. which can be documented (or even automatically checked at install time) before release.
Related: https://github.com/redmatrix/hubzilla/issues/178
@habeascodice 's comment there seems like it should get much more attention:
The poller reads outq while the importer is trying to write it, that causes a race condition which causes everything to block on each other, hence the OOM. Similar situation for the directory updates.