Removing cps.* files from /tmp harmless?

I noticed that my server running inside Docker holds 315745 cps.* files in /tmp.

I’d assume that being temporary files they’re harmless to remove, but I’m not completely sure. I’ve a hard time figuring out what these are. Some search in the forum mentions metadata files, but nothing conclusive yet.

Any hints ?

Thanks in advance.

I guess, urbackup-server-docker/entrypoint.sh at latest · uroni/urbackup-server-docker · GitHub should clean them up?

Normally /tmp is a ramdisk or gets regularily cleaned by systemd.

Well… when using Portainer on a NAS, I’m not sure the container is recreated. Maybe just halted and restarted, thus not reexecuting the entrypoint ? :-/

Uh, @uroni I can’t see anything in the entrypoint which explicitely deals with these… care to point at the specific lines involved? Many thx

Yes, otherwise you’d not have the many files in your container…
This would need to be added, I guess. I just don’t know if this is best practice for Docker containers. Maybe there is a better way to handle /tmp.

1 Like

Ok, did it myself. Please test the latest image.