patrickdung2022 opened a new issue, #31030:
URL: https://github.com/apache/doris/issues/31030

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Version
   
   Doris 2.0.2
   
   ### What's Wrong?
   
   Source:
   https://github.com/apache/doris/blob/master/tools/systemd/doris-be.service
   https://github.com/apache/doris/blob/master/tools/systemd/doris-fe.service
   This setting may be fine on RHEL 8.
   
   When we run it on Amazon Linux 2023, it gives this warning:
   
   ```
   [REDACTED] systemd[1]: /etc/systemd/system/doris-be.service:33: Unit uses 
KillMode=none. This is unsafe, as it disables systemd's process lifecycle 
management for the service. Please update the service to use a safer KillMode=, 
such as 'mixed' or 'control-group'. Support for KillMode=none is deprecated and 
will eventually be removed.
   ```
   
   Per systemd manual, KillMode=none should not be used.
   Besides that, the 'systemd-252.16-1.amzn2023.0.1.x86_64' already warned 
future versions may not be able to use KillMode=None.
   
   ### What You Expected?
   
   No warning from systemd
   
   ### How to Reproduce?
   
   Just get the system systemd service script from Apache Doris.
   Copy to /etc/systemd/system
   Run ```systemctl status doris-fe.service``` or ```systemctl status 
doris-be.service```
   
   We would like to know if ```KillMode=mixed``` should be used instead. Thanks.
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to