-
Notifications
You must be signed in to change notification settings - Fork 49
Open
Description
I used to have the following code:
run.py
from tendo import singleton
me = singleton.SingleInstance(lockfile='running.lock') # will sys.exit(-1) if other instance is running
validated_profiles_queue = persistqueue.SQLiteQueue(
os.path.join(Settings.database_location_path, 'valid_users_q'),
auto_commit=True)
And some other process sent an kill for popen(run.py)
the process was still in memory since I used the singleton and the file was locked forever.
The issue was persistqueue.SQLiteQueue was not terminated .
Metadata
Metadata
Assignees
Labels
No labels