Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Daemon process cannot survive suspend

Tags:

c

linux

daemon

I am writing daemon application for Debian Sid. It works perfectly most of the times, but dies silently after i put my laptop to suspend (or hibernate). So i have a couple of questions:

  1. What should I Google for solutions?
  2. Maybe, you have any ideas what is going on?
like image 921
Matvey Aksenov Avatar asked Mar 27 '26 15:03

Matvey Aksenov


1 Answers

Try strace-ing the daemon to see what is the reason it dies silently. Generally, suspend/hibernate alone should have no effect on user processes.

like image 50
jpalecek Avatar answered Mar 30 '26 07:03

jpalecek