You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@kylin.apache.org by 彭鱼宴 <46...@qq.com> on 2018/07/03 07:02:02 UTC

How could I monitor the kylin process under Supervisor tool correctly?

Hi,


I sent this mail in the earlier today, but I didn't receive the "user-return" mail and reply, I doubted that I didn't send the mail successfully.


I resend the mail now with the detail of my question, if there is some disturb, I'm really sorry.


In the system I use now, I use supervisor to monitor the process I run. And, I also add the kylin process into the supervisor mode. After I installing and deploying Kylin successfully, the supervisor could monitor the kylin process, just as the screenshot shows.

However, after about 90 seconds, the supervisor told me that kylin is restarting.

Finally, the supervisor couldn't monitor the kylin process.

Then, I checked the kylin log, I found that it auto restart many times.

I think maybe the reason is kylin would start and run as the background process, however, the supervisor seems only monitor the resident process, and as a result, he cannot monitor the status of kylin process correctly.


I wonder, how could we use the supervisor to monitor the status of kylin process correctly? In other words,  could we start the kylin and run it as resident process, instead of background process? If we could do this, we could manage the kylin process under supervisor easily and conveniently.


Looking forward to your reply and help. As a rookie to use the kylin, I really appreciate for your patience and help.


Best,
Zhefu Peng

回复: How could I monitor the kylin process under Supervisor tool correctly?

Posted by 彭鱼宴 <46...@qq.com>.
Hi Shaofeng,


I will try and if I find something useful I would share it. Thanks for your help and reply.


Best,
Zhefu Peng


------------------ 原始邮件 ------------------
发件人: "ShaoFeng Shi"<sh...@apache.org>;
发送时间: 2018年7月3日(星期二) 下午3:15
收件人: "user"<us...@kylin.apache.org>;

主题: Re: How could I monitor the kylin process under Supervisor tool correctly?



Hi Zhefu,

I didn't use supervisor, no experience in this case. But as you know Kylin starts in tomcat as a web application, by default Tomcat starts as a background process. Maybe you need to investigate how to make Tomcat run as a resident process.


The bin/kylin.sh, you can search "org.apache.catalina.startup.Bootstrap", where is how Kylin gets started.


Please share your finding if you make it. Thank you!


2018-07-03 15:02 GMT+08:00 彭鱼宴 <46...@qq.com>:
Hi,


I sent this mail in the earlier today, but I didn't receive the "user-return" mail and reply, I doubted that I didn't send the mail successfully.


I resend the mail now with the detail of my question, if there is some disturb, I'm really sorry.


In the system I use now, I use supervisor to monitor the process I run. And, I also add the kylin process into the supervisor mode. After I installing and deploying Kylin successfully, the supervisor could monitor the kylin process, just as the screenshot shows.

However, after about 90 seconds, the supervisor told me that kylin is restarting.

Finally, the supervisor couldn't monitor the kylin process.

Then, I checked the kylin log, I found that it auto restart many times.

I think maybe the reason is kylin would start and run as the background process, however, the supervisor seems only monitor the resident process, and as a result, he cannot monitor the status of kylin process correctly.


I wonder, how could we use the supervisor to monitor the status of kylin process correctly? In other words,  could we start the kylin and run it as resident process, instead of background process? If we could do this, we could manage the kylin process under supervisor easily and conveniently.


Looking forward to your reply and help. As a rookie to use the kylin, I really appreciate for your patience and help.


Best,
Zhefu Peng







-- 
Best regards,

Shaofeng Shi 史少锋

Re: How could I monitor the kylin process under Supervisor tool correctly?

Posted by ShaoFeng Shi <sh...@apache.org>.
Hi Zhefu,

I didn't use supervisor, no experience in this case. But as you know Kylin
starts in tomcat as a web application, by default Tomcat starts as
a background process. Maybe you need to investigate how to make Tomcat run
as a resident process.

The bin/kylin.sh, you can search "org.apache.catalina.startup.Bootstrap",
where is how Kylin gets started.

Please share your finding if you make it. Thank you!

2018-07-03 15:02 GMT+08:00 彭鱼宴 <46...@qq.com>:

> Hi,
>
> I sent this mail in the earlier today, but I didn't receive the
> "user-return" mail and reply, I doubted that I didn't send the mail
> successfully.
>
> I resend the mail now with the detail of my question, if there is some
> disturb, I'm really sorry.
>
> In the system I use now, I use supervisor to monitor the process I run.
> And, I also add the kylin process into the supervisor mode. After I
> installing and deploying Kylin successfully, the supervisor could monitor
> the kylin process, just as the screenshot shows.
> However, after about 90 seconds, the supervisor told me that kylin is
> restarting.
> Finally, the supervisor couldn't monitor the kylin process.
> Then, I checked the kylin log, I found that it auto restart many times.
> I think maybe the reason is kylin would start and run as the background
> process, however, the supervisor seems only monitor the resident process,
> and as a result, he cannot monitor the status of kylin process correctly.
>
> I wonder, how could we use the supervisor to monitor the status of kylin
> process correctly? In other words,  could we start the kylin and run it as
> resident process, instead of background process? If we could do this, we
> could manage the kylin process under supervisor easily and conveniently.
>
> Looking forward to your reply and help. As a rookie to use the kylin, I
> really appreciate for your patience and help.
>
> Best,
> Zhefu Peng
>



-- 
Best regards,

Shaofeng Shi 史少锋