You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Rodrigo Asensio <ra...@gmail.com> on 2009/12/04 16:42:25 UTC

tomcat not accepting requests

Hello, my config

Ubuntu 9.10 Server AMD 64  RAM 512
Tomcat 6 running with native libraries and XMX=400M

Maybe once a day, or each 2 days tomcat stops handling requests.
Error 101 (net::ERR_CONNECTION_RESET): Unknown error at the browser.

1. Service is UP
2. telnet to 80 port works OK
3. netstat  -a is listening @ por 80 perfectly
4. nothing in the logs. NOTHING. (logs as default installation)

I checked  and I'm not being DOS attacked.

Rodrigo Asensio
rasensio@gmail.com
http://www.rodrigoasensio.com
"To err is human, but to really screw up requires the root password."

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


Re: tomcat not accepting requests

Posted by Rodrigo Asensio <ra...@gmail.com>.
nop, but I will read about these tools and use them next time.

do you have idea what it can be ? is really weird. Is not heavy load,
because I saw it die 11pm with 1 session opened at the server.


Rodrigo Asensio
rasensio@gmail.com
http://www.rodrigoasensio.com
"To err is human, but to really screw up requires the root password."



On Fri, Dec 4, 2009 at 14:21, Pid <pi...@pidster.com> wrote:
> On 04/12/2009 17:12, Rodrigo Asensio wrote:
>>
>> you mean something like Thread.dumpStack() ?
>> not really. And I don't have any monitoring tool there.
>
>  kill -3 <java_process_id>
>
> or use the tools (jps,jmap,jstack etc) that come with your JDK.
>
>
> p
>
>
>> Rodrigo Asensio
>> rasensio@gmail.com
>> http://www.rodrigoasensio.com
>> "To err is human, but to really screw up requires the root password."
>>
>>
>>
>> On Fri, Dec 4, 2009 at 13:46, Pid<pi...@pidster.com>  wrote:
>>>
>>> On 04/12/2009 15:53, Rodrigo Asensio wrote:
>>>>
>>>> 1. Apache Tomcat/6.0.20 JVM 1.6.0_0-b16 Sun Microsystems
>>>> Inc.    Linux   2.6.31-302-rs   amd64
>>>>
>>>> 2. seems permanently (its a production server, it has been up to 1
>>>> hour and we restarted the service)
>>>>
>>>> 3. error comes from a browser, just that, site site is just offline
>>>>
>>>> 4. 100% ubuntu package
>>>
>>> Are you able to take a thread dump when it appears to stop accepting
>>> connections?
>>>
>>>
>>> p
>>>
>>>
>>>> On Fri, Dec 4, 2009 at 12:48, Pid<pi...@pidster.com>    wrote:
>>>>>
>>>>> On 04/12/2009 15:42, Rodrigo Asensio wrote:
>>>>>>
>>>>>> Hello, my config
>>>>>>
>>>>>> Ubuntu 9.10 Server AMD 64  RAM 512
>>>>>> Tomcat 6 running with native libraries and XMX=400M
>>>>>
>>>>> Sub version Tomcat 6.0.??
>>>>>
>>>>>> Maybe once a day, or each 2 days tomcat stops handling requests.
>>>>>
>>>>> Permanently, or temporarily?
>>>>>
>>>>>> Error 101 (net::ERR_CONNECTION_RESET): Unknown error at the browser.
>>>>>
>>>>> Where does this error come from, a client?  If so, what?
>>>>>
>>>>>> 1. Service is UP
>>>>>> 2. telnet to 80 port works OK
>>>>>> 3. netstat  -a is listening @ por 80 perfectly
>>>>>> 4. nothing in the logs. NOTHING. (logs as default installation)
>>>>>
>>>>> default apache.org install or Ubuntu package?
>>>>>
>>>>>
>>>>> p
>>>>>
>>>>>> I checked  and I'm not being DOS attacked.
>>>>>>
>>>>>> Rodrigo Asensio
>>>>>> rasensio@gmail.com
>>>>>> http://www.rodrigoasensio.com
>>>>>> "To err is human, but to really screw up requires the root password."
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>>>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>>>>
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>>>
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

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


Re: tomcat not accepting requests

Posted by Pid <pi...@pidster.com>.
On 04/12/2009 17:12, Rodrigo Asensio wrote:
> you mean something like Thread.dumpStack() ?
> not really. And I don't have any monitoring tool there.

  kill -3 <java_process_id>

or use the tools (jps,jmap,jstack etc) that come with your JDK.


p


