Re: Really odd PHP problem

From: Date: Tue, 07 Sep 2004 07:50:38 +0000
Subject: Re: Really odd PHP problem
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-12626@lists.php.net to get a copy of this message
At 07:05 07/09/2004, Rasmus Lerdorf wrote:
both mmcache and apc does not have "crash recover" The concept of a crash recover is somewhat flawed in my opinion. The only way to really do this is to catch SIGSEGV, SIGBUS and other such fatal signals and twiddle a knob somewhere in shared memory that tells other processes to flush the cache. The problem with doing this is that once you get a SEGV, it really isn't safe to do anything like that. You run a very serious risk of ending up in an infinite crash loop where you catch the crash, try to set the crash-recover flag, crash trying to do that, catch the crash, etc.
Without getting into details, ZPS's crash recovery is rock solid, and doesn't result in any of the above symptoms. Zeev

« previous php.internals (#12626) next »