tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gabe Wong <gabri...@ngasi.com>
Subject Re: Tomcat crash @ midnight - but why?
Date Wed, 26 Sep 2007 16:12:05 GMT
Sounds very much like a memory issue as echoed by others on the list. 
What is the Memory Heap size used by the JVM?

Martin Cavanagh wrote:
> Thanks Gabe.
>
> I've checked the Windows Scheduled Tasks - unfortunately they are empty.
>
> The VMWare instance has 656MB RAm.
>
> Tomcat logs are quite boring - they only indicate that the Tomcat is 
> being shutdown
>
> The catalina logs show
> 21.09.2007 00:00:00 org.apache.coyote.http11.Http11AprProtocol pause
> INFO: Pausing Coyote HTTP/1.1 on http-443
> 21.09.2007 00:00:00 org.apache.coyote.ajp.AjpAprProtocol pause
> INFO: Pausing Coyote AJP/1.3 on ajp-8009
> 21.09.2007 00:00:01 org.apache.catalina.core.StandardService stop
> INFO: Stopping service Catalina
> 21.09.2007 00:00:01 org.apache.coyote.http11.Http11AprProtocol destroy
> INFO: Stopping Coyote HTTP/1.1 on http-443
> 21.09.2007 00:00:01 org.apache.coyote.ajp.AjpAprProtocol destroy
> INFO: Stopping Coyote AJP/1.3 on ajp-8009
>
> All other logs I posted 5 days ago and I don't want to repost.
>
> Thanks for everyones help
>
> Martin
>
> Gabe Wong wrote:
>> Check Windows Scheduled Tasks, to see what runs around that time. 
>> Could be a resource issue. A background task or even a load spike
>> from a search bot. How much memory is allocated to the VMWare 
>> instance? Also did you check the Tomcat logs?
>>
>> Martin Cavanagh wrote:
>>> Hi guys, I'm still having this problem.
>>>
>>> Its happened 3 times now.  Always at exactly midnight.  21.09, 25.09 
>>> and 26.09.
>>>
>>> We have VM Ware Server as the hardware - could this cause the problem?
>>>
>>> I have a firewall on the machine with only the HTTPS port open.
>>>
>>> In the config file there is the standard AJP port (8009) - what does 
>>> this actually do?
>>>
>>> Hardware : VM Ware Server
>>> OS: Win 2003
>>> Tomcat Version: 5.5.23
>>>
>>> Any ideas?
>>>
>>> Thanks
>>>
>>> Martin
>>>
>>> David Smith wrote:
>>>> Huh??  The shutdown port explicitly binds to the localhost 
>>>> interface.  External clients cannot access it anyway.  Easily 
>>>> demonstrated with a netstat command.
>>>>
>>>> --David
>>>>
>>>>
>>>>
>>>> Martin Gainty wrote:
>>>>
>>>>> Hi Pid
>>>>>
>>>>> you're going to need a firewall if someone can telnet to your 
>>>>> shutdown port
>>>>> (check server.xml for the exact port number)
>>>>>
>>>>> Martin--
>>>>> ----- Original Message -----
>>>>> From: "Pid" <p@pidster.com>
>>>>> To: "Tomcat Users List" <users@tomcat.apache.org>
>>>>> Sent: Friday, September 21, 2007 7:19 AM
>>>>> Subject: Re: Tomcat crash @ midnight - but why?
>>>>>
>>>>>
>>>>>  
>>>>>
>>>>>> What's immediately before the shutdown description in the logs?
>>>>>>
>>>>>> p
>>>>>>
>>>>>>
>>>>>>
>>>>>> Martin Cavanagh wrote:
>>>>>>  
>>>>>>> Why would windows report it as crashing then?
>>>>>>>
>>>>>>> I know I didn't shut it down, I was sleeping, as I assume 
>>>>>>> everyone else
>>>>>>> was who had access to the system......
>>>>>>>
>>>>>>> Thanks
>>>>>>>
>>>>>>> Martin
>>>>>>>
>>>>>>> David Delbecq wrote:
>>>>>>>  
>>>>>>>> According to your log it did not crash. It did shutdown 
>>>>>>>> following the
>>>>>>>> shutdown procedure (which can be executed by bin\shutdown.bat).
I
>>>>>>>> suggest you investigate possibilities that a local service
is 
>>>>>>>> setup to
>>>>>>>> shutdown tomcat at midnight on the server.
>>>>>>>>
>>>>>>>> The tomcat shutdown procedure is started when tomcat receive
the
>>>>>>>> SHUTDOWN string at the admin connector (8005 here). This

