Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted April 21, 201113 yr 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 = ""
June 5, 201113 yr 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.
June 5, 201113 yr 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?
June 5, 201113 yr 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;
Archived
This topic is now archived and is closed to further replies.