tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: why not remove AF_LOCAL sockets on last close?

On Fri, Jun 25, 2010 at 06:54:16PM +0700, Robert Elz wrote:
> ps: my question of whether the application can do it is obviously
> intended to be rhetorical...

Except it's not.  The application really _can't_ -- without poking
in the kernel, you can't even tell if it's safe to clean them up
because the previously attached application exited or crashed.  So
they just accumulate, like stale SysV IPC objects, wasting inodes...

Thor Lancelot Simon                           
  "All of my opinions are consistent, but I cannot present them all
   at once."    -Jean-Jacques Rousseau, On The Social Contract

Home | Main Index | Thread Index | Old Index