apache speed problem

This is a discussion on apache speed problem within the Linux Web Servers forums, part of the Web Server and Related Forums category; Hi I use redhat9 with httpd-2.0.40-21.20.legacy,php-4.2.2-17.2 and mysql4 ...


Go Back   Usenet Forums > Web Server and Related Forums > Linux Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-29-2005
bastardx
 
Posts: n/a
Default apache speed problem

Hi

I use redhat9 with httpd-2.0.40-21.20.legacy,php-4.2.2-17.2 and mysql4
Lately I've compiled latest version of httpd 2.0.55 with php 4.4.0. I've
used the same configure line for php and httpd as previous version.
My redhat9 has two working version of apache in
/etc/httpd
and
/usr/local/apach2
If I start httpd-2.0.55 and open any php pages fg phpinfo.php I see
significant difference in speed.
I've tried also phpcgi with mod_fcgid and php generation time seems to work
faster but viewing pages is still slow.
Pages open line by line with 2.0.55. The same page opens in no time with
2.0.40
Any idea what is wrong?

ab -c 10 -n 10 xxx

Server Software: Apache/2.0.40
Server Hostname: xxx
Server Port: 80

Document Path: /pl/info.php
Document Length: 52225 bytes

Concurrency Level: 10
Time taken for tests: 0.167167 seconds
Complete requests: 10
Failed requests: 0
Write errors: 0
Total transferred: 524110 bytes
HTML transferred: 522250 bytes
Requests per second: 59.82 [#/sec] (mean)
Time per request: 167.167 [ms] (mean)
Time per request: 16.717 [ms] (mean, across all concurrent requests)
Transfer rate: 3056.82 [Kbytes/sec] received

Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.0 0 0
Processing: 37 87 39.4 95 137
Waiting: 6 53 34.4 49 113
Total: 37 87 39.4 95 137

Percentage of the requests served within a certain time (ms)
50% 95
66% 112
75% 130
80% 133
90% 137
95% 137
98% 137
99% 137
100% 137 (longest request)


Server Software: Apache/2.0.55
Server Hostname: xxx
Server Port: 80

Document Path: /pl/info.php
Document Length: 34882 bytes

Concurrency Level: 10
Time taken for tests: 0.78679 seconds
Complete requests: 10
Failed requests: 0
Write errors: 0
Total transferred: 350530 bytes
HTML transferred: 348820 bytes
Requests per second: 127.10 [#/sec] (mean)
Time per request: 78.679 [ms] (mean)
Time per request: 7.868 [ms] (mean, across all concurrent requests)
Transfer rate: 4346.78 [Kbytes/sec] received

Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.0 0 0
Processing: 29 49 16.8 49 76
Waiting: 28 49 17.2 48 76
Total: 29 49 16.8 49 76

Percentage of the requests served within a certain time (ms)
50% 49
66% 55
75% 62
80% 69
90% 76
95% 76
98% 76
99% 76
100% 76 (longest request)



  #2 (permalink)  
Old 11-01-2005
bastardx
 
Posts: n/a
Default Re: apache speed problem


> Pages open line by line with 2.0.55. The same page opens in no time with
> 2.0.40
> Any idea what is wrong?


I found :)
mod_deflate


 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:12 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0