Ok really need someone to help me out here
i'm running CentOS on a VPS with Plesk installed
I launched a new website which gets a couple of hundred visits a day (nothing crazy) but have been plagued with performance problems.
The VPS has 768MB of RAM and has been hitting 90% of this pretty quickly.
The site runs on wordpress under fast-cgi and apc is installed and working correctly.
I'm seeing lots of "Premature end of script headers:" and "Software caused connection abort: mod_fcgid: ap_pass_brigade failed in handle_request function" errors in the error logs which I think manifest as 500 errors on the frontend.
I'd love if someone could give me some tips on linux memory management:
1.) I've currently set php memory to use 512MB of memory and increased max execution and input times to 1600 seconds. 2.) APC is set to use 48M memory 3.) I'm not sure what memory allocation fast cgi has
- should I increase apc memory?
- is there a way of controlling what memory fast cgi can access or will it just use the 512 defined in php.ini?
- I've heard there are problems using fast cgi and apc - would this be causing my performance problems?
Any pointers greatly appreciated.