Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

内存占用不释放 #166

Open
BugChang opened this issue Jul 26, 2024 · 1 comment
Open

内存占用不释放 #166

BugChang opened this issue Jul 26, 2024 · 1 comment

Comments

@BugChang
Copy link

这是我的docker-compose配置,我在启动docker时内存占用只有几兆,但当有下载任务的时候,内存直接就有多少吃多少,我虚拟机8G内存直接占满了,当没有下载任务的时候内存仍然不释放,一直保持高占用,无奈限制了2G内存,只有我自己是这样么

version: '3.9'

services:
  aria2-pro:
    image: p3terx/aria2-pro
    deploy:
      resources:
        limits:
          memory: 2048M
    container_name: aria2-pro
    restart: unless-stopped
    ports:
      - 6800:6800
      - 6888:6888
    environment:
      - PUID=0
      - PGID=0
      - RPC_SECRET=xxx
      - RPC_PORT=6800
      - LISTEN_PORT=6888
    volumes:
      - /root/aria2/config:/config
      - /mnt/appdata/nextcloud/admin/files/下载:/downloads
  ariang:
    image: p3terx/ariang
    container_name: ariang
    restart: unless-stopped
    ports:
      - 6880:6880
@wxxsfxyzm
Copy link

我也有类似问题,给多少吃多少
image

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

No branches or pull requests

2 participants