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

2016-01-04 Thread Chet Ramey
On 1/4/16 1:03 PM, Marcus Wichelmannn wrote: > 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. M

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

2016-01-04 Thread Greg Wooledge
On Mon, Jan 04, 2016 at 07:03:39PM +0100, Marcus Wichelmannn wrote: > Am Mo, 4. Jan, 2016 um 3:32 schrieb Chet Ramey : > >What is /usr/bin/cli? It's the program that is using the CPU. > > Afaik it's a symlink to /usr/bin/mono. > > I solved my issue by replacing the line in /etc/rc.local by: > >

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

2016-01-04 Thread Marcus Wichelmannn
Am Mo, 4. Jan, 2016 um 3:32 schrieb Chet Ramey : 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

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

2016-01-04 Thread Chet Ramey
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 tha

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

2016-01-04 Thread Marcus Wichelmannn
Am Mo, 4. Jan, 2016 um 2:51 schrieb Eduardo A. Bustamante López : It's impossible to tell with the amount of info you provided. That's why there's a 'bashbug' script alongside bash to generate a useful bug report template. Provide: - bash version: bash --version - OS name and version: uname -

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

2016-01-04 Thread Chet Ramey
On 1/3/16 6:27 PM, Marcus Wichelmann wrote: > Hi, > > Im not sure if this is a regression because I already found another bug > report with the same symptoms from 2007, but when adding this line to the > /etc/rc.local the cpu usage of one of the two cores raises to 100%: > > su cubie -c "(cd /h

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

2016-01-03 Thread Eduardo A . Bustamante López
It's impossible to tell with the amount of info you provided. That's why there's a 'bashbug' script alongside bash to generate a useful bug report template. Provide: - bash version: bash --version - OS name and version: uname -a - The contents of the run.sh file - If possible also the su version