-
Notifications
You must be signed in to change notification settings - Fork 225
Open
Labels
Description
Describe the bug
OCIS uses way too much ram for the actual usage (2 occasional users). It often makes my VPS unreacheable (even in SSH !).
Steps to reproduce
- Start OCIS
- Wait 1-2 days
- RAM usage through the roof
Expected behavior
I guess no more than 2-3GB of RAM used at most for my use.
Actual behavior
Setup
Please describe how you started the server and provide a list of relevant environment variables or configuration files.
OCIS_LOG_LEVEL: info
OCIS_LOG_COLOR: "true"
GOMEMLIMIT: "999MiB"
NATS_NATS_HOST: localhost
NATS_NATS_STORE_DIR: /var/lib/ocis/nats
OCIS_SERVICE_ACCOUNT_ID: "OwO"
OCIS_SERVICE_ACCOUNT_SECRET: "UwU"
OCIS_ASYNC_UPLOADS: "false"
OCIS_EXCLUDE_RUN_SERVICES: "activitylog"
OCIS_FRONTEND_UPLOAD_MAX_CHUNK_SIZE: "10000000"
STORAGE_USERS_OCIS_MAX_CONCURRENCY: "4"
THUMBNAILS_MAX_CONCURRENT_REQUESTS: "5"
THUMBNAILS_MAX_INPUT_IMAGE_FILE_SIZE: "45MB"
ANTIVIRUS_MAX_SCAN_SIZE: "0.001MB"
STORAGE_USERS_UPLOAD_EXPIRATION: "56800"Additional context
My setup uses S3NG as its backend (I use Backblaze B2 Storage). The setup runs behing Nginx and Cloudflare Tunnels and is Dockerized. I'm on the latest version at the moment (7.3.0).