I’m running Ubuntu on Win 10 with WSL subsystem. My shell is ksh. After idle periods of not using the shell – can be several hours or just a few minutes – it turns unresponsive. A given shell can be in use for several weeks without issue, or it can hang several times a day. I’ve been unable to detect any correlation with other Win activity.
Tried suggestions for restarting Ubuntu (for ex: Rebooting Ubuntu on Windows without rebooting Windows?) without success.
What does work is a simple Windows Hibernate. After restore, the shell becomes responsive with its history intact. If multiple shells are open, they all hang at the same time; returning from hibernation, they all become perfectly responsive.
It’s not version specific: it happens about as often with 22.04 and prior std releases such as 18.04.
Is there any command / PS that can “poke” the subsystem back to awareness?
Tnx