Re: Connection Slow through apache proxy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Increase StartServers, MaxClients and for optimal performance make MaxSpareThreads equal to MaxClients.
Also make sure that MaxClients = StartServers * ThreadsPerChild.

Try something like this
<IfModule mpm_worker_module>
    StartServers         10
    MaxClients          500
    MinSpareThreads      50
    MaxSpareThreads     500
    ThreadsPerChild      50
    MaxRequestsPerChild   0
</IfModule>
If you wish to increase StartServers beyond 16, you need to use the ServerLimit directive.

Tune your configuration until it suits your need.

Harsha


India Technologies Administrator wrote:
<IfModule mpm_worker_module>
    StartServers          2
    MaxClients          300
    MinSpareThreads      25
    MaxSpareThreads      75
    ThreadsPerChild      25
    MaxRequestsPerChild   0
</IfModule>


On Feb 1, 2008 10:13 AM, Sriharsha M <msriharsha@xxxxxxxxxx> wrote:
  
 I need the worker mpm configuration to identify the issue.

 Harsha



 India Technologies Administrator wrote:
 #<IfModule proxy_module>
ProxyRequests Off
#ProxyVia Block
# <Proxy *>
# Order deny,allow
# Deny from All
# Allow from localhost 127.0.0.1 192.168.0.*
# </Proxy>
#AllowCONNECT 5222 5050 995 993 465 5190 1863 6667 80 81 443 8080

#CacheEnable disk /
#CacheRoot "/usr/APACHE_FILES/CACHE/PROXY"
#</IfModule>

Since its slow, i have commented all lines to disable it temporarily.
The MPM is worker.

On 1/31/08, Sriharsha M <msriharsha@xxxxxxxxxx> wrote:


 Can you tell me the configuration you are using?

Harsha


-----Original Message-----
From: India Technologies Administrator [mailto:admin@xxxxxxxxxx]
Sent: Thu 1/31/2008 10:55 PM
To: users@xxxxxxxxxxxxxxxx
Subject:  Connection Slow through apache proxy

Hi,
i am using httpd 2.2.8 on Fedora 7. I tried to use it as a local proxy
so that i could cache content (to reduce browsing time). but the
internet slows down very much. with apache in between internet is
quite fast.

Any solution for this ?

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
 " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



***********************************************************************
The information in this message is confidential and may be legally
privileged. It is intended solely for the addressee. Access to this
message by anyone else is unauthorized. If you are not the
intended recipient, any disclosure, copying, or distribution of the
message, or any action or omission taken by you in reliance on
it is prohibited and may be unlawful. Please immediately contact
the sender if you have received this message in error. This email
does not constitute any commitment from Cordys Holding BV or
any of its subsidiaries except when expressly agreed in a written
agreement between the intended recipient and
Cordys Holding BV or its subsidiaries.
***********************************************************************



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
 " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



 ---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
 " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




    

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


  

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux