Ibragim Pupkevich Posted September 17, 2013 Share Posted September 17, 2013 Hi guys. Please advice optimal xcache config to run IPB on quad-core dedicated server with 8GB RAM. Share your config if you find it good enough if possible. P.S. I also heard that it's better to use memcached for variable caching. But if I set var_size=0 in xcache config I get PHP Warnings generated by IPB xcache module. Any idea how to combine xcache + memcached in IPB? Thx. Link to comment Share on other sites More sharing options...
AlexJ Posted September 18, 2013 Share Posted September 18, 2013 This is what I use since i have plenty of spare RAM. xcache.admin.enable_auth On On xcache.allocator bestfit bestfit xcache.cacher On On xcache.count 9 9 xcache.gc_interval 0 0 xcache.mmap_path /dev/zero /dev/zero xcache.readonly_protection Off Off xcache.shm_scheme mmap mmap xcache.size 320M 320M xcache.slots 8K 8K xcache.stat On On xcache.ttl 0 0 xcache.var_allocator bestfit bestfit xcache.var_count 9 9 xcache.var_gc_interval 0 0 xcache.var_maxttl 0 0 xcache.var_namespace no value no value xcache.var_namespace_mode 0 0 xcache.var_size 16M 16M xcache.var_slots 8K 8K xcache.var_ttl 0 0 Link to comment Share on other sites More sharing options...
Ibragim Pupkevich Posted September 18, 2013 Author Share Posted September 18, 2013 Thanks! What I have noticed after activating xcache - there are not so many php processes running at once comparing to "old life", but now php processes are gaining CPU load and it's even more than mysql CPU load. Have no idea whether it's good or bad. Link to comment Share on other sites More sharing options...
AlexJ Posted September 18, 2013 Share Posted September 18, 2013 Thanks! What I have noticed after activating xcache - there are not so many php processes running at once comparing to "old life", but now php processes are gaining CPU load and it's even more than mysql CPU load. Have no idea whether it's good or bad. My CPU usage is below 10% all the time and pages load much faster after adding xcache. Link to comment Share on other sites More sharing options...
Ibragim Pupkevich Posted September 19, 2013 Author Share Posted September 19, 2013 Do you use xcache 2.0 or 3.0? Tried to find compiled XCache 3.0.1 for Debin, but failed :( Link to comment Share on other sites More sharing options...
AlexJ Posted September 20, 2013 Share Posted September 20, 2013 I just use this one: http://www.dotdeb.org/ Using 3.0.3 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.