Custom Query (297 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (7 - 9 of 297)

1 2 3 4 5 6 7 8 9 10 11 12 13
Ticket Resolution Summary Owner Reporter
#11 fixed implement intelligent purging of cache moo lapo@…
Description

Correct me if I'm wrong, but right now XCache doesn't seem to purge old scripts from the cache in any way, so if the memory is not enough to cache them all it works on a "first arrived, first served" basis, and once the cache is full no other scrippt will ever be cache, while maybe there are many script in cache that are only seldom used. It would be nice to have an intelligent way to purge the cache of "unused" scripts.

Some examples that come to my mind:

  • delete all the scripts that were not used in the last X seconds (just as EA does, not very powerful IMHO)
  • sort the scripts by last use and delete the older 10%
  • use more more complex sorting logic, such as "A*last_use + B*size" with A and B two customizable numeric constants
  • call a PHP hook to let the "reaper logic" be implemented in a script itself: it could receive the cache data and free size needed and return the names or IDs of the scripts to be purged (alternatively it could be added a xcache_ function to purge a single script instead of the entire cache as xcache_clear_cache() does)
#12 fixed Apache 2.2.2 and PHP 5.1.4 support on Win32 moo rele@…
Description

Every time I try to start the Apache service with activated XCache 1.0, the httpd.pid is created normally in the logs folder, but Apache does not start at all and the created httpd.pid remains. There is nothing logged to error.log.

The net start command reports System Error 1067.

I tried both ways: zend_extension_ts and extension. They produce the same result.

As soon as I comment the extension out from php.ini, Apache can be started normally again (only a warning about the found pid file is written to error.log).

This behaviour is every time reproducable.

Best regards, René Leonhardt

#13 fixed doesn't build in current PHP5_2 moo soporte at onfocus.cl
Description

Hi:

1.0 nor current trunk builds with current PHP_5_2.

HP Api Version:         20041225
Zend Module Api No:      20050922
Zend Extension Api No:   220060519

./configure
cristian@hell:~/xcache-trunk> make
/usr/bin/m4 -D srcdir="/home/cristian/xcache-trunk" -D builddir="."  /home/cristian/xcache-trunk/processor/main.m4 > ./processor.out.tmp
AUTOCHECK INFO: runtime autocheck Disabled (optimized build)
AUTOCHECK INFO: zend_compiled_variable: processor looks good
AUTOCHECK INFO: zend_try_catch_element: processor looks good
AUTOCHECK INFO: zend_brk_cont_element: processor looks good
AUTOCHECK INFO: HashTable: processor looks good
AUTOCHECK INFO: zval: processor looks good
AUTOCHECK INFO: zend_arg_info: processor looks good
AUTOCHECK ERROR: ==== calc zend_property_info =================
AUTOCHECK expected: flags,name,name_length,h,doc_comment,doc_comment_len,ce
AUTOCHECK missing : ce
AUTOCHECK INFO: zend_class_entry: processor looks good
AUTOCHECK INFO: znode: processor looks good
AUTOCHECK INFO: zend_op: processor looks good
AUTOCHECK INFO: zend_op_array: processor looks good
AUTOCHECK INFO: xc_funcinfo_t: processor looks good
AUTOCHECK INFO: xc_classinfo_t: processor looks good
AUTOCHECK INFO: xc_entry_data_php_t: processor looks good
AUTOCHECK INFO: xc_entry_data_var_t: processor looks good
AUTOCHECK INFO: xc_entry_t: processor looks good
AUTOCHECK ERROR: ==== store zend_property_info =================
AUTOCHECK ERROR: ==== restore zend_property_info =================
AUTOCHECK ERROR: ==== dprint zend_property_info =================
AUTOCHECK ERROR: ==== dasm zend_property_info =================
AUTOCHECK ERROR: ==== asm zend_property_info =================
make: *** [processor.out] Error 1

my build enviroments meets the requeriments, PHP HEAD, 5_2 , 4_4 and several PECL extensions builds with no problem.

1 2 3 4 5 6 7 8 9 10 11 12 13
Note: See TracQuery for help on using queries.