So I think I have it licked – if you’ve tried to go to this site and just get “Error establishing a database connection”, it’s likely due to memory exhaustion:
The likely culprit: /etc/apache2/mods-enabled/mpm_prefork.conf
And the log that let me catch it in the act:
[23743.574941] Out of memory: Kill process 857 (mysqld) score 45 or sacrifice child
[23743.575134] Killed process 857 (mysqld) total-vm:910236kB, anon-rss:21764kB, file-rss:0kB
[23747.982892] init: mysql main process (857) killed by KILL signal
[23747.982923] init: mysql main process ended, respawning
[23748.272600] init: mysql main process (6431) terminated with status 1
[23748.272617] init: mysql main process ended, respawning
[23749.210945] init: mysql post-start process (6432) terminated with status 1
[23749.364629] init: mysql main process (6467) terminated with status 1
[23749.364683] init: mysql respawning too fast, stopped
While I try to figure out how to get fastcgi and php-fpm going (I’m not in that “go rewrite config files” state of mind right now) I just turned down MaxRequestWorkers to prevent ram-sucking jams.
Speaking of things jamming…. I’m trading in my Harris Z16 for an orange tree soon. Yes, THIS GUY. I have yet to ever send this SSTV slide to anyone though. You know, sometimes life throws you orange playground balls. I really love radio and electronics but this thing will never, ever, send me alarms at 4 AM, and that makes me a lot happier.