[systemd-devel] Systemd service consuming 100% cpu
Reindl Harald
h.reindl at thelounge.net
Fri Nov 23 14:48:46 UTC 2018
Am 23.11.18 um 14:03 schrieb deepan muthusamy:
> If I start my application manually, CPU consumption is less than 2%.
> If I start same application as system service, CPU consumption is more
> than 100%.
>
> There is no cout statements in my application.
>
> I tried to start under a */screen/* as system service. This time
> consumption has reduced little bit.
>
> I already asked this question and I got reply that the problem is not
> related to systemd, It is related to the application.
>
> But is there anything I have to add when I start as a service?
you need to debug your application with gdb / strace and find out what
happens - there is no generic answer without knowing the root cause
More information about the systemd-devel
mailing list