Thread: GPD Pocket
View Single Post
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#133
Originally Posted by thecursedfly View Post
  • booting up and shutting down is fast (I think you are getting the 90 sec delay due to some application not closing properly; I think you can see the underlying message by pressing the Up or Down key while you wait but not sure, I noticed that casually in one occasion)
This is the reason. By default systemd has 90s timeout when it sends SIGHUP to applications in shutdown, if somebody misbehaves and the timeout runs out, it will send SIGKILL to the raemining processes and wait another 90 seconds before forcing shutdown. Provided the stuck process is in D state it will not get the signal and the second timeout will also run thru; 90s+90s equals pretty close to 3 minutes....

In systemd-stable v238 the timeout has been made configurable, see commit e73c54b8

What you could do is enable persistent journal (if not already enabled in your system) and check what's the offending process.
 

The Following User Says Thank You to juiceme For This Useful Post: