bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Running bash using su -c causes 100% cpu usage on one core


From: Marcus Wichelmannn
Subject: Re: Running bash using su -c causes 100% cpu usage on one core
Date: Mon, 4 Jan 2016 19:03:39 +0100

Am Mo, 4. Jan, 2016 um 3:32 schrieb Chet Ramey <chet.ramey@case.edu>:
On 1/4/16 9:01 AM, Marcus Wichelmannn wrote: utput from htop (the first process has a cpu usage of 100%):
PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command 2199 cubie 20 0 44168 15484 7552 R 101. 1.7 11:45.44 /usr/bin/cli ./Haussteuerung
What is /usr/bin/cli? It's the program that is using the CPU.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/

Afaik it's a symlink to /usr/bin/mono.

I solved my issue by replacing the line in /etc/rc.local by:

su cubie -c "screen -S Haussteuerung -d -m /home/cubie/Haussteuerung/Haussteuerung/run.sh"

But this is no fix of this bug for sure.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]