[systemd-devel] idle home NFS gets unmounted although user is still logged in

Frank Steiner fsteiner-mail1 at bio.ifi.lmu.de
Tue May 16 11:54:07 UTC 2023


I changed the idle-time to 1 minute for debugging. What I can see
20 seconds before the umount happens:

bioserver3 /etc/systemd# lsof /home/b
COMMAND     PID    USER   FD   TYPE DEVICE SIZE/OFF      NODE NAME
jupyterhu 14150 biouser  cwd    DIR  0,107     4096 134348997 /home/b/biouser (<server>:/b)
jupyterhu 14150 biouser   10u   REG  0,107    16384 151474490 /home/b/biouser/.local/share/jupyter/nbsignatures.db (<server>:/b)
python3.1 14195 biouser  cwd    DIR  0,107     4096 134348997 /home/b/biouser (<server>:/b)
python3.1 14195 biouser   45u   REG  0,107    28672 134367744 /home/b/biouser/.ipython/profile_default/history.sqlite (<server>:/b)
python3.1 14195 biouser   47u   REG  0,107    28672 134367744 /home/b/biouser/.ipython/profile_default/history.sqlite (<server>:/b)
R         14198 biouser  cwd    DIR  0,107     4096 134348997 /home/b/biouser (<server>:/b)
R         14198 biouser    3u   REG  0,107       18 134945871 /home/b/biouser/tmp/.nfs00000000080b1c4f000000c2 (<server>:/b)

So, that's very far from the nfs mount being idle, but 20 seconds later
the mount gets removed.

When I chdir (as root) into /home/b, the mount stays and the user's
jupyterhub session keeps running (tested for 30 minutes). When I chdir
away from /home/b, the mount is removed a minute later.

How can /home/b be considered idle with the above processes running..?



cu,
Frank



-- 
Dipl.-Inform. Frank Steiner   Web:  http://www.bio.ifi.lmu.de/~steiner/
Lehrstuhl f. Bioinformatik    Mail: http://www.bio.ifi.lmu.de/~steiner/m/
LMU, Amalienstr. 17           Phone: +49 89 2180-4049
80333 Muenchen, Germany       Fax:   +49 89 2180-99-4049
* Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. *



More information about the systemd-devel mailing list