Number of executions per hours: 132
Number of workflows: 23
Cumunity Edition
n8n Version 1.26.0
location / {
proxy_pass http://127.0.0.1:5678; # Ensure this IP and port are correct
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade'; # For WebSocket support, otherwise remove
proxy_http_version 1.1;
}
Starting latest 2-3 weeks i get lots of errors and slow interface opening, I check server performace is fine. I have an 2vCPU 8GB RAM, 80GB SSD server so not sure why recently i get so slow since server peronce seems fine.
I fixed this, it was because of the startup environments i was using to keep database small:
-e DB_SQLITE_VACUUM_ON_STARTUP=true -e EXECUTIONS_DATA_PRUNE=true -e EXECUTIONS_DATA_MAX_AGE=336 -e EXECUTIONS_DATA_PRUNE_MAX_COUNT=50000
If you have same problem my sugestion is to remove this envirments variables and just find an other way to keep database small, what i did i migrated to postgresql from sqlite as i think is much easier to partially delete some information copared to sqlight, but i might be wrong so better remove manually some informations from tables with lots of mb