[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-hotspot-runtime-dev
Subject:    Re: A Bug about the JVM Attach mechanism
From:       Peter Levart <peter.levart () gmail ! com>
Date:       2019-06-22 7:52:18
Message-ID: 1cf535b7-507b-f2e8-d075-bdeb426e6e7e () gmail ! com
[Download RAW message or body]

Here's   a thread that describes why systemd-tmpfiles doesn't implement 
the --fuser option that tmpwatch does:

https://lists.freedesktop.org/archives/systemd-devel/2015-April/031339.html

The authors say the following:


/In almost all cases the atime checks we do should be fully sufficient//
//though. Do you have a case where they aren't?//
//
//(Note that we do compare all unix sockets we find with /proc/net/unix//
//though, which is relatively efficient still. Also, as unix sockets//
//which are actively used do not get their atime bumped this is kinda a//
//necessity to cover them nicely.)/


...meaning that /tmp/.java_pid<pid> which are UNIX sockets shouldn't be 
deleted by systemd-tmpfiles while still in use. Users of tmpwatch OTOH 
should enable the --fuser option.

Is this enough for you,   Nijiaben?


Regards, Peter

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic