Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
AlexJ Posted April 21, 2011 Posted April 21, 2011 Using php 5.3.5 and xcache 1.3.0 and Ioncube for Nexus. http://community.invisionpower.com/gallery/image/6496-xcache/ Can someone please help me to minimize OOM's. I didn't got this many OOM's with PHP 5.2.x but with 5.3.x it's worse. My settings:[xcache-common] zend_extension = /usr/lib/php5/20090626/xcache.so [xcache.admin] xcache.admin.enable_auth = On [xcache] xcache.shm_scheme = "mmap" xcache.size = 192M xcache.count = 8 xcache.slots = 8K xcache.ttl = 3200 xcache.gc_interval = 21600 xcache.var_size = 64M xcache.var_count = 8 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.coredump_directory = "" xcache.cacher = On xcache.stat = On xcache.optimizer = Off [xcache.coverager] xcache.coverager = Off xcache.coveragedump_directory = ""
AlexJ Posted April 22, 2011 Author Posted April 22, 2011 Anyone around using xcache and willing to offer some help?
-GR- Posted June 5, 2011 Posted June 5, 2011 Lower your xcache.ttl to something lower, maybe like 5 minutes. I don't know how big your site is. I would also lower the xcache.gc_interval also.
Rhett Posted June 5, 2011 Posted June 5, 2011 you need to allocate more memory for xcache..... We really need more information about your server and setup though... for example how much ram do you have?
Rhett Posted June 5, 2011 Posted June 5, 2011 For example here is one setup on a dedicated server with 8gb ram... there is approx 15 decent size forums on this server. ; Exactservers added config for xcache start; [xcache] xcache.shm_scheme = "mmap" xcache.size = 512M xcache.count = 4 xcache.slots = 8K xcache.ttl = 7200 xcache.gc_interval = 7200 xcache.var_size = 24M xcache.var_count = 2 xcache.var_slots = 8K xcache.var_ttl = 300 xcache.var_maxttl = 0 xcache.var_gc_interval = 300 xcache.readonly_protection = Off xcache.mmap_path = "/dev/zero" xcache.cacher = On xcache.stat = On xcache.optimizer = On ; Exactservers added config for xcache end;
Recommended Posts
Archived
This topic is now archived and is closed to further replies.