[OT] RE: (apache question) Working around MaxClients?

2001-02-22 Thread Stathy Touloumis

Why don't you setup apache to do proxying?

 I have a high traffic website (looks like 200 GB output per month,
 something around 10-20 hits per day) hosted on a commercial
 service. The service does not limit my bandwidth usage, but they limit the
 number of concurrent Apache process that I can have to 41. This causes the
 server to delay accepting new connections during peak times.

 My account is a "virtual server"; what this means is that I have access to
 the Apache httpd.conf files and can restart the Apache daemon, but do not
 have the priviledge to bind a program to port 80 (so I can't put thttpd on
 port 80).

 I was thinking of serving the HTML files from Apache and the JPG files
 from thttpd (thttpd uses select() so it always only uses up one process,
 no matter how many connections it's handling) on port 8080, but there's
 one disadvantage: People who browse my site from behind certain firewalls
 can only see port 80.

 Does anyone know of a way to configure Apache so that it will pass port 80
 traffic onto port 8080 somehow, without having access to modify the
 binary? It would have to do this without needing to spawn a child for
 every request though. Or is this impossible?




Re: [OT] RE: (apache question) Working around MaxClients?

2001-02-22 Thread Philip Mak

# Doesn't work. Children still get tied up serving requests.
#ProxyPass / http://www.animewallpapers.com:8080/
#ProxyPassReverse / http://www.animewallpapers.com:8080/

That doesn't get me around the limit of 41 Apache processes...

-Philip Mak ([EMAIL PROTECTED])

On Thu, 22 Feb 2001, Stathy Touloumis wrote:

 Why don't you setup apache to do proxying?
 
  I have a high traffic website (looks like 200 GB output per month,
  something around 10-20 hits per day) hosted on a commercial
  service. The service does not limit my bandwidth usage, but they limit the
  number of concurrent Apache process that I can have to 41. This causes the
  server to delay accepting new connections during peak times.
 
  My account is a "virtual server"; what this means is that I have access to
  the Apache httpd.conf files and can restart the Apache daemon, but do not
  have the priviledge to bind a program to port 80 (so I can't put thttpd on
  port 80).
 
  I was thinking of serving the HTML files from Apache and the JPG files
  from thttpd (thttpd uses select() so it always only uses up one process,
  no matter how many connections it's handling) on port 8080, but there's
  one disadvantage: People who browse my site from behind certain firewalls
  can only see port 80.
 
  Does anyone know of a way to configure Apache so that it will pass port 80
  traffic onto port 8080 somehow, without having access to modify the
  binary? It would have to do this without needing to spawn a child for
  every request though. Or is this impossible?