|
|||
|
Hi all,
Firstly this is quite hard to test so I might be wrong about where the problems are but here goes. It appears that Zend_Cache File fails under high save()+load() loads. If you are only reading from the file you never experience any problems.. If you are reading and you are calling save() from different applications its possibly to get the following to happen -- Code:
2007-08-22T21:58:36+00:00 WARN (4): Zend_Cache_Backend_File::_remove() : we can't remove /tmp/zend_cache---Conf_common---1188424503 => we are going to try to invalidate it 2007-08-22T21:58:36+00:00 WARN (4): Zend_Cache_Core::save() / write_control : written and read data do not match 2007-08-22T21:58:36+00:00 WARN (4): Zend_Cache_Backend_File::_remove() : we can't remove /tmp/zend_cache---Conf_common---1188424503 => we are going to try to invalidate it 2007-08-22T21:58:36+00:00 WARN (4): Zend_Cache_Backend_File::_remove() : we can't remove /tmp/zend_cache---Conf_common---1188424503 => we are going to try to invalidate it 2007-08-22T21:58:36+00:00 WARN (4): Zend_Cache_Core::save() / write_control : written and read data do not match Code:
-rw-r--r-- 1 root wheel 3214 Aug 22 22:00 /tmp/zend_cache---Conf_common---1188424803 -rw-r--r-- 1 www wheel 3791 Aug 22 22:00 /tmp/zend_cache---Conf_common---1188424809 Also the whole of Zend_Cache uses flock() which doesn't handle multiple php processes - is this simply the way it is and using multiple processes can lead to corruptions, or is this something under work / worth discussing ? Thanks D |
![]() |
| Thread Tools | |
| Display Modes | |
|
|