Hi i have a script called mysql, when 10 people comes site at the same
time cpu load above 1.50, with apache 20-30 people no problem no more
then 2 at the same time. i’ve tried to install APC via whm its been
automaticlly installed but when i restart nginx every nginx process
takes 2% or %3 for 4-5 people at the same time (good sign) the problem
is after 30 second it goes white screen automaticlly so i had to
uninstall APC i dont know what to do
I see that you’re using php-cgi with APC. Do you have apc.mmap_file_mask
specified in your APC config? Secondly, is there a reason you’re not
using php-fpm instead of php-cgi?
I tried to install APC and php-fpm but no luck i couldnt find any repo
to do that i found some repo but they are fairly old and even try to
install it says no package available either apc nor php-fpm do i need to
use both apc and php-fpm in order to reduce cpu usage?
php-fpm: i tried manual installation but no luck after rpm installation
i try to start it couldnt find config file and it says you need to use
key either -a -e -i -v etc. even config file is there /etc/pfp.fpm.conf
then i uninstalled
APC: tried to install manual no luck tried to install via whm installed
but when i restart nginx page goes blank after 30second i dont know
maybe spawn fcgi caused problem. then i unstalled apc
hi guys i solve this issue with php-fpm and APC my advice is never use
spawn-fgci and use php-fpm with APC currently have 20 connection and
0.65 cpu load