Subject: MMCache segmentation faults
===8<==============Original message text=============== Hello!
I send this to [EMAIL PROTECTED] but It was returned. So I'll ask here if somebody have any idea.
You can always try to mail [EMAIL PROTECTED] .
I upgrade my php and mmcache (php 4.3.4 and mmcache 2.4.6) and I have a lot of
[Mon Nov 17 13:49:17 2003] [notice] child pid 32974 exit signal Segmentation fault (11) [Mon Nov 17 13:49:18 2003] [notice] child pid 32767 exit signal Segmentation fault (11) [Mon Nov 17 13:49:19 2003] [notice] child pid 33282 exit signal Segmentation fault (11) [Mon Nov 17 13:49:20 2003] [notice] child pid 33289 exit signal Segmentation fault (11) [Mon Nov 17 13:49:22 2003] [notice] child pid 33291 exit signal Segmentation fault (11) [Mon Nov 17 13:49:24 2003] [notice] child pid 33346 exit signal Segmentation fault (11)
messages in my apache error log.
server is FreeBSD 5.1 Release.
my php.ini
zend_extension="/usr/local/lib/php/20020429/mmcache.so" mmcache.shm_size="16" mmcache.cache_dir="/tmp/mmcache" mmcache.enable="1" mmcache.optimizer="1" mmcache.check_mtime="1" mmcache.debug="0" mmcache.filter="" mmcache.shm_max="0" mmcache.shm_ttl="0" mmcache.shm_prune_period="0" mmcache.shm_only="0" mmcache.compress="1" mmcache.keys="shm_and_disk" mmcache.sessions="shm_and_disk" mmcache.content="shm_and_disk"
I delete cache folder when I upgrade. If i remove mmcache from php.ini there's no problems. But strange is that pages load normaly.
Have you tried it with the optimizer off?
Anyway, you may want to enable debug to be able to see in the Web server error log, which scripts are actually crashing. Then you may try isolating the fault to figure what exactly is the code that make the server segfault.
--
Regards, Manuel Lemos
Free ready to use OOP components written in PHP http://www.phpclasses.org/
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php