But when I started make some load than the I/O goes down. On other Pi I had PostgreSQL 11 with 10 DB's. Every 10 runs on 4 Pi's (= 40 Miscroservices). I didn't run docker on my Pi Cluster (7* Pi 4 4GB). Doesn't seem to do anything for that performance problem though.Īre you running the project and DB in the same docker image? Perhaps you put the DB on other rapsi. Also, there's also no `daemon.json` in the docker folder.Įdit: I've found the rvice file and added "-iptables=false", but there are still some persistent iptables configurations. I've tried editing them to concatenate that option, but no luck so far. There's no physical rvice in /etc/systemd/system/, but there are some files in /etc/init and /etc/init.d/. I spent some time trying to edit the docker service to start with the "-iptables=false" option, but I can't seem to find where it's started from. I'm running Raspbian on a 120GB Kingston SSD without an SD card, so storage speed should not be a problem.ĭoes anyone know how I can solve the performance problem when running docker containers? Or, even better, does anyone know any other workaround for this MySQL problem?Ĭode: Select all Chain INPUT (policy ACCEPT)ĭOCKER-ISOLATION-STAGE-1 all - anywhere anywhereĪCCEPT all - anywhere anywhere ctstate RELATED,ESTABLISHEDĬhain DOCKER-ISOLATION-STAGE-1 (1 references)ĭOCKER-ISOLATION-STAGE-2 all - anywhere anywhereĬhain DOCKER-ISOLATION-STAGE-2 (1 references) I've installed RPi-Monitor and it does not seem like the containers are doing anything to the resources, so I got no idea where this is coming from. Even on ssh it stutters a lot when writing commands. I can't remote with xrdp into it anymore. The server works ok, but the problem is that the Raspberry becomes unusable when any docker container is running. I've found docker images containing MySQL as a first try at a workaround. The problem is that I can not find a viable workaround. The two databases are more and more different with every release. I don't care that MariaDB is forked from MySQL before Oracle takeover and I certainly do not cut corners and replace my database provider because of Debian. I've tried MariaDB and it failed, mostly timing out on queries that have no problem using MySQL. The problem I face now is that MySQL is not available on Debian anymore and MariaDB is not cutting it for me. Not so long ago I bought a Raspberry Pi 4 4GB wanting to host my project on it. For easy access and ease of use, I've always used MySQL for my database. I'm working on a personal project which was started a few years ago on my windows laptop, then tried to move it to different free web host providers.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |