You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Dola Woolfe <do...@yahoo.com> on 2004/12/06 23:28:53 UTC

Apache locks up

Hi

I'm using Tomcat 3.4 (I think) with Apache 1.2x (I
think) and a mod_jk.dll.

When someone bombards my servlet from a WXP machine
then my Apache server stops responding to that machine
for about 5 minutes. During that span of time, going
to myserver:8080/mywebapp still works!

This does not happen when the bombardment takes place
from a W2K machine.

By bombardment I mean about 1000 sequential requests.

Any ideas on what is going on?

Thank you very much!

Dola Chin


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Apache locks up

Posted by Peter Johnson <pe...@wizardslair.net>.
Sounds like a DoS vulnerability and given the age of the software in 
question the best suggestion that can be offered would be to upgrade to 
a minimum of Tomcat 4.1.x and Apache 1.3.x, However, you would be better 
off going to Tomcat 5.0.28 and Apache 2.0.52.

If you are going to need to do some rework to your servlets to get them 
running under Tomcat 5 I would suggest that you focus on getting them 
working under Tomcat 5.5.x and Java 1.5

PJ

Dola Woolfe wrote:

>Hi
>
>I'm using Tomcat 3.4 (I think) with Apache 1.2x (I
>think) and a mod_jk.dll.
>
>When someone bombards my servlet from a WXP machine
>then my Apache server stops responding to that machine
>for about 5 minutes. During that span of time, going
>to myserver:8080/mywebapp still works!
>
>This does not happen when the bombardment takes place
>from a W2K machine.
>
>By bombardment I mean about 1000 sequential requests.
>
>Any ideas on what is going on?
>
>Thank you very much!
>
>Dola Chin
>
>
>		
>__________________________________ 
>Do you Yahoo!? 
>Yahoo! Mail - now with 250MB free storage. Learn more.
>http://info.mail.yahoo.com/mail_250
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>  
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Apache locks up

Posted by Dola Woolfe <do...@yahoo.com>.
--- Wade Chandler <wc...@redesetgrow.com> wrote:

> Dola Woolfe wrote:
> > --- Wade Chandler <wc...@redesetgrow.com>
> wrote:
> > 
> > 
> >>Dola Woolfe wrote:
> >>
> >>>Everything is locked up, including the static
> >>
> >>resources!
> >>
> >>>
> >>>		
> >>>__________________________________ 
> >>>Do you Yahoo!? 
> >>>The all-new My Yahoo! - What will yours do?
> >>>http://my.yahoo.com 
> >>>
> >>>
> >>
> >
>
---------------------------------------------------------------------
> > 
> >>>To unsubscribe, e-mail:
> >>
> >>tomcat-user-unsubscribe@jakarta.apache.org
> >>
> >>>For additional commands, e-mail:
> >>
> >>tomcat-user-help@jakarta.apache.org
> >>
> >>>
> >>>
> >>Ok,
> >>
> >>I guess what I meant to ask is.  Do you use a
> >>context for Tomcat, and is 
> >>everyting from that context served through tomcat,
> >>or is the static 
> >>content served through Apache?  Can you access
> some
> >>static image file 
> >>from some where other than the context path of
> your
> >>webapplication? 
> >>Other than that you'll need to put up different
> >>logs.  One the apache 
> >>log file, two tomcat, and three the connectors log
> >>file.  Those might help.
> >>
> >>Wade
> >>
> >>
> > 
> > 
> > You know, I will follow an earlier advice and
> switch
> > from 1.2.* and 3.3.* to 2.0.* and 5.5.*; Why be
> > several years behind?
> > 
> > Dola
> > 
> > 
> > 		
> > __________________________________ 
> > Do you Yahoo!? 
> > Send holiday email and support a worthy cause. Do
> good. 
> > http://celebrity.mail.yahoo.com
> > 
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
> > 
> > 
> > 
> 
> I use 5.0.28 right now.  I'm waiting on 5.5.x to
> stabilize a bit more 
> myself.  It's just a precaution that I take.  I
> haven't had any issues 
> out of 5.0.28, and I actually use it for my web
> server and java server. 
>   I have gotten rid of httpd (Apache) all together. 
> I do use Apache2 
> sometimes as a forward proxy.  I can hide multiple
> machines behind one 
> domain that way.  I am happy with Tomcat as my web
> server.  Plus my 
> configuration is much simpler.
> 
> Wade

That's interesting. Thank you. I am wondering what
others think about this so I'll start a new "thread".


		
__________________________________ 
Do you Yahoo!? 
Dress up your holiday email, Hollywood style. Learn more. 
http://celebrity.mail.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Apache locks up

