Hi all,
I have an IPB3 forum running on the following hardware:
- 8 core Intel i7 2.67 GHz
- 12 GB RAM
- 2x SATA HDDs
And software:
- LiteSpeed 4.0.16 (4-cpu license)
- PHP 5.3.3
The forum online user count usually ranges from 500-1200.
I tried to use eAccelerator first, but it had some big issues (100% cpu usage sometimes, never seen the load avg so high) and had to drop it. Now I'm trying XCache and I must say I already like it MUCH better than eAccelerator.
I'm using these settings:
The problem is the cache gets filled after a few minutes and I get a lot of OOMs on the admin page. So I should increase the cache size, however I get loads of PHP out of memory errors if I set it to anything over 64M:
Here are my sysctl values:
Adding xcache.gc_interval="120" does help as seldomly accessed scripts are removed from the cache and memory is freed, however I still would like to increase my cache size.
Any clues?
Thanks
I have an IPB3 forum running on the following hardware:
- 8 core Intel i7 2.67 GHz
- 12 GB RAM
- 2x SATA HDDs
And software:
- LiteSpeed 4.0.16 (4-cpu license)
- PHP 5.3.3
The forum online user count usually ranges from 500-1200.
I tried to use eAccelerator first, but it had some big issues (100% cpu usage sometimes, never seen the load avg so high) and had to drop it. Now I'm trying XCache and I must say I already like it MUCH better than eAccelerator.
I'm using these settings:
Code:
xcache.size="64M"
xcache.count="8"
xcache.ttl="300"
xcache.var_size="8M"
xcache.var_count="8"
xcache.var_ttl="300"
xcache.stat="Off"
Code:
[STDERR] PHP Fatal error: Out of memory (allocated 14417920) (tried to allocate 32 bytes)
[STDERR] PHP Fatal error: Out of memory (allocated 13631488) (tried to allocate 83 bytes)
[STDERR] PHP Fatal error: Out of memory (allocated 13631488) (tried to allocate 3 bytes)
Code:
# sysctl -a |grep shm
kernel.shmmax = 1073741824
kernel.shmall = 262144
kernel.shmmni = 4096
vm.hugetlb_shm_group = 0
Any clues?
Thanks
Last edited by a moderator: