You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by 李员外 <28...@qq.com> on 2017/07/07 01:22:51 UTC

回复: tomcat 8.5.16 silent exit without any error logs on ubuntu 16.04.2

Will try that. The RAM of machine is 8 GigaByte, 4-core CPU, even if silent exit is caused by Insufficient  memory, at least, tomcat would record error info to log file, right?


Thanks in advance!
------------------
做自己


 




------------------ 原始邮件 ------------------
发件人: "Guang Chao";<gu...@gmail.com>;
发送时间: 2017年7月7日(星期五) 上午8:26
收件人: "Tomcat Users List"<us...@tomcat.apache.org>; 

主题: Re: tomcat 8.5.16 silent exit without any error logs on ubuntu 16.04.2



How much RAM your hardware have?  Have you tried installing Tomcat from
download and make it  a service through your own init scripts?  (E.g.
https://gist.github.com/miglen/5590986)

On Fri, Jul 7, 2017 at 12:40 AM, 李员外 <28...@qq.com> wrote:

> Hi, guys
>
>
> I use tomcat 8.5.16, and I found at least 5 times tomcat silent exit
> without any error logs after keep running 2-3 days, that means catalina.out
> has no error info located in /opt/apache-tomcat-8.5.16/logs/.
> And application log file also has no error info.
> I do not know why? How should I to find out reason?
>
>
> Please help me!
> Thanks in advance!
>
>
>
>
> ------------------
> 做自己




-- 
Guang <http://javadevnotes.com/java-string-contains-examples/>

Re: 回复: tomcat 8.5.16 silent exit without any error logs on ubuntu 16.04.2

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

李员外,

On 7/11/17 12:49 AM, 李员外 wrote:
> Yes,  I have done that in fact. I download zip file, and unzip,
> then chmod 777 startup.sh.  Problems love me still. I am trying to
> monitor tomcat remotely.
Mark's reply from July 6th is most likely given your observations.

Try "sudo grep oom /var/log/syslog" (or wherever your system logger
drops things).

- -chris

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJZZR/FAAoJEBzwKT+lPKRY1g8QALL8wZ0A+It71ENtzthZs9pa
TJ5ZFn3wv9aado4tw5o+4miIDw9/GGuFIrnNkCjkgKUya0oecc4Ov2lOh1g+Nx//
F38EgVEK9KC28hWJVbGKlmZliIQQSPNzVjBcUczAZD8dG6EEP7TqU8KyFQ6prMgj
GJNDVJtnHib1zZ7JzOwf9VlCryHxUFahbn1qpn1qd/UyV2YdfAvtP8HH3+2WHh/y
DaHd6F4cy1mXLTOpKenb1e/Z/84EZkYX9qzOTRnjv7+qfnbP6yYQv72mGzI4LoWb
GPim14MFaplevQcq1bapEiM001Jd+W2hWM0H9zoSwOz98unO3kMaxF94neYqSTIc
bRSggpeVnn5wUY8Y7Y3OUD5gcXDxi26+66qqfMY6CYcOvXzz18en6l8oyr/gjyga
BN4V/ZB5BQmHHEuafB20MILJ3nXVguUDH39NSBISAFCTq/iD312vkHTe9W4Ay167
NPrIBzR6zrJgO7JtAvqC57I4Pe3eo54SXW9N3rUyzoeMsYlmU1jZ1TeCDWl8Z9Qi
xwEbg//C/lrlXeIvkgmVQNsl4EwpW78AIpfmp3Oe/+pQPNSezBhYYMbsEsDKKmjV
ohGgf7N02Xrd51R7zrk/zcxx6t4NSWJ/7/QrBiyftwdg4KcyDTsRCudjj/Tlqb9d
VAe75KILQVg5nXoTWzud
=HmJg
-----END PGP SIGNATURE-----

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


Re: tomcat 8.5.16 silent exit without any error logs on ubuntu 16.04.2

Posted by Suvendu Sekhar Mondal <su...@gmail.com>.
>> >
>> > On Fri, Jul 7, 2017 at 12:40 AM, 李员外 <28...@qq.com> wrote:
>> >
>> > > Hi, guys
>> > >
>> > >
>> > > I use tomcat 8.5.16, and I found at least 5 times tomcat silent exit
>> > > without any error logs after keep running 2-3 days, that means
>> > catalina.out
>> > > has no error info located in /opt/apache-tomcat-8.5.16/logs/.
>> > > And application log file also has no error info.
>> > > I do not know why? How should I to find out reason?
>> > >
>> > >
>> > > Please help me!
>> > > Thanks in advance!
>> > >
>> > >
>> > >
>> > >
>> > > ------------------
>> > > 做自己
>> >

Hi,

What is the JRE version? I hope you are not using
ExitOnOutOfMemoryError option [1]. If this is not the case, then my
hunch is some external process is killing the Tomcat and you need to
find it out. In Windows, whenever something like that happens, one
eventlog gets created. I am pretty sure there will be similar thing in
Ubuntu. I just Googled and saw this [2].

Another thing I would suggest, please monitor the memory usage of the
Tomcat process using some tool. Try to identify if it is getting
crashed after reaching to a certain threshold.

Thanks!
Suvendu

[1]http://www.oracle.com/technetwork/java/javase/8u92-relnotes-2949471.html
[2]http://www.oracle.com/technetwork/articles/servers-storage-dev/oom-killer-1911807.html

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


Re: tomcat 8.5.16 silent exit without any error logs on ubuntu 16.04.2

Posted by Guang Chao <gu...@gmail.com>.
Can you try "grep -i 'killed process' /var/log/messages"

On Tue, Jul 11, 2017 at 12:49 PM, 李员外 <28...@qq.com> wrote:

> Yes,  I have done that in fact. I download zip file, and unzip, then chmod
> 777 startup.sh.  Problems love me still. I am trying to monitor tomcat
> remotely.
>
>
> ------------------
> 做自己
>
>
>
>
>
>
>
> ------------------ 原始邮件 ------------------
> 发件人: "Guang Chao";<gu...@gmail.com>;
> 发送时间: 2017年7月11日(星期二) 中午12:34
> 收件人: "Tomcat Users List"<us...@tomcat.apache.org>;
>
> 主题: Re: tomcat 8.5.16 silent exit without any error logs on ubuntu 16.04.2
>
>
>
> On Sun, Jul 9, 2017 at 7:10 PM, 李员外 <28...@qq.com> wrote:
>
> > There is any file name started with hs_err_, also has no any dumps under
> > the /tmp folder. Really helplessness...
> >
> >
> Can you try not using Tomcat from the package manager?  Just download for
> example
> http://www-us.apache.org/dist/tomcat/tomcat-8/v8.5.16/bin/
> apache-tomcat-8.5.16.zip
> put your app in the webapps directory and execute bin/startup.sh
>
>
> >
> > ------------------
> > 做自己
> >
> >
> >
> >
> >
> >
> >
> > ------------------ 原始邮件 ------------------
> > 发件人: "Greg Huber";<gr...@gmail.com>;
> > 发送时间: 2017年7月7日(星期五) 下午4:08
> > 收件人: "Tomcat Users List"<us...@tomcat.apache.org>;
> >
> > 主题: Re: tomcat 8.5.16 silent exit without any error logs on ubuntu
> 16.04.2
> >
> >
> >
> > Check /tmp for any dumps,  hs_err_pidxxxx.log if there is a jdk issue.
> >
> > Sometimes jsvc restarts for me :
> >
> > V  [libjvm.so+0x98f752]  oopDesc*
> > PSPromotionManager::copy_to_survivor_space<false>(oopDesc*)+0x162
> >
> >
> > On 7 July 2017 at 02:22, 李员外 <28...@qq.com> wrote:
> >
> > > Will try that. The RAM of machine is 8 GigaByte, 4-core CPU, even if
> > > silent exit is caused by Insufficient  memory, at least, tomcat would
> > > record error info to log file, right?
> > >
> > >
> > > Thanks in advance!
> > > ------------------
> > > 做自己
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > ------------------ 原始邮件 ------------------
> > > 发件人: "Guang Chao";<gu...@gmail.com>;
> > > 发送时间: 2017年7月7日(星期五) 上午8:26
> > > 收件人: "Tomcat Users List"<us...@tomcat.apache.org>;
> > >
> > > 主题: Re: tomcat 8.5.16 silent exit without any error logs on ubuntu
> > 16.04.2
> > >
> > >
> > >
> > > How much RAM your hardware have?  Have you tried installing Tomcat from
> > > download and make it  a service through your own init scripts?  (E.g.
> > > https://gist.github.com/miglen/5590986)
> > >
> > > On Fri, Jul 7, 2017 at 12:40 AM, 李员外 <28...@qq.com> wrote:
> > >
> > > > Hi, guys
> > > >
> > > >
> > > > I use tomcat 8.5.16, and I found at least 5 times tomcat silent exit
> > > > without any error logs after keep running 2-3 days, that means
> > > catalina.out
> > > > has no error info located in /opt/apache-tomcat-8.5.16/logs/.
> > > > And application log file also has no error info.
> > > > I do not know why? How should I to find out reason?
> > > >
> > > >
> > > > Please help me!
> > > > Thanks in advance!
> > > >
> > > >
> > > >
> > > >
> > > > ------------------
> > > > 做自己
> > >
> > >
> > >
> > >
> > > --
> > > Guang <http://javadevnotes.com/java-string-contains-examples/>
> >
>
>
>
> --
> Guang <http://javadevnotes.com/java-int-array-examples/>




-- 
Guang <http://javadevnotes.com/java-initialize-array-examples/>

回复: tomcat 8.5.16 silent exit without any error logs on ubuntu 16.04.2

Posted by 李员外 <28...@qq.com>.
Yes,  I have done that in fact. I download zip file, and unzip, then chmod 777 startup.sh.  Problems love me still. I am trying to monitor tomcat remotely. 


------------------
做自己


 




------------------ 原始邮件 ------------------
发件人: "Guang Chao";<gu...@gmail.com>;
发送时间: 2017年7月11日(星期二) 中午12:34
收件人: "Tomcat Users List"<us...@tomcat.apache.org>; 

主题: Re: tomcat 8.5.16 silent exit without any error logs on ubuntu 16.04.2



On Sun, Jul 9, 2017 at 7:10 PM, 李员外 <28...@qq.com> wrote:

> There is any file name started with hs_err_, also has no any dumps under
> the /tmp folder. Really helplessness...
>
>
Can you try not using Tomcat from the package manager?  Just download for
example
http://www-us.apache.org/dist/tomcat/tomcat-8/v8.5.16/bin/apache-tomcat-8.5.16.zip
put your app in the webapps directory and execute bin/startup.sh


>
> ------------------
> 做自己
>
>
>
>
>
>
>
> ------------------ 原始邮件 ------------------
> 发件人: "Greg Huber";<gr...@gmail.com>;
> 发送时间: 2017年7月7日(星期五) 下午4:08
> 收件人: "Tomcat Users List"<us...@tomcat.apache.org>;
>
> 主题: Re: tomcat 8.5.16 silent exit without any error logs on ubuntu 16.04.2
>
>
>
> Check /tmp for any dumps,  hs_err_pidxxxx.log if there is a jdk issue.
>
> Sometimes jsvc restarts for me :
>
> V  [libjvm.so+0x98f752]  oopDesc*
> PSPromotionManager::copy_to_survivor_space<false>(oopDesc*)+0x162
>
>
> On 7 July 2017 at 02:22, 李员外 <28...@qq.com> wrote:
>
> > Will try that. The RAM of machine is 8 GigaByte, 4-core CPU, even if
> > silent exit is caused by Insufficient  memory, at least, tomcat would
> > record error info to log file, right?
> >
> >
> > Thanks in advance!
> > ------------------
> > 做自己
> >
> >
> >
> >
> >
> >
> >
> > ------------------ 原始邮件 ------------------
> > 发件人: "Guang Chao";<gu...@gmail.com>;
> > 发送时间: 2017年7月7日(星期五) 上午8:26
> > 收件人: "Tomcat Users List"<us...@tomcat.apache.org>;
> >
> > 主题: Re: tomcat 8.5.16 silent exit without any error logs on ubuntu
> 16.04.2
> >
> >
> >
> > How much RAM your hardware have?  Have you tried installing Tomcat from
> > download and make it  a service through your own init scripts?  (E.g.
> > https://gist.github.com/miglen/5590986)
> >
> > On Fri, Jul 7, 2017 at 12:40 AM, 李员外 <28...@qq.com> wrote:
> >
> > > Hi, guys
> > >
> > >
> > > I use tomcat 8.5.16, and I found at least 5 times tomcat silent exit
> > > without any error logs after keep running 2-3 days, that means
> > catalina.out
> > > has no error info located in /opt/apache-tomcat-8.5.16/logs/.
> > > And application log file also has no error info.
> > > I do not know why? How should I to find out reason?
> > >
> > >
> > > Please help me!
> > > Thanks in advance!
> > >
> > >
> > >
> > >
> > > ------------------
> > > 做自己
> >
> >
> >
> >
> > --
> > Guang <http://javadevnotes.com/java-string-contains-examples/>
>



-- 
Guang <http://javadevnotes.com/java-int-array-examples/>

Re: tomcat 8.5.16 silent exit without any error logs on ubuntu 16.04.2

Posted by Guang Chao <gu...@gmail.com>.
On Sun, Jul 9, 2017 at 7:10 PM, 李员外 <28...@qq.com> wrote:

> There is any file name started with hs_err_, also has no any dumps under
> the /tmp folder. Really helplessness...
>
>
Can you try not using Tomcat from the package manager?  Just download for
example
http://www-us.apache.org/dist/tomcat/tomcat-8/v8.5.16/bin/apache-tomcat-8.5.16.zip
put your app in the webapps directory and execute bin/startup.sh


>
> ------------------
> 做自己
>
>
>
>
>
>
>
> ------------------ 原始邮件 ------------------
> 发件人: "Greg Huber";<gr...@gmail.com>;
> 发送时间: 2017年7月7日(星期五) 下午4:08
> 收件人: "Tomcat Users List"<us...@tomcat.apache.org>;
>
> 主题: Re: tomcat 8.5.16 silent exit without any error logs on ubuntu 16.04.2
>
>
>
> Check /tmp for any dumps,  hs_err_pidxxxx.log if there is a jdk issue.
>
> Sometimes jsvc restarts for me :
>
> V  [libjvm.so+0x98f752]  oopDesc*
> PSPromotionManager::copy_to_survivor_space<false>(oopDesc*)+0x162
>
>
> On 7 July 2017 at 02:22, 李员外 <28...@qq.com> wrote:
>
> > Will try that. The RAM of machine is 8 GigaByte, 4-core CPU, even if
> > silent exit is caused by Insufficient  memory, at least, tomcat would
> > record error info to log file, right?
> >
> >
> > Thanks in advance!
> > ------------------
> > 做自己
> >
> >
> >
> >
> >
> >
> >
> > ------------------ 原始邮件 ------------------
> > 发件人: "Guang Chao";<gu...@gmail.com>;
> > 发送时间: 2017年7月7日(星期五) 上午8:26
> > 收件人: "Tomcat Users List"<us...@tomcat.apache.org>;
> >
> > 主题: Re: tomcat 8.5.16 silent exit without any error logs on ubuntu
> 16.04.2
> >
> >
> >
> > How much RAM your hardware have?  Have you tried installing Tomcat from
> > download and make it  a service through your own init scripts?  (E.g.
> > https://gist.github.com/miglen/5590986)
> >
> > On Fri, Jul 7, 2017 at 12:40 AM, 李员外 <28...@qq.com> wrote:
> >
> > > Hi, guys
> > >
> > >
> > > I use tomcat 8.5.16, and I found at least 5 times tomcat silent exit
> > > without any error logs after keep running 2-3 days, that means
> > catalina.out
> > > has no error info located in /opt/apache-tomcat-8.5.16/logs/.
> > > And application log file also has no error info.
> > > I do not know why? How should I to find out reason?
> > >
> > >
> > > Please help me!
> > > Thanks in advance!
> > >
> > >
> > >
> > >
> > > ------------------
> > > 做自己
> >
> >
> >
> >
> > --
> > Guang <http://javadevnotes.com/java-string-contains-examples/>
>



-- 
Guang <http://javadevnotes.com/java-int-array-examples/>

回复: tomcat 8.5.16 silent exit without any error logs on ubuntu 16.04.2

Posted by 李员外 <28...@qq.com>.
There is any file name started with hs_err_, also has no any dumps under the /tmp folder. Really helplessness...


------------------
做自己


 




------------------ 原始邮件 ------------------
发件人: "Greg Huber";<gr...@gmail.com>;
发送时间: 2017年7月7日(星期五) 下午4:08
收件人: "Tomcat Users List"<us...@tomcat.apache.org>; 

主题: Re: tomcat 8.5.16 silent exit without any error logs on ubuntu 16.04.2



Check /tmp for any dumps,  hs_err_pidxxxx.log if there is a jdk issue.

Sometimes jsvc restarts for me :

V  [libjvm.so+0x98f752]  oopDesc*
PSPromotionManager::copy_to_survivor_space<false>(oopDesc*)+0x162


On 7 July 2017 at 02:22, 李员外 <28...@qq.com> wrote:

> Will try that. The RAM of machine is 8 GigaByte, 4-core CPU, even if
> silent exit is caused by Insufficient  memory, at least, tomcat would
> record error info to log file, right?
>
>
> Thanks in advance!
> ------------------
> 做自己
>
>
>
>
>
>
>
> ------------------ 原始邮件 ------------------
> 发件人: "Guang Chao";<gu...@gmail.com>;
> 发送时间: 2017年7月7日(星期五) 上午8:26
> 收件人: "Tomcat Users List"<us...@tomcat.apache.org>;
>
> 主题: Re: tomcat 8.5.16 silent exit without any error logs on ubuntu 16.04.2
>
>
>
> How much RAM your hardware have?  Have you tried installing Tomcat from
> download and make it  a service through your own init scripts?  (E.g.
> https://gist.github.com/miglen/5590986)
>
> On Fri, Jul 7, 2017 at 12:40 AM, 李员外 <28...@qq.com> wrote:
>
> > Hi, guys
> >
> >
> > I use tomcat 8.5.16, and I found at least 5 times tomcat silent exit
> > without any error logs after keep running 2-3 days, that means
> catalina.out
> > has no error info located in /opt/apache-tomcat-8.5.16/logs/.
> > And application log file also has no error info.
> > I do not know why? How should I to find out reason?
> >
> >
> > Please help me!
> > Thanks in advance!
> >
> >
> >
> >
> > ------------------
> > 做自己
>
>
>
>
> --
> Guang <http://javadevnotes.com/java-string-contains-examples/>

Re: tomcat 8.5.16 silent exit without any error logs on ubuntu 16.04.2

Posted by Greg Huber <gr...@gmail.com>.
Check /tmp for any dumps,  hs_err_pidxxxx.log if there is a jdk issue.

Sometimes jsvc restarts for me :

V  [libjvm.so+0x98f752]  oopDesc*
PSPromotionManager::copy_to_survivor_space<false>(oopDesc*)+0x162


On 7 July 2017 at 02:22, 李员外 <28...@qq.com> wrote:

> Will try that. The RAM of machine is 8 GigaByte, 4-core CPU, even if
> silent exit is caused by Insufficient  memory, at least, tomcat would
> record error info to log file, right?
>
>
> Thanks in advance!
> ------------------
> 做自己
>
>
>
>
>
>
>
> ------------------ 原始邮件 ------------------
> 发件人: "Guang Chao";<gu...@gmail.com>;
> 发送时间: 2017年7月7日(星期五) 上午8:26
> 收件人: "Tomcat Users List"<us...@tomcat.apache.org>;
>
> 主题: Re: tomcat 8.5.16 silent exit without any error logs on ubuntu 16.04.2
>
>
>
> How much RAM your hardware have?  Have you tried installing Tomcat from
> download and make it  a service through your own init scripts?  (E.g.
> https://gist.github.com/miglen/5590986)
>
> On Fri, Jul 7, 2017 at 12:40 AM, 李员外 <28...@qq.com> wrote:
>
> > Hi, guys
> >
> >
> > I use tomcat 8.5.16, and I found at least 5 times tomcat silent exit
> > without any error logs after keep running 2-3 days, that means
> catalina.out
> > has no error info located in /opt/apache-tomcat-8.5.16/logs/.
> > And application log file also has no error info.
> > I do not know why? How should I to find out reason?
> >
> >
> > Please help me!
> > Thanks in advance!
> >
> >
> >
> >
> > ------------------
> > 做自己
>
>
>
>
> --
> Guang <http://javadevnotes.com/java-string-contains-examples/>