Jump to content

xcache settings


Recommended Posts

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 = ""

Link to comment
Share on other sites

  • 1 month later...

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;










Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...