On my server there are many virtual hosts and databases. I have a backup sh cron to create backup of the files every day at 4AM. From 4AM to 5AM, while backup is made, Apache fully becomes unreachable, it only gives timeout and 500 error. I'm using gzip to backup each virtual host. Gzip is eating only 50-100% of the CPU (the process in top, having a quad core CPU).
I have DreamHost VPS hosting, the server is Apache. When I load my web-site in the browser, and inspect the HTTP reqests/responses in my browser's dev tools, I can see that my browser sends
Accept-Encoding gzip, deflate
in all HTTP requests it makes (for all file types).
Here is my current server scenario.
I'm running on a Rackspace Cloud instance (16GB of RAM), using cPanel/WHM on a CentOS 5.5 install.
I'm currently running about 10 Magento sites, all varying in size (from medium size to small)
Over time I noticed the speed of the sites slowing down.
I am running Ubuntu, and an Apache server.
I wanted to try out nodejs, and I wanted to run it through a virtualhost on Apache.
I read this article and tried to follow the instructions:
http://thatextramile.be/blog/2012/01/hosting-a-node-js-site-through-apache
I set everything up, but Apache was throwing 500 errors, which seems to be something like this situation:
setting up a basic mod_proxy virt
With Apache (2.2 and later) how can I achieve the following.
I've got a cronjob that is basically nothing more than mysqldump whatever | gzip > backup.sql.gz. The database is fairly big.
Im using Apache and I have enabled zip compression to all my virtual host domain. However, I want to disable the gzip compression on one particular virtual host only. I try this method.
All separated virtual host file i.e.
How can gzip be turned off for a particular location and all its sub-directories? My main site is at http://mydomain.com and I want to turn gzip off for both http://mydomain.com/foo and http://mydomain.com/foo/bar.
I tried turning off gzip as shown below, but the Response Headers in Chrome's dev tools shows that Content-Encoding:gzip.
I am porting a PHP site from an Apache server too a NGINX server. First I will get rid of apache to avoid any problems:
# service httpd stop
# yum erase httpd*
Now I am going to install php-fpm so I can extend php functions through NGINX:
# yum install php-fpm
Let's make sure php-fpm is running under the right user:
# ps aux | grep apache
apache 1658 0.0 0.5 222552 5316 ?