>>>>>>>> connector is
>>>>>>>>       
>>>>> by
>>>>>  
>>>>>
>>>>>>>> default accessible only on local machine.
>>>>>>>>
>>>>>>>> En l'instant précis du 21/09/07 09:21, Martin Cavanagh 
>>>>>>>> s'exprimait en
>>>>>>>> ces termes:
>>>>>>>>
>>>>>>>>    
>>>>>>>>> Hi everyone.
>>>>>>>>>
>>>>>>>>> Yesterday I started a 2nd Apache Server for my program.
 It was
>>>>>>>>> installed several months ago.  Version 5.5.0.23.
>>>>>>>>>
>>>>>>>>> The server is running on Windows 2003 Server with Java
JRE 
>>>>>>>>> 1.5.0_11
>>>>>>>>>
>>>>>>>>> It worked fine with my program for several hours.  Then

>>>>>>>>> exactly at
>>>>>>>>> midnight it crashed.
>>>>>>>>>
>>>>>>>>> Dienst "Apache Tomcat" wurde unerwartet beendet. Dies
ist 
>>>>>>>>> bereits 1
>>>>>>>>> Mal passiert. - Which translates to,
>>>>>>>>> Service "Apache Tomcat" stopped unexpectedly.  This has

>>>>>>>>> happened once
>>>>>>>>> already.
>>>>>>>>>
>>>>>>>>> The catalina logs show
>>>>>>>>> 21.09.2007 00:00:00 org.apache.coyote.http11.Http11AprProtocol

>>>>>>>>> pause
>>>>>>>>> INFO: Pausing Coyote HTTP/1.1 on http-443
>>>>>>>>> 21.09.2007 00:00:00 org.apache.coyote.ajp.AjpAprProtocol
pause
>>>>>>>>> INFO: Pausing Coyote AJP/1.3 on ajp-8009
>>>>>>>>> 21.09.2007 00:00:01 org.apache.catalina.core.StandardService
stop
>>>>>>>>> INFO: Stopping service Catalina
>>>>>>>>> 21.09.2007 00:00:01 org.apache.coyote.http11.Http11AprProtocol

>>>>>>>>> destroy
>>>>>>>>> INFO: Stopping Coyote HTTP/1.1 on http-443
>>>>>>>>> 21.09.2007 00:00:01 org.apache.coyote.ajp.AjpAprProtocol
destroy
>>>>>>>>> INFO: Stopping Coyote AJP/1.3 on ajp-8009
>>>>>>>>>
>>>>>>>>> Which unfortunately isn't really particularly useful.
 I can't 
>>>>>>>>> see any
>>>>>>>>> other logs regarding this.  How do I find out why my
Tomcat 
>>>>>>>>> crashed?
>>>>>>>>>
>>>>>>>>> Thanks
>>>>>>>>>
>>>>>>>>> Martin
>>>>>>>>>
>>>>>>>>>         
>>>>>>>>
>>>>>>>>       
>>>>>>>     
>>>>>> ---------------------------------------------------------------------

>>>>>>
>>>>>> To start a new topic, e-mail: users@tomcat.apache.org
>>>>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>>>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>>>>
>>>>>>
>>>>>>   
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To start a new topic, e-mail: users@tomcat.apache.org
>>>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>>>
>>>>>  
>>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To start a new topic, e-mail: users@tomcat.apache.org
>>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>


-- 
Regards

Gabe Wong
Private JVM JAVA Hosting Automation
http://www.ngasi.com


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


Mime
View raw message