Custom Query (267 matches)
Results (31 - 33 of 267)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #245 | duplicate | PHP with xcache crash, after restore object variable | moo | NT Man |
| description |
My example demonstrate how easy make crash PHP with xcache. <?php
class myclass {
function __construct() {
}
}
if(xcache_isset('my_obj')) {
$my_object = xcache_get('my_obj');
var_dump($my_object);
} else {
$my_object = new myclass();
xcache_set('my_obj', $my_object);
var_dump($my_object);
}
?>
|
|||
| #248 | duplicate | Memory leak with xcache with constant caching | moo | nijel |
| description |
xcache extension seems to cause memory leak under some conditions just by using opcode cache. According to some valgrind logs, it looks like the leak is happening through zend_hash_copy, which is used only in few places, but I fail to see where leak could happen. More information is available in Debian BTS: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=577009 Adding original reporter to CC. |
|||
| #252 | duplicate | Potential memory leak | moo | mxxcon |
| description |
Ubuntu server 10.04LTS, Apache 2.2.14-5ubuntu8.2, XCache 1.3.0-5ubuntu1. xcache.shm_scheme = "mmap" xcache.size = 64M xcache.count = 2 xcache.slots = 8K xcache.ttl = 0 xcache.gc_interval = 0 xcache.var_size = 0M xcache.var_count = 1 xcache.var_slots = 8K xcache.var_ttl = 0 xcache.var_maxttl = 0 xcache.var_gc_interval = 300 xcache.test = Off xcache.readonly_protection = Off xcache.mmap_path = "/dev/zero" xcache.coverager = Off After a while the server starts to use up all available memory and then all available swap and then becomes unresponsive. Tried adjusting xcache.ini settings without change in behavior. Switching XCache for APC makes the server stable again. attached in a screenshot of cacti's monitoring memory usage. toward the end of the graph is when we switched to apc. |
|||

