I'm on 2.13.0a3 w/plone.recipe.zope2instanec-4.0.2. Under the scenario Martin described, exiting a fg with ctrl-c, the lock file is cleaned up for me. If I kill the service using Task Manager the lock file remains.

On Fri, Sep 3, 2010 at 12:33 PM, Sidnei da Silva <sidnei.da.silva@canonical.com> wrote:
On Fri, Sep 3, 2010 at 1:16 PM, Jim Pharis <binbrain@gmail.com> wrote:
> https://bugs.launchpad.net/collective.buildout/+bug/596839
>
> Killing a fg instance with ctrl-c isn't the only scenario where the lock and
> pid files don't get cleaned up.

I thought the problem was only the .pid file, not the .lock. Can you
confirm? The .lock file should go away if the process dies in any way,
but the .pid file seems to only be deleted on clean shutdown.

-- Sidnei