Skip to content
This repository has been archived by the owner on Jun 28, 2023. It is now read-only.

Container process keeps hanging and disconnecting CIFS share #178

Open
g4m3r7ag opened this issue Apr 3, 2021 · 3 comments
Open

Container process keeps hanging and disconnecting CIFS share #178

g4m3r7ag opened this issue Apr 3, 2021 · 3 comments

Comments

@g4m3r7ag
Copy link

g4m3r7ag commented Apr 3, 2021

I recently setup the rtorrentvpn container with AirVPN. The container runs initially without issue, connects to the VPN and appears to be working great. But then frequently hangs, the rutorrent UI times out and then after a couple of minutes it reconnects. It's also causing my mounted CIFS share to hang, and then reconnect. The CIFS share issue started directly after setting up this container. I've currently stopped the container just to verify the CIFS issue also stops. Below is a screenshot of the Ubuntu 18.04 console a few minutes after rebooting. If I leave the container running the console just keeps repeating this at random intervals it seems. I've also included my compose config for the container. Any ideas?

Screenshot from 2021-04-03 04-54-06

    rtorrent:
      image: binhex/arch-rtorrentvpn
      container_name: rtorrent
      cap_add:
        - NET_ADMIN
      environment:
        - PUID=1000
        - PGID=1000
        - VPN_ENABLED=yes
        - VPN_PROV=airvpn
        - VPN_CLIENT=openvpn
        - ENABLE_PRIVOXY=yes
        - ENABLE_RPC2=yes
        - ENABLE_RPC2_AUTH=yes
        - ENABLE_WEBUI_AUTH=yes
        - RPC2_USER=user
        - RPC2_PASS=pass
        - WEBUI_USER=user
        - WEBUI_PASS=pass
        - LAN_NETWORK=192.168.1.0/24,192.168.40.0/24
        - NAME_SERVERS=10.4.0.1 (this is the AirVPN DNS server) 
        - PHP_TZ=America/New_York
        - UMASK=022
      ports:
        - 38110:9080
        - 8118:8118
      restart: unless-stopped
      volumes:
        - /docker-data/dl-stack/rtorrent:/config
        - /mnt:/mnt
        - /etc/localtime:/etc/localtime:ro
@DionVermeulen
Copy link

Same problem here.

Kernel version doesn't matter. Also changing cifs version has no effect.

@DionVermeulen
Copy link

@g4m3r7ag look at my post on the unraid topic:
https://forums.unraid.net/topic/46127-support-binhex-rtorrentvpn/?do=findComment&comment=975323

That is probably also your issue.

@g4m3r7ag
Copy link
Author

Interesting, I may have had multiple issues then? I switched my CIFS mount to NFS and the UI hangs completely stopped from what I can tell. I'm also not getting any NFS errors in the console like I was with the CIFS. However I do see torrents change to a red icon because of a tracker error frequently, but just assumed that was due to them being public trackers. Wondering if the CIFS issue compounded the DNS issue with UDP trackers and because it's "better" now I'm assuming it's fixed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants