Closed (fixed)
Project:
Barracuda
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
23 May 2012 at 15:37 UTC
Updated:
11 Oct 2012 at 14:01 UTC
Hey, the virtual host file of one of my sites keeps disappearing. Only when verifying the site in aegir it's accessible for a couple of minutes than i get the under construction site.
When checking:
/data/disk/CLIENT/config/server_master/nginx/vhost.d/
the vhost file just get's deleted somehow...
Comments
Comment #1
muschpusch commentedOk now i can reproduce!
i run a query on a data module table (some external table)
I get this error:
(Even when just running the above code on devel/php)
After that some magic happens and the site is offline. After some time a site verify task seems to run and the site is back
My octopus.log
My barracuda.log
.user.octopus.cnf
Comment #2
omega8cc commentedYou may want to read explanation in the changelog: http://drupalcode.org/project/barracuda.git/blob/HEAD:/CHANGELOG.txt#l67
Comment #3
omega8cc commentedAlso: http://drupalcode.org/project/barracuda.git/blob/HEAD:/aegir/tools/syste...
Comment #4
muschpusch commentedaaahh... just wanted to post this!
I got no mail and i'm the site owner. I also checked the mail.log. But more important what can i do to fix this? Why is a simple query causing a segfault?
Comment #5
muschpusch commentedHm... i restarted php-fpm but the segfault is still there. Should i upgrade to php-fpm 5.3?
Comment #6
muschpusch commentedSorry it was late yesterday. I had a good look at the links and the php bugs reports. I checked the whole platform for php files with 4096 or 8192 bytes but no results
Comment #7
omega8cc commentedI think we should make it configurable and only send e-mail alerts by default, while the aggressive mode with disabling vhost should be optional.
Comment #8
muschpusch commentedThanks for all your help! Just for others in 2.0.3 you can disable the segfault error system by renaming or deleting:
Comment #9
muschpusch commentedOk in the code i'm doing something extremely stupid:
I use a variable $query and the query object is $query. It's mean that php is punishing me for that with a segmentation fault but it's stupid too!
Comment #10
omega8cc commentedWe have disabled this aggressive mode in the BOA HEAD completely by default, so it only sends the e-mail warning when this happens. I don't think it should disable any site, as most probably it is PHP bug exposed and not really bad code in the site (which may happen, like in the #9 above, but is rare). E-mail alert sent to the server owner and Octopus instance owner should be enough.
The commit: http://drupalcode.org/project/barracuda.git/commit/afe3e83