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

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to