You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by thomas2004 <th...@yahoo.de> on 2008/06/10 16:30:52 UTC
[users@httpd] How to distribute Web Access?
I have a web application, i.g. a WAR file. I will deploy this war on several
web-servers. They have the URL. How can I configure the web-server, assumed
I use Apache Tomcat, sothat the web access can be distribute to these web
servers? For example I have 10 web-servers, the daily access is 100000. I
want these accesses to be devided to 10 web servers.
How can I do that? Can I just make configuration or do I need hardware such
as dispatcheer?
--
View this message in context: http://www.nabble.com/How-to-distribute-Web-Access--tp17756870p17756870.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
[users@httpd] httpd(s) are consuming all cpu's
Posted by tjzsm1 <tj...@yahoo.com>.
Hi everybody,
We are running apache 1.3.39, modssl-2.8.30 and openssl-0.97m on Red Hat linux AS 3 and weblogic 8.1.6 on Solaris. The problem I got is there are always a few httpd processes keep running and taking all cpus. I can kill them but they will come back after one or two hours. Restarting apache can not solve the problem too. When I do a lsof on any httpd child process it returned lots of 'CLOSE_WAIT' even on those cpu consuming and non-cpu-consuming processes.
I checked Internet and basically understand what was happening for those CLOSE_WAITs, but how could we solve the problem?
Thanks,
Cary
Re: [users@httpd] How to distribute Web Access?
Posted by Chad Morland <cm...@gmail.com>.
If you are looking for an all Apache solution, 2.2 has mod_proxy_balancer.
http://httpd.apache.org/docs/2.2/mod/mod_proxy_balancer.html
Although in production my results are mediocre at best. Squid as a reverse
proxy is the better option. No idea if it is supported under Win2k3.
http://www.squid-cache.org/
-CM
On Wed, Jun 11, 2008 at 4:13 AM, Krist van Besien <kr...@gmail.com>
wrote:
> On Tue, Jun 10, 2008 at 22:24, thomas2004 <th...@yahoo.de> wrote:
> > But I use Windows 2003 Server.
>
> Not a good idea.
>
>
> > Besides, can one use the Apache Http Server to do this?
>
> You could have one apache httpd serve as a loadbalancer for a farm of
> tomcat backen servers. Consult the mod_jk documentation on how to do
> this.
>
> Krist
>
>
>
> --
> krist.vanbesien@gmail.com
> krist@vanbesien.org
> Bremgarten b. Bern, Switzerland
> --
> A: It reverses the normal flow of conversation.
> Q: What's wrong with top-posting?
> A: Top-posting.
> Q: What's the biggest scourge on plain text email discussions?
>
> ---------------------------------------------------------------------
> 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@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
Re: [users@httpd] How to distribute Web Access?
Posted by Krist van Besien <kr...@gmail.com>.
On Tue, Jun 10, 2008 at 22:24, thomas2004 <th...@yahoo.de> wrote:
> But I use Windows 2003 Server.
Not a good idea.
> Besides, can one use the Apache Http Server to do this?
You could have one apache httpd serve as a loadbalancer for a farm of
tomcat backen servers. Consult the mod_jk documentation on how to do
this.
Krist
--
krist.vanbesien@gmail.com
krist@vanbesien.org
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?
---------------------------------------------------------------------
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] How to distribute Web Access?
Posted by thomas2004 <th...@yahoo.de>.
This sounds good.
But I use Windows 2003 Server.
Besides, can one use the Apache Http Server to do this?
Chad Morland wrote:
>
> http://www.linuxvirtualserver.org is probably worth a look. I have been
> using it to distribute 1M+ requests per day without issue.
>
> -CM
>
> On Tue, Jun 10, 2008 at 11:35 AM, Mohit Anchlia <mo...@gmail.com>
> wrote:
>
>> Look at mod_jk module from apache ? But in your case I think you need
>> either hardware load balancer or use existing web server with mod_jk
>>
>>
>> On 6/10/08, Thomas Chang <th...@yahoo.de> wrote:
>>>
>>> Is the so-called 3rd party device a hardware?
>>>
>>>
>>>
>>>
>>>
>>> --- Evan Platt *<ev...@espphotography.com>* schrieb am *Di, 10.6.2008:
>>> *
>>>
>>> Von: Evan Platt <ev...@espphotography.com>
>>> Betreff: Re: [users@httpd] How to distribute Web Access?
>>> An: users@httpd.apache.org
>>> Datum: Dienstag, 10. Juni 2008, 16:52
>>>
>>> You need a load balancer or some other 3rd party device. There could be
>>> a way to do it in Apache, but I haven't seen it.
>>>
>>> thomas2004 wrote:
>>> > I have a web application, i.g. a WAR file. I will deploy this war on
>>> several
>>> > web-servers. They have the URL. How can I configure the web-server,
>>> assumed
>>> > I use Apache Tomcat, sothat the web access can be distribute to these
>>> web
>>> > servers? For example I have 10 web-servers, the daily access is
>>> 100000. I
>>> > want these accesses to be devided to 10 web servers.
>>> >
>>> > How can I do that? Can I just make configuration or do I need hardware
>>> such
>>> > as dispatcheer?
>>> >
>>>
>>>
>>> ---------------------------------------------------------------------
>>> 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@httpd.apache.org
>>> " from the digest: users-digest-unsubscribe@httpd.apache.org
>>> For additional commands, e-mail: users-help@httpd.apache.org
>>>
>>>
>>> ------------------------------
>>> Gesendet von Yahoo!
>>> Mail<http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http://us.rd.yahoo.com/evt=52427/*http://de.overview.mail.yahoo.com>.
>>>
>>> Dem pfiffigeren Posteingang.
>>>
>>
>>
>
>
--
View this message in context: http://www.nabble.com/How-to-distribute-Web-Access--tp17756870p17763911.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] How to distribute Web Access?
Posted by Chad Morland <cm...@gmail.com>.
http://www.linuxvirtualserver.org is probably worth a look. I have been
using it to distribute 1M+ requests per day without issue.
-CM
On Tue, Jun 10, 2008 at 11:35 AM, Mohit Anchlia <mo...@gmail.com>
wrote:
> Look at mod_jk module from apache ? But in your case I think you need
> either hardware load balancer or use existing web server with mod_jk
>
>
> On 6/10/08, Thomas Chang <th...@yahoo.de> wrote:
>>
>> Is the so-called 3rd party device a hardware?
>>
>>
>>
>>
>>
>> --- Evan Platt *<ev...@espphotography.com>* schrieb am *Di, 10.6.2008:
>> *
>>
>> Von: Evan Platt <ev...@espphotography.com>
>> Betreff: Re: [users@httpd] How to distribute Web Access?
>> An: users@httpd.apache.org
>> Datum: Dienstag, 10. Juni 2008, 16:52
>>
>> You need a load balancer or some other 3rd party device. There could be
>> a way to do it in Apache, but I haven't seen it.
>>
>> thomas2004 wrote:
>> > I have a web application, i.g. a WAR file. I will deploy this war on
>> several
>> > web-servers. They have the URL. How can I configure the web-server,
>> assumed
>> > I use Apache Tomcat, sothat the web access can be distribute to these web
>> > servers? For example I have 10 web-servers, the daily access is 100000. I
>> > want these accesses to be devided to 10 web servers.
>> >
>> > How can I do that? Can I just make configuration or do I need hardware
>> such
>> > as dispatcheer?
>> >
>>
>>
>> ---------------------------------------------------------------------
>> 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@httpd.apache.org
>> " from the digest: users-digest-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>>
>>
>> ------------------------------
>> Gesendet von Yahoo! Mail<http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http://us.rd.yahoo.com/evt=52427/*http://de.overview.mail.yahoo.com>.
>>
>> Dem pfiffigeren Posteingang.
>>
>
>
Re: [users@httpd] How to distribute Web Access?
Posted by Mohit Anchlia <mo...@gmail.com>.
Look at mod_jk module from apache ? But in your case I think you need either
hardware load balancer or use existing web server with mod_jk
On 6/10/08, Thomas Chang <th...@yahoo.de> wrote:
>
> Is the so-called 3rd party device a hardware?
>
>
>
>
>
> --- Evan Platt *<ev...@espphotography.com>* schrieb am *Di, 10.6.2008:
> *
>
> Von: Evan Platt <ev...@espphotography.com>
> Betreff: Re: [users@httpd] How to distribute Web Access?
> An: users@httpd.apache.org
> Datum: Dienstag, 10. Juni 2008, 16:52
>
> You need a load balancer or some other 3rd party device. There could be
> a way to do it in Apache, but I haven't seen it.
>
> thomas2004 wrote:
> > I have a web application, i.g. a WAR file. I will deploy this war on
> several
> > web-servers. They have the URL. How can I configure the web-server,
> assumed
> > I use Apache Tomcat, sothat the web access can be distribute to these web
> > servers? For example I have 10 web-servers, the daily access is 100000. I
> > want these accesses to be devided to 10 web servers.
> >
> > How can I do that? Can I just make configuration or do I need hardware
> such
> > as dispatcheer?
> >
>
>
> ---------------------------------------------------------------------
> 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@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
> ------------------------------
> Gesendet von Yahoo! Mail<http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http://us.rd.yahoo.com/evt=52427/*http://de.overview.mail.yahoo.com>.
>
> Dem pfiffigeren Posteingang.
>
Re: [users@httpd] How to distribute Web Access?
Posted by Thomas Chang <th...@yahoo.de>.
Is the so-called 3rd party device a hardware?
--- Evan Platt <evan@espphotography.com> schrieb am Di, 10.6.2008:
Von: Evan Platt <evan@espphotography.com>
Betreff: Re: [users@httpd] How to distribute Web Access?
An: users@httpd.apache.org
Datum: Dienstag, 10. Juni 2008, 16:52
You need a load balancer or some other 3rd party device. There could be
a way to do it in Apache, but I haven't seen it.
thomas2004 wrote:
> I have a web application, i.g. a WAR file. I will deploy this war on
several
> web-servers. They have the URL. How can I configure the web-server,
assumed
> I use Apache Tomcat, sothat the web access can be distribute to these web
> servers? For example I have 10 web-servers, the daily access is 100000. I
> want these accesses to be devided to 10 web servers.
>
> How can I do that? Can I just make configuration or do I need hardware
such
> as dispatcheer?
>
---------------------------------------------------------------------
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
__________________________________________________________
Gesendet von Yahoo! Mail.
Dem pfiffigeren Posteingang.
http://de.overview.mail.yahoo.com
Re: [users@httpd] How to distribute Web Access?
Posted by Evan Platt <ev...@espphotography.com>.
You need a load balancer or some other 3rd party device. There could be
a way to do it in Apache, but I haven't seen it.
thomas2004 wrote:
> I have a web application, i.g. a WAR file. I will deploy this war on several
> web-servers. They have the URL. How can I configure the web-server, assumed
> I use Apache Tomcat, sothat the web access can be distribute to these web
> servers? For example I have 10 web-servers, the daily access is 100000. I
> want these accesses to be devided to 10 web servers.
>
> How can I do that? Can I just make configuration or do I need hardware such
> as dispatcheer?
>
---------------------------------------------------------------------
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org