Hello Fellows,
Servers Geeks and Experts..
Recently, I have put a website on production..
The server running that website built with:
- CentOS 5.4 (32)
- Apache 2.2.3
- PHP PHP 5.1.6 (cli), Zend Engine v2.1.0
- MySQL 5.0.77
The main application, or let's name it the website platform has the Rewrite, and gzip accelerator option..
I'm concerned about this Rewrite Engine, as well as gzip accelerator whether to enable them or not?
My Question is, would usually Rewrite Engine or gzip cause High Load, or High Memory Consumption?
I can't judge now, since the server isn't loaded enough to judge..
But, the initial results aren't so free of worry, And very soon this server will be hard-rocking loads..
Code:
# free -m
total used free shared buffers cached
Mem: 512 333 178 0 0 0
-/+ buffers/cache: 333 178
Swap: 0 0 0
Code:
# ps -A | grep httpd | wc -l
13
<< Sometime it snaps to 30 and 40
Code:
# top (sorted by SHIFT + M)
7251 mysql 15 0 155m 44m 5072 S 0.0 8.7 4:35.35 mysqld
15502 apache 15 0 42648 17m 3532 S 0.0 3.5 0:02.31 httpd
17851 apache 15 0 42028 17m 3540 S 0.0 3.4 0:04.35 httpd
15615 root 18 0 34292 13m 6920 S 0.0 2.6 0:01.98 httpd
24541 apache 15 0 35912 11m 3144 S 0.0 2.2 0:00.90 httpd
27852 apache 15 0 35912 11m 3088 S 0.0 2.2 0:01.37 httpd
7371 apache 15 0 35912 11m 3084 S 0.0 2.2 0:00.60 httpd
7384 apache 15 0 35912 11m 3084 S 0.0 2.2 0:00.80 httpd
24505 apache 15 0 35912 11m 3084 S 0.0 2.2 0:00.95 httpd
14280 apache 15 0 35912 11m 3080 S 0.0 2.2 0:00.19 httpd
24201 apache 15 0 35912 11m 3072 S 0.0 2.2 0:00.25 httpd
25725 apache 18 0 34424 7188 592 S 0.0 1.4 0:00.00 httpd
25731 apache 15 0 34424 7188 592 S 0.0 1.4 0:00.00 httpd
25732 apache 15 0 34424 7188 592 S 0.0 1.4 0:00.00 httpd
Please, ask for any more details.. and I'll bring it on..
Let's roll the discussionss.. :-)
and Thanks in advance..