Thread
:
dbus script execution is stuck in processes
View Single Post
impeham
2013-05-31 , 17:51
Posts: 669 | Thanked: 433 times | Joined on May 2010
#
1
I noticed an issue that happens from time to time on my device and am wondering why it happens and how it can be solved:
i have this line in dbus-scripts-settings:
/home/user/smart/eventhandling/chargerconnect * * com.nokia.bme.signal charger_connected
this is the content of "chargerconnect"
-----
#!/bin/sh
echo 1 > /home/user/smart/flags/chargerconnected
-----
sometimes (not consistent when i connect the charger) i can find the process "/home/user/smart/eventhandling/chargerconnect" in the list of processes stuck - it does not end, and cannot be killed with "kill -9". when this happens, dbus-scripts stops sending other dbus signals defined in "dbus-scripts-settings" - to make it work again, i must do:
killall dbus-scripts
but the process "/home/user/smart/eventhandling/chargerconnect" will still be in the process list - until the device will be restarted
Quote & Reply
|
impeham
View Public Profile
Send a private message to impeham
Visit impeham's homepage!
Find all posts by impeham