Comment 3 for bug 1532544

Revision history for this message
Artem S. (arano) wrote :

Please raise improtance of the issue. It's not Low!

indicator-sound.log very quickly eats all free space. It also tries to do this constantly. My 13G of free space it took in less then hour.

And since it tries to write log line tens times in a second, I have got several apps that lost their settings, because when they tried to save them (overwrite files with settings) they failed to do this and wrote file with 0 size. All settings were lost.

It's huge impact.

I had to create script to protect me from this:
------------------------------
 ~ -> cat ~/.local/indicator-workaround.sh
#!/bin/bash

echo $(date) "Check for indicator-sound size"

if [ $(stat -c %s ~/.cache/upstart/indicator-sound.log) -ge 10000000 ] ; then
    echo $(date) "Killing indicator-sound!"
    rm ~/.cache/upstart/indicator-sound.log
    pkill -f indicator-sound-service
------------------------------

And add it to 'crontab -e':
-----------------------------
SHELL=/bin/bash

*/5 * * * * ~/.local/indicator-workaround.sh >>~/.cache/cron.log 2>&1
-----------------------------