[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Running bash using su -c causes 100% cpu usage on one core
From: |
Marcus Wichelmann |
Subject: |
Running bash using su -c causes 100% cpu usage on one core |
Date: |
Mon, 4 Jan 2016 00:27:45 +0100 |
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 /home/cubie/Haussteuerung/Haussteuerung; ./run.sh)" &
When executing run.sh (only calls a mono application and redirects the output
to a log file) from terminal the cpu usage behaves normally.
Im running the preinstalled bash version of cubieez on a cubieboard 2.
(I can check the bash version later if needed, no access to the board atm.)
Marcus Wichelmann
smime.p7s
Description: S/MIME cryptographic signature
- Running bash using su -c causes 100% cpu usage on one core,
Marcus Wichelmann <=
Re: Running bash using su -c causes 100% cpu usage on one core, Chet Ramey, 2016/01/04