Support #12634
closedResource leak in geonetwork processes
100%
Description
on geonetwork1-p-d4s.d4science.org (alias geonetwork.d4science.org) there are many deleted files with existing file system handles. At the moment they are quite 5500 files, 25 GB of deleted files still on the disk
They are all files like
-rw-r--r-- 0 gcube gcube 15K Oct 8 14:18 /proc/19315/fd/5683
lr-x------ 1 gcube gcube 64 Oct 8 18:06 /proc/19315/fd/5683 -> /home/gcube/tomcat/webapps/geonetwork/WEB-INF/lucene/nonspatial/_csf.cfs (deleted)
and many of them. es.
-rw-r--r-- 0 gcube gcube 258M Oct 7 12:00 /proc/19315/fd/5562
lr-x------ 1 gcube gcube 64 Oct 8 12:08 /proc/19315/fd/5562 -> /home/gcube/tomcat/webapps/geonetwork/WEB-INF/lucene/nonspatial/_coq.cfs (deleted)
are very big
All this is due to some processes runnning in tomcat
Probably we can't free the disk space without restart tomcat but this is a secondary problem, the first is to discover the cause.