> Rodrigo Asensio
> rasensio@gmail.com
> http://www.rodrigoasensio.com
> "To err is human, but to really screw up requires the root password."
>
>
>
> On Fri, Dec 4, 2009 at 13:46, Pid<pi...@pidster.com>  wrote:
>> On 04/12/2009 15:53, Rodrigo Asensio wrote:
>>>
>>> 1. Apache Tomcat/6.0.20 JVM 1.6.0_0-b16 Sun Microsystems
>>> Inc.    Linux   2.6.31-302-rs   amd64
>>>
>>> 2. seems permanently (its a production server, it has been up to 1
>>> hour and we restarted the service)
>>>
>>> 3. error comes from a browser, just that, site site is just offline
>>>
>>> 4. 100% ubuntu package
>>
>> Are you able to take a thread dump when it appears to stop accepting
>> connections?
>>
>>
>> p
>>
>>
>>> On Fri, Dec 4, 2009 at 12:48, Pid<pi...@pidster.com>    wrote:
>>>>
>>>> On 04/12/2009 15:42, Rodrigo Asensio wrote:
>>>>>
>>>>> Hello, my config
>>>>>
>>>>> Ubuntu 9.10 Server AMD 64  RAM 512
>>>>> Tomcat 6 running with native libraries and XMX=400M
>>>>
>>>> Sub version Tomcat 6.0.??
>>>>
>>>>> Maybe once a day, or each 2 days tomcat stops handling requests.
>>>>
>>>> Permanently, or temporarily?
>>>>
>>>>> Error 101 (net::ERR_CONNECTION_RESET): Unknown error at the browser.
>>>>
>>>> Where does this error come from, a client?  If so, what?
>>>>
>>>>> 1. Service is UP
>>>>> 2. telnet to 80 port works OK
>>>>> 3. netstat  -a is listening @ por 80 perfectly
>>>>> 4. nothing in the logs. NOTHING. (logs as default installation)
>>>>
>>>> default apache.org install or Ubuntu package?
>>>>
>>>>
>>>> p
>>>>
>>>>> I checked  and I'm not being DOS attacked.
>>>>>
>>>>> Rodrigo Asensio
>>>>> rasensio@gmail.com
>>>>> http://www.rodrigoasensio.com
>>>>> "To err is human, but to really screw up requires the root password."
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>


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


Re: tomcat not accepting requests

Posted by Rodrigo Asensio <ra...@gmail.com>.
you mean something like Thread.dumpStack() ?
not really. And I don't have any monitoring tool there.


Rodrigo Asensio
rasensio@gmail.com
http://www.rodrigoasensio.com
"To err is human, but to really screw up requires the root password."



On Fri, Dec 4, 2009 at 13:46, Pid <pi...@pidster.com> wrote:
> On 04/12/2009 15:53, Rodrigo Asensio wrote:
>>
>> 1. Apache Tomcat/6.0.20 JVM 1.6.0_0-b16 Sun Microsystems
>> Inc.    Linux   2.6.31-302-rs   amd64
>>
>> 2. seems permanently (its a production server, it has been up to 1
>> hour and we restarted the service)
>>
>> 3. error comes from a browser, just that, site site is just offline
>>
>> 4. 100% ubuntu package
>
> Are you able to take a thread dump when it appears to stop accepting
> connections?
>
>
> p
>
>
>> On Fri, Dec 4, 2009 at 12:48, Pid<pi...@pidster.com>  wrote:
>>>
>>> On 04/12/2009 15:42, Rodrigo Asensio wrote:
>>>>
>>>> Hello, my config
>>>>
>>>> Ubuntu 9.10 Server AMD 64  RAM 512
>>>> Tomcat 6 running with native libraries and XMX=400M
>>>
>>> Sub version Tomcat 6.0.??
>>>
>>>> Maybe once a day, or each 2 days tomcat stops handling requests.
>>>
>>> Permanently, or temporarily?
>>>
>>>> Error 101 (net::ERR_CONNECTION_RESET): Unknown error at the browser.
>>>
>>> Where does this error come from, a client?  If so, what?
>>>
>>>> 1. Service is UP
>>>> 2. telnet to 80 port works OK
>>>> 3. netstat  -a is listening @ por 80 perfectly
>>>> 4. nothing in the logs. NOTHING. (logs as default installation)
>>>
>>> default apache.org install or Ubuntu package?
>>>
>>>
>>> p
>>>
>>>> I checked  and I'm not being DOS attacked.
>>>>
>>>> Rodrigo Asensio
>>>> rasensio@gmail.com
>>>> http://www.rodrigoasensio.com
>>>> "To err is human, but to really screw up requires the root password."
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

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


