Hi there Rick,
I recompiled php to run as an fpm daemon. Got it all running using the
fpm-server and after a few hours Apache vitrualhost has crashed again. Though I
welcomed your suggestion to get me out of a fix (which sadly didn't work) it is
not a good thing if Apache can be crashed in the first place.
Restarting Apache clears the problem until it falls over again.
How do I progress this? Is there a way of taking a snapshot of Apache in its
crashed state to send to the developers?
Thanks
On Wednesday, 1 June 2016, 14:21, "Houser, Rick" <[email protected]>
wrote:
#yiv5686660150 #yiv5686660150 -- _filtered #yiv5686660150
{font-family:Helvetica;panose-1:2 11 6 4 2 2 2 2 2 4;} _filtered #yiv5686660150
{panose-1:2 4 5 3 5 4 6 3 2 4;} _filtered #yiv5686660150
{font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}#yiv5686660150
#yiv5686660150 p.yiv5686660150MsoNormal, #yiv5686660150
li.yiv5686660150MsoNormal, #yiv5686660150 div.yiv5686660150MsoNormal
{margin:0in;margin-bottom:.0001pt;font-size:12.0pt;}#yiv5686660150 a:link,
#yiv5686660150 span.yiv5686660150MsoHyperlink
{color:#0563C1;text-decoration:underline;}#yiv5686660150 a:visited,
#yiv5686660150 span.yiv5686660150MsoHyperlinkFollowed
{color:#954F72;text-decoration:underline;}#yiv5686660150
span.yiv5686660150EmailStyle17 {color:#1F497D;}#yiv5686660150
.yiv5686660150MsoChpDefault {font-size:10.0pt;} _filtered #yiv5686660150
{margin:1.0in 1.0in 1.0in 1.0in;}#yiv5686660150 div.yiv5686660150WordSection1
{}#yiv5686660150 Have you tried php-fpm? That lets you isolate the php code
from the apache process and avoid all the thread compatibility issues, memory
leaks, etc. from php, yet still run moderm mpms like worker or event. Rick
Houser Web Administration From: James Duffy
[mailto:[email protected]]
Sent: Wednesday, June 01, 2016 07:47
To: [email protected]
Subject: [users@httpd] Apache Virtualhost Crashing in OpenBSD Hi there, I
am running the latest OpenBSD v5.9 and the official Apache package has a
problem where all defined virtualhosts crash after a short period of time -
normally when the server comes under load. So I compiled the latest version
2.4.20 and this still does the same. I have changed very little of the default
config. I am running php if this makes any difference though I assume it is
still an Apache bug if php can crash it like this. Once the virtualhost has
crashed all requests default to the htdocs folder. My virtualhost config
looks like this - though as it works for a while I don't see this being a
config error as such. <VirtualHost 10.254.254.254:80>
[email protected] DocumentRoot /var/www/www_test ServerName
test.blah.net ErrorLog logs/www_test-error_log CustomLog
logs/www_test-access_log common <Directory /> Order Deny,Allow Require all
granted Deny from all Allow from 10.0.0.0/8 Allow from
193.105.253.0/24 </Directory> </VirtualHost> Any help or comments
appreciated.