sapk / docker-volume-rclone

Use Rclone as a backend for docker volume (also as a plugin). This permit to easely mount a lot of cloud provider (https://rclone.org/overview).
MIT License
110 stars 9 forks source link

rclone zombie process #50

Closed everyx closed 3 years ago

everyx commented 3 years ago

Description

I found that I have 15214 zombie processes and all of it is rclone, It should created by the rclone driver plugin.

Logs

~ ps -ef | grep defunct
......
root     4174981 3423939  0 Jan04 ?        00:00:00 [bash] <defunct>
root     4175109 3423939  0 Jan04 ?        00:00:00 [rclone] <defunct>
root     4175111 3423939  0 Jan04 ?        00:00:00 [bash] <defunct>
root     4177840 3423939  0 Jan04 ?        00:00:00 [rclone] <defunct>
root     4177842 3423939  0 Jan04 ?        00:00:00 [bash] <defunct>
root     4177964 3423939  0 Jan04 ?        00:00:00 [rclone] <defunct>
root     4177966 3423939  0 Jan04 ?        00:00:00 [bash] <defunct>
root     4179121 3423939  0 Jan04 ?        00:00:00 [rclone] <defunct>
root     4179123 3423939  0 Jan04 ?        00:00:00 [bash] <defunct>
root     4179257 3423939  0 Jan04 ?        00:00:00 [rclone] <defunct>
root     4179260 3423939  0 Jan04 ?        00:00:00 [bash] <defunct>
root     4183322 3423939  0 Jan04 ?        00:00:00 [rclone] <defunct>
root     4183324 3423939  0 Jan04 ?        00:00:00 [bash] <defunct>
root     4183446 3423939  0 Jan04 ?        00:00:00 [rclone] <defunct>
root     4183448 3423939  0 Jan04 ?        00:00:00 [bash] <defunct>
root     4184028 3423939  0 Jan04 ?        00:00:00 [rclone] <defunct>
root     4184030 3423939  0 Jan04 ?        00:00:00 [bash] <defunct>
root     4184169 3423939  0 Jan04 ?        00:00:00 [rclone] <defunct>
root     4184171 3423939  0 Jan04 ?        00:00:00 [bash] <defunct>
root     4186349 3423939  0 Jan04 ?        00:00:00 [rclone] <defunct>
root     4186351 3423939  0 Jan04 ?        00:00:00 [bash] <defunct>
root     4186477 3423939  0 Jan04 ?        00:00:00 [rclone] <defunct>
root     4186479 3423939  0 Jan04 ?        00:00:00 [bash] <defunct>
root     4189842 3423939  0 Jan04 ?        00:00:00 [rclone] <defunct>
root     4189844 3423939  0 Jan04 ?        00:00:00 [bash] <defunct>
root     4189991 3423939  0 Jan04 ?        00:00:00 [rclone] <defunct>
root     4189994 3423939  0 Jan04 ?        00:00:00 [bash] <defunct>
root     4193821 3423939  0 Jan04 ?        00:00:00 [rclone] <defunct>
root     4193823 3423939  0 Jan04 ?        00:00:00 [bash] <defunct>
root     4193946 3423939  0 Jan04 ?        00:00:00 [rclone] <defunct>
root     4193948 3423939  0 Jan04 ?        00:00:00 [bash] <defunct>
root     4194268 3423939  0 Jan04 ?        00:00:00 [rclone] <defunct>
root     4194270 3423939  0 Jan04 ?        00:00:00 [bash] <defunct>
......
sapk commented 3 years ago

Yes that a known issue because I didn't use a supervisor managing signals without it rclone/mount process is not released completly. I will try to fix this if it is quick but currently I try to integrate the docker plugin logic in mainstream rclone that way the supervisor is uneeded.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

everyx commented 3 years ago

@sapk Is there any new information on this issue?

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.