# Failed to remove pidfile on close

**URL:** https://discourse.julialang.org/t/failed-to-remove-pidfile-on-close/111497
**Category:** Performance
**Tags:** question, parallel, distributed
**Created:** [March 12, 2024, 1:38am UTC](https://discourse.julialang.org/t/failed-to-remove-pidfile-on-close/111497 "2024-03-12T01:38:53Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![math\_opt](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/math_opt/32/25317_2.png) [@math\_opt](https://discourse.julialang.org/u/math_opt)
#### Post date: [March 12, 2024, 1:38am UTC](https://discourse.julialang.org/t/failed-to-remove-pidfile-on-close/111497/1 "2024-03-12T01:38:53Z")

</div>

I am trying to run a Julia script on a Linux cluster, and I see the following warning/error. I use `Distributed.jl` package to `addprocs`. It would be helpful if someone could point at the exact cause and help resolve it!

```julia
 From worker 32:	â”Œ Warning: failed to remove pidfile on close
      From worker 32:	â”‚ path = "/.julia/logs/manifest_usage.toml.pid"
      From worker 32:	â”‚ removed = IOError: unlink("/.julia/logs/manifest_usage.toml.pid"): no such file or directory (ENOENT)
      From worker 32:	â”” @ FileWatching.Pidfile /software/julia-1.9.3/share/julia/stdlib/v1.9/FileWatching/src/pidfile.jl:313
      From worker 30:	â”Œ Warning: failed to remove pidfile on close
      From worker 30:	â”‚ path = "/.julia/logs/manifest_usage.toml.pid"
      From worker 30:	â”‚ removed = IOError: unlink("/.julia/logs/manifest_usage.toml.pid"): no such file or directory (ENOENT)
      From worker 30:	â”” @ FileWatching.Pidfile /julia1.9.3/share/julia/stdlib/v1.9/FileWatching/src/pidfile.jl:313
      From worker 58:	â”Œ Warning: attempting to remove probably stale pidfile
      From worker 58:	â”‚ path = "/.julia/logs/manifest_usage.toml.pid"
      From worker 58:	â”” @ FileWatching.Pidfile /julia-1.9.3/share/julia/stdlib/v1.9/FileWatching/src/pidfile.jl:244
      From worker 3:	â”Œ Warning: failed to remove pidfile on close
      From worker 3:	â”‚ path = "/.julia/logs/manifest_usage.toml.pid"
      From worker 3:	â”‚ removed = false
      From worker 3:	â”” @ FileWatching.Pidfile /julia-1.9.3/share/julia/stdlib/v1.9/FileWatching/src/pidfile.jl:313

```

I do not always get this warning but only sometimes; hence, I cannot provide an MWE here. But anything on what might be causing it and a potential solution is appreciated. Thanks!