Re: tomcat not accepting requests

Posted by Pid <pi...@pidster.com>.
On 04/12/2009 15:53, Rodrigo Asensio wrote:
> 1. Apache Tomcat/6.0.20	JVM 1.6.0_0-b16	Sun Microsystems
> Inc.	Linux	2.6.31-302-rs	amd64
>
> 2. seems permanently (its a production server, it has been up to 1
> hour and we restarted the service)
>
> 3. error comes from a browser, just that, site site is just offline
>
> 4. 100% ubuntu package

Are you able to take a thread dump when it appears to stop accepting 
connections?


p


> On Fri, Dec 4, 2009 at 12:48, Pid<pi...@pidster.com>  wrote:
>> On 04/12/2009 15:42, Rodrigo Asensio wrote:
>>>
>>> Hello, my config
>>>
>>> Ubuntu 9.10 Server AMD 64  RAM 512
>>> Tomcat 6 running with native libraries and XMX=400M
>>
>> Sub version Tomcat 6.0.??
>>
>>> Maybe once a day, or each 2 days tomcat stops handling requests.
>>
>> Permanently, or temporarily?
>>
>>> Error 101 (net::ERR_CONNECTION_RESET): Unknown error at the browser.
>>
>> Where does this error come from, a client?  If so, what?
>>
>>> 1. Service is UP
>>> 2. telnet to 80 port works OK
>>> 3. netstat  -a is listening @ por 80 perfectly
>>> 4. nothing in the logs. NOTHING. (logs as default installation)
>>
>> default apache.org install or Ubuntu package?
>>
>>
>> p
>>
>>> I checked  and I'm not being DOS attacked.
>>>
>>> Rodrigo Asensio
>>> rasensio@gmail.com
>>> http://www.rodrigoasensio.com
>>> "To err is human, but to really screw up requires the root password."
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>


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


Re: tomcat not accepting requests

Posted by Rodrigo Asensio <ra...@gmail.com>.
1. Apache Tomcat/6.0.20	JVM 1.6.0_0-b16	Sun Microsystems
Inc.	Linux	2.6.31-302-rs	amd64

2. seems permanently (its a production server, it has been up to 1
hour and we restarted the service)

3. error comes from a browser, just that, site site is just offline

4. 100% ubuntu package


On Fri, Dec 4, 2009 at 12:48, Pid <pi...@pidster.com> wrote:
> On 04/12/2009 15:42, Rodrigo Asensio wrote:
>>
>> Hello, my config
>>
>> Ubuntu 9.10 Server AMD 64  RAM 512
>> Tomcat 6 running with native libraries and XMX=400M
>
> Sub version Tomcat 6.0.??
>
>> Maybe once a day, or each 2 days tomcat stops handling requests.
>
> Permanently, or temporarily?
>
>> Error 101 (net::ERR_CONNECTION_RESET): Unknown error at the browser.
>
> Where does this error come from, a client?  If so, what?
>
>> 1. Service is UP
>> 2. telnet to 80 port works OK
>> 3. netstat  -a is listening @ por 80 perfectly
>> 4. nothing in the logs. NOTHING. (logs as default installation)
>
> default apache.org install or Ubuntu package?
>
>
> p
>
>> I checked  and I'm not being DOS attacked.
>>
>> Rodrigo Asensio
>> rasensio@gmail.com
>> http://www.rodrigoasensio.com
>> "To err is human, but to really screw up requires the root password."
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

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


Re: tomcat not accepting requests

Posted by Pid <pi...@pidster.com>.
On 04/12/2009 15:42, Rodrigo Asensio wrote:
> Hello, my config
>
> Ubuntu 9.10 Server AMD 64  RAM 512
> Tomcat 6 running with native libraries and XMX=400M

Sub version Tomcat 6.0.??

> Maybe once a day, or each 2 days tomcat stops handling requests.

Permanently, or temporarily?

> Error 101 (net::ERR_CONNECTION_RESET): Unknown error at the browser.

Where does this error come from, a client?  If so, what?

> 1. Service is UP
> 2. telnet to 80 port works OK
> 3. netstat  -a is listening @ por 80 perfectly
> 4. nothing in the logs. NOTHING. (logs as default installation)

default apache.org install or Ubuntu package?


p

> I checked  and I'm not being DOS attacked.
>
> Rodrigo Asensio
> rasensio@gmail.com
> http://www.rodrigoasensio.com
> "To err is human, but to really screw up requires the root password."
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>


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