Posted by Wade Chandler <wc...@redesetgrow.com>.
Dola Woolfe wrote:
> --- Wade Chandler <wc...@redesetgrow.com> wrote:
> 
> 
>>Dola Woolfe wrote:
>>
>>>Everything is locked up, including the static
>>
>>resources!
>>
>>>
>>>		
>>>__________________________________ 
>>>Do you Yahoo!? 
>>>The all-new My Yahoo! - What will yours do?
>>>http://my.yahoo.com 
>>>
>>>
>>
> ---------------------------------------------------------------------
> 
>>>To unsubscribe, e-mail:
>>
>>tomcat-user-unsubscribe@jakarta.apache.org
>>
>>>For additional commands, e-mail:
>>
>>tomcat-user-help@jakarta.apache.org
>>
>>>
>>>
>>Ok,
>>
>>I guess what I meant to ask is.  Do you use a
>>context for Tomcat, and is 
>>everyting from that context served through tomcat,
>>or is the static 
>>content served through Apache?  Can you access some
>>static image file 
>>from some where other than the context path of your
>>webapplication? 
>>Other than that you'll need to put up different
>>logs.  One the apache 
>>log file, two tomcat, and three the connectors log
>>file.  Those might help.
>>
>>Wade
>>
>>
> 
> 
> You know, I will follow an earlier advice and switch
> from 1.2.* and 3.3.* to 2.0.* and 5.5.*; Why be
> several years behind?
> 
> Dola
> 
> 
> 		
> __________________________________ 
> Do you Yahoo!? 
> Send holiday email and support a worthy cause. Do good. 
> http://celebrity.mail.yahoo.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 
> 

I use 5.0.28 right now.  I'm waiting on 5.5.x to stabilize a bit more 
myself.  It's just a precaution that I take.  I haven't had any issues 
out of 5.0.28, and I actually use it for my web server and java server. 
  I have gotten rid of httpd (Apache) all together.  I do use Apache2 
sometimes as a forward proxy.  I can hide multiple machines behind one 
domain that way.  I am happy with Tomcat as my web server.  Plus my 
configuration is much simpler.

Wade


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Apache locks up

Posted by Dola Woolfe <do...@yahoo.com>.
--- Wade Chandler <wc...@redesetgrow.com> wrote:

> Dola Woolfe wrote:
> > Everything is locked up, including the static
> resources!
> > 
> > 
> > 		
> > __________________________________ 
> > Do you Yahoo!? 
> > The all-new My Yahoo! - What will yours do?
> > http://my.yahoo.com 
> > 
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
> > 
> > 
> > 
> 
> Ok,
> 
> I guess what I meant to ask is.  Do you use a
> context for Tomcat, and is 
> everyting from that context served through tomcat,
> or is the static 
> content served through Apache?  Can you access some
> static image file 
> from some where other than the context path of your
> webapplication? 
> Other than that you'll need to put up different
> logs.  One the apache 
> log file, two tomcat, and three the connectors log
> file.  Those might help.
> 
> Wade
> 
> 

You know, I will follow an earlier advice and switch
from 1.2.* and 3.3.* to 2.0.* and 5.5.*; Why be
several years behind?

Dola


		
__________________________________ 
Do you Yahoo!? 
Send holiday email and support a worthy cause. Do good. 
http://celebrity.mail.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Apache locks up

Posted by Wade Chandler <wc...@redesetgrow.com>.
Dola Woolfe wrote:
> Everything is locked up, including the static resources!
> 
> 
> 		
> __________________________________ 
> Do you Yahoo!? 
> The all-new My Yahoo! - What will yours do?
> http://my.yahoo.com 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 
> 

Ok,

I guess what I meant to ask is.  Do you use a context for Tomcat, and is 
everyting from that context served through tomcat, or is the static 
content served through Apache?  Can you access some static image file 
from some where other than the context path of your webapplication? 
Other than that you'll need to put up different logs.  One the apache 
log file, two tomcat, and three the connectors log file.  Those might help.

Wade


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Apache locks up

Posted by Dola Woolfe <do...@yahoo.com>.
Everything is locked up, including the static resources!


		
__________________________________ 
Do you Yahoo!? 
The all-new My Yahoo! - What will yours do?
http://my.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Apache locks up

Posted by Wade Chandler <wc...@redesetgrow.com>.
Dola Woolfe wrote:
> Hi
> 
> I'm using Tomcat 3.4 (I think) with Apache 1.2x (I
> think) and a mod_jk.dll.
> 
> When someone bombards my servlet from a WXP machine
> then my Apache server stops responding to that machine
> for about 5 minutes. During that span of time, going
> to myserver:8080/mywebapp still works!
> 
> This does not happen when the bombardment takes place
> from a W2K machine.
> 
> By bombardment I mean about 1000 sequential requests.
> 
> Any ideas on what is going on?
> 
> Thank you very much!
> 
> Dola Chin
> 
> 
> 		
> __________________________________ 
> Do you Yahoo!? 
> Yahoo! Mail - now with 250MB free storage. Learn more.
> http://info.mail.yahoo.com/mail_250
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 
> 

Maybe in your connector setings you don't have enough connections 
permitted for the communication between apache and tomcat?  Or is 
everything on the Apache server locked up?  i.e. Can you get to static 
resources you know are being served by Apache?

Wade


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org