diameter / rtorrent-rutorrent

Docker container with supervisor/rtorrent/nginx/ruTorrent 64/32 bit
155 stars 72 forks source link

.rutorrent owner 33 and lot of "reaped unknown pid" #36

Open Vagabon666 opened 7 years ago

Vagabon666 commented 7 years ago

Hello,

I make an install with "-e USR_ID=1038 -e GRP_ID=100" options and ".rutorrent" solder owner is still "33" , is it normal ?

I also have a lot of "reaped unknown pid" in my log : 24/04/2017 19:24 stdout 2017-04-24 19:24:09,031 INFO reaped unknown pid 68 24/04/2017 19:24 stdout 2017-04-24 19:24:24,029 INFO reaped unknown pid 70 24/04/2017 19:24 stdout 2017-04-24 19:24:39,029 INFO reaped unknown pid 72 24/04/2017 19:24 stdout 2017-04-24 19:24:54,029 INFO reaped unknown pid 74 24/04/2017 19:24 stdout 2017-04-24 19:24:55,036 INFO reaped unknown pid 76 24/04/2017 19:25 stdout 2017-04-24 19:25:09,030 INFO reaped unknown pid 78 24/04/2017 19:25 stdout 2017-04-24 19:25:24,029 INFO reaped unknown pid 80 24/04/2017 19:25 stdout 2017-04-24 19:25:39,030 INFO reaped unknown pid 82 24/04/2017 19:25 stdout 2017-04-24 19:25:54,030 INFO reaped unknown pid 84 24/04/2017 19:25 stdout 2017-04-24 19:25:55,037 INFO reaped unknown pid 86 24/04/2017 19:26 stdout 2017-04-24 19:26:09,030 INFO reaped unknown pid 88 24/04/2017 19:26 stdout 2017-04-24 19:26:24,030 INFO reaped unknown pid 90 24/04/2017 19:26 stdout 2017-04-24 19:26:39,031 INFO reaped unknown pid 92 24/04/2017 19:26 stdout 2017-04-24 19:26:54,030 INFO reaped unknown pid 94 24/04/2017 19:26 stdout 2017-04-24 19:26:55,037 INFO reaped unknown pid 96 24/04/2017 19:27 stdout 2017-04-24 19:27:09,030 INFO reaped unknown pid 98 24/04/2017 19:27 stdout 2017-04-24 19:27:24,031 INFO reaped unknown pid 100 24/04/2017 19:27 stdout 2017-04-24 19:27:39,030 INFO reaped unknown pid 102 24/04/2017 19:27 stdout 2017-04-24 19:27:54,029 INFO reaped unknown pid 104 24/04/2017 19:27 stdout 2017-04-24 19:27:55,036 INFO reaped unknown pid 106

Are they linked ?

Thank you for your help.

dmemedo commented 7 years ago

I think it's related to 'chown -R www-data:www-data /var/www/rutorrent' in startup-nginx.sh

buggsi commented 3 weeks ago

It's caused by startup-rtorrent.sh, this line ln -s /downloads/.rtorrent/.rtorrent.rc /home/rtorrent/, so it's coming from the rtorrent process.

After some digging, the author attempted this commit https://github.com/diameter/rtorrent-rutorrent-shared/commit/e0043f1b0e02a9ebdef7da87b4795e735b3af415 However this also silences other useful information from supervisor about other the processes.

After some testing, I found that using a socket with network.scgi.open_local instead of scgi_port in the rtorrent.rc file (and adjusting the rutorrent config.php and nginx conf files), the reaped messages happen at a much slower pace. I still can't figure out how to fix that problem permanently without workarounds.