Hi Frank,

On Wed, 16 Sep 2026, at 11:29 PM, Frank Richter wrote:
> I’m running cyrus-imapd version 3.10.3 on Debian 13. It occurs that in case 
> of a restart some files remain in proc_path (/run/cyrus/proc), so that 
> cyr_info proc shows information on non-existant processes.

That's interesting.  They're supposed to be cleaned up, but there's probably 
some edge case where they're not...

Which processes are leaving proc files behind, and how were those processes 
started/stopped?

> Is it safe to delete all files in proc_path during start?

It's safe if the shutdown fully completed and the corresponding processes 
aren't running anymore.  I would not assume this to be the case; I would check.

If processes are still running for some reason, it might be fine to remove 
their proc file, or it might cause the process to crash later when it tries to 
clean up after itself and exit.  I'm not sure.  If you've already restarted and 
then some leftover old process crashes, the logs will be confusing.

Cheers,

ellie

------------------------------------------
Cyrus: Info
Permalink: 
https://cyrus.topicbox.com/groups/info/T0f6b3349227a6176-M6dbd596035c13e8bee4d905c
Delivery options: https://cyrus.topicbox.com/groups/info/subscription

Reply via email to