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

2017-07-11 Thread Guang Chao
Can you try "grep -i 'killed process' /var/log/messages"

On Tue, Jul 11, 2017 at 12:49 PM, 李员外 <281170...@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";<guang.chao.1...@gmail.com>;
> 发送时间: 2017年7月11日(星期二) 中午12:34
> 收件人: "Tomcat Users List"<users@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, 李员外 <281170...@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";<gregh3...@gmail.com>;
> > 发送时间: 2017年7月7日(星期五) 下午4:08
> > 收件人: "Tomcat Users List"<users@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_pid.log if there is a jdk issue.
> >
> > Sometimes jsvc restarts for me :
> >
> > V  [libjvm.so+0x98f752]  oopDesc*
> > PSPromotionManager::copy_to_survivor_space(oopDesc*)+0x162
> >
> >
> > On 7 July 2017 at 02:22, 李员外 <281170...@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";<guang.chao.1...@gmail.com>;
> > > 发送时间: 2017年7月7日(星期五) 上午8:26
> > > 收件人: "Tomcat Users List"<users@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, 李员外 <281170...@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/>


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

2017-07-11 Thread Suvendu Sekhar Mondal
>> >
>> > On Fri, Jul 7, 2017 at 12:40 AM, 李员外 <281170...@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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



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

2017-07-10 Thread Guang Chao
On Sun, Jul 9, 2017 at 7:10 PM, 李员外 <281170...@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";<gregh3...@gmail.com>;
> 发送时间: 2017年7月7日(星期五) 下午4:08
> 收件人: "Tomcat Users List"<users@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_pid.log if there is a jdk issue.
>
> Sometimes jsvc restarts for me :
>
> V  [libjvm.so+0x98f752]  oopDesc*
> PSPromotionManager::copy_to_survivor_space(oopDesc*)+0x162
>
>
> On 7 July 2017 at 02:22, 李员外 <281170...@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";<guang.chao.1...@gmail.com>;
> > 发送时间: 2017年7月7日(星期五) 上午8:26
> > 收件人: "Tomcat Users List"<users@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, 李员外 <281170...@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

2017-07-07 Thread Greg Huber
Check /tmp for any dumps,  hs_err_pid.log if there is a jdk issue.

Sometimes jsvc restarts for me :

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


On 7 July 2017 at 02:22, 李员外 <281170...@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";<guang.chao.1...@gmail.com>;
> 发送时间: 2017年7月7日(星期五) 上午8:26
> 收件人: "Tomcat Users List"<users@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, 李员外 <281170...@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

2017-07-06 Thread Guang Chao
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, 李员外 <281170...@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 


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

2017-07-06 Thread Mark Thomas
On 6 July 2017 17:40:31 BST, "李员外" <281170...@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? 

Google for Linux out of memory killer.

Mark

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