Replies: 3 comments 1 reply
-
I don't see any issue performances here or memory from dokploy services, dokploy create 4 services when you install: I look in each process and all the values seems very normal the usage is barely to almost 0 so this is not related to dokploy itself Dokploy doesn't do anything than just building the image and running in to a container, so is basically the same thing you run the commands manually in your server, but dokploy automatize that process This comparison is not fair btw, you are comparing docker and pm2, pm2 by default is very lightweight , on other hand you need to know docker by default add's some overhead to each container, installing docker comes with pros and cons, also you are using a scrapper just simply try to search related to that library and you will find alot of issues regarding to the cpu usage due to pupeteer uses chrome driver So I don't think this is a dokploy issue, is more a optimization related to your projects and also if you are running scrappers + multiples websites maybe 6 gb is not enought to handle this |
Beta Was this translation helpful? Give feedback.
-
I tested 2day back and forth. There's also a small chance the shared CPUs were under shared-load just those days. RAM could be indeed the issueGuess I'll try again in the weekend, and also maybe increase the resources to 6vCPU / 16GB (since it's literally the same price as now, paying for 2 separate VPS) PS: the project is too good, and i really want to have a 1 place manage all for my project; since it has so many different services (and will have even more). My favorite features are pocketbase easy install and mysql/pocketbase easy backup activation to S3. |
Beta Was this translation helpful? Give feedback.
-
I narrowed down the issue. I actually think the |
Beta Was this translation helpful? Give feedback.
-
I noted something weird regarding the additional processing head dokploy/containers add on top of vanilla VPS deploy.
Here are my 2 identical contabo VPS ( 4vCPU / 6GB RAM / 200 GB ).
On first one i run the dokploy instance with the shown services in the printscreen.
On second one, I allocated all the 3 webscrapping/puppeteer scripts.
The website is in BETA, not yet released < 10 accounts. So the strain on the website and database is minimal at IDLE. (as seen in the htop graphs)
MY ISSUE:
I tried moving the 3 scripts from 2nd server in the dokploy implementation (creating an Application docker for each script). But running it for ~3 days I had 2 cases of VPS crashing / freezing (100% CPU on all cores) and moreover the IDLE state was constantly 60+% in htop.
As you can see from the printscreen, running them as 2 separate VPS barely reaches 10%+ on IDLE.
Has anyone experienced something similar with dokploy / raw docker containers ?!
I'm a beginner at docking, but I can't see the performance hit being solely on my configs.
Because, frankly the docker configs for the 3 puppeteer scritps are very simple and light:
Beta Was this translation helpful? Give feedback.
All reactions