Comments (22)
For Reference: I am having the same issue and found the following Bug Reports already filed at Alpine and MariaDB
from docker-mariadb.
Well, I just edited the dockerfile to built using FROM ghcr.io/linuxserver/baseimage-alpine:arm32v7-3.12
and the argument MARIADB_VERSION: 10.4.17-r1
. That is working for now.
The bugs also mention the issue to be fixed on the latest edge version of alpine. But for now I am just waiting for an updated version here. Until then I will stick with the older 3.12/10.4 version.
from docker-mariadb.
I can reproduce on arm32. Doesn't affect aarch64. Could be (likely is) an upstream issue. Will investigate further.
from docker-mariadb.
Can anyone who previously confirmed this issue have a look at #81 and try the tag in the OP to see if they have issues with it?
from docker-mariadb.
Same thing on my end.
Same here. Added some of the info requested on the MariaDB bug tracker to hopefully keep things pushing along.
I saw on that tracker that the issue is not occurring for 10.4.x, are these versions possible with the alpine image?
from docker-mariadb.
Thanks, Looking good so far from my side!
from docker-mariadb.
I know this might not be a solution for everyone, but what I can recommend for Raspberry Pi users is to install 64-bit Ubuntu Server. There are lot more official docker images for ARM64 platform. I am running it since a week and everything works perfectly fine.
from docker-mariadb.
Unfortunately not everyone has a 64bit capable system. For example I use a Odroid HC2. The whole system is under constant high CPU use, which is preventing it to use resources for other applications, we desperately need a fix for this...
from docker-mariadb.
I understand, that's why I said this is not a solution for everyone. Another "workaround" that might work for you, is to temporarily limit CPU resources for docker container until the fix is ready.
--cpus="0.25"
Again, this is not a solution but rather temporary workaround, that at least give more cpu resources for other apps in the system.
from docker-mariadb.
I have the same issue. Limiting temporarily CPU via --cpus= does not help too much as everything becomes too slow.
from docker-mariadb.
Well, my solution is to use the tobi312/rpi-mariadb:10.4-alpine
docker image. From here.
I think the long-term solution for linuxserver/docker-mariadb
would be:
- Upgrade the base image to Ubuntu Focal (mariadb:10.3), or
- Wait for Alpine 3.13's mariadb:10.5+ setup to become stable, or
- (Edit after suggestion from @Bolkarr) Use Alpine 3.12 and mariadb:10.4 for the Alpine branch/image.
I personally think the first (or third) option would have a more controllable timeline.
from docker-mariadb.
@Bolkarr
Sorry I misunderstood your question earlier. I don't know if the volume mappings are compatible. tobi312's mappings are as below:
volumes:
- /mariadb:/var/lib/mysql
from docker-mariadb.
Please refrain from recommending random images that are not compatible. That will only confuse users further. Let's keep this issue on topic.
Thanks.
from docker-mariadb.
Tag is lspipepr/mariadb:arm32v7-alpine-10.5.9-r0-pkg-6271d700-pr-81
for lazy people.
from docker-mariadb.
Same here. Added some of the info requested on the MariaDB bug tracker to hopefully keep things pushing along.
from docker-mariadb.
Here another one with the same problem. :(
from docker-mariadb.
Yes, same issue with the alpine on armhf.
from docker-mariadb.
I know this might not be a solution for everyone, but what I can recommend for Raspberry Pi users is to install 64-bit Ubuntu Server. There are lot more official docker images for ARM64 platform. I am running it since a week and everything works perfectly fine.
You are so right! I have had to make my own Docker images for some apps (Wallabag is one example) as there is no 32-bit ARM version. I have been considering moving from 32- to 64-bit OS, but it's a lot of work.
from docker-mariadb.
Is tobi312 interchangeable with the alpine version? (can we just recreate the docker with this image?)
from docker-mariadb.
Yes, it seems like the high CPU usage is gone. CPU wise it is working as it should. :)
from docker-mariadb.
I can confirm as well that the referenced image is working. On a Pi4 the load went done to .04%
from docker-mariadb.
#81 merged
from docker-mariadb.
Related Issues (20)
- MariaDB update to 10.11 or higher HOT 14
- [BUG] Pulling no matching manifest for linux/arm/v8 in the manifest list entries HOT 2
- [BUG] cat: /var/run/mysqld/mysqld.pid: No such file or directory HOT 2
- [BUG] Update from 10.6.12 to 10.11.03 facing SIGTERM and mysql.pid file missing HOT 32
- [BUG] arm32v7-latest HOT 2
- [BUG] #1231 - Variable 'lc_messages' can't be set to the value of 'zh_CN' HOT 2
- [FEAT] New Tag 11.1 HOT 3
- [BUG] Unraid docker will not start, and filerun returns "Database error: SQLSTATE[HY000] [2002] Connection refused" HOT 5
- [BUG] <title更新到最新版本后无法启动,回退到10.6.12也无法启动 HOT 2
- Log file is huge HOT 7
- [BUG] After container creation, error loop HOT 8
- [BUG] Unable to use FILE__MYSQL_ROOT_PASSWORD HOT 3
- [BUG] https is not enabled when connecting to db HOT 2
- [FEAT] healthcheck.sh to container image. HOT 4
- [BUG] Volume mapping issue - user not created HOT 6
- Documentation clarification - environment variables HOT 9
- [BUG] A shell script code typo error. HOT 3
- [FEAT] MariaDB Upgrade Instructions in Log are Unclear HOT 2
- [BUG] /etc/my.cnf.d/custom.cnf not being used by mariadb HOT 5
- [BUG] PR dont's should be written in README HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-mariadb.