After reboot the DB containers keep crashing (corrupt .tc.log) #9548
Nuttynut1987
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I recreate the containers (docker compose up -d) -or- (docker compose up -d --force-recreate) the DB container keeps crashing.
The log shows:
2024-12-15 17:54:19 2024-12-15 16:54:19+00:00 [Warn] [Entrypoint]: /sys/fs/cgroup/name=systemd:/docker/e8460788959bef0426e6a7da420355e8392a7ce3bd8232b3ca881246d2e2c928
2024-12-15 17:54:19 14:misc:/docker/e8460788959bef0426e6a7da420355e8392a7ce3bd8232b3ca881246d2e2c928
2024-12-15 17:54:19 13:rdma:/docker/e8460788959bef0426e6a7da420355e8392a7ce3bd8232b3ca881246d2e2c928
2024-12-15 17:54:19 12:pids:/docker/e8460788959bef0426e6a7da420355e8392a7ce3bd8232b3ca881246d2e2c928
2024-12-15 17:54:19 11:hugetlb:/docker/e8460788959bef0426e6a7da420355e8392a7ce3bd8232b3ca881246d2e2c928
2024-12-15 17:54:19 10:net_prio:/docker/e8460788959bef0426e6a7da420355e8392a7ce3bd8232b3ca881246d2e2c928
2024-12-15 17:54:19 9:perf_event:/docker/e8460788959bef0426e6a7da420355e8392a7ce3bd8232b3ca881246d2e2c928
2024-12-15 17:54:19 8:net_cls:/docker/e8460788959bef0426e6a7da420355e8392a7ce3bd8232b3ca881246d2e2c928
2024-12-15 17:54:19 7:freezer:/docker/e8460788959bef0426e6a7da420355e8392a7ce3bd8232b3ca881246d2e2c928
2024-12-15 17:54:19 6:devices:/docker/e8460788959bef0426e6a7da420355e8392a7ce3bd8232b3ca881246d2e2c928
2024-12-15 17:54:19 5:memory:/docker/e8460788959bef0426e6a7da420355e8392a7ce3bd8232b3ca881246d2e2c928
2024-12-15 17:54:19 4:blkio:/docker/e8460788959bef0426e6a7da420355e8392a7ce3bd8232b3ca881246d2e2c928
2024-12-15 17:54:19 3:cpuacct:/docker/e8460788959bef0426e6a7da420355e8392a7ce3bd8232b3ca881246d2e2c928
2024-12-15 17:54:19 2:cpu:/docker/e8460788959bef0426e6a7da420355e8392a7ce3bd8232b3ca881246d2e2c928
2024-12-15 17:54:19 1:cpuset:/docker/e8460788959bef0426e6a7da420355e8392a7ce3bd8232b3ca881246d2e2c928
2024-12-15 17:54:19 0::/docker/e8460788959bef0426e6a7da420355e8392a7ce3bd8232b3ca881246d2e2c928/memory.pressure not writable, functionality unavailable to MariaDB
2024-12-15 17:54:20 2024-12-15 16:54:20 0 [Warning] Setting lower_case_table_names=2 because file system for /var/lib/mysql/ is case insensitive
2024-12-15 17:54:20 2024-12-15 16:54:20 0 [Note] Starting MariaDB 11.4.4-MariaDB-ubu2404 source revision e9a502df08bad16aa8a354e854f3c014b1380e32 server_uid boI2yEWnP+b4JlB7IyqfY5XtYeU= as process 1
2024-12-15 17:54:20 2024-12-15 16:54:20 0 [Note] InnoDB: Compressed tables use zlib 1.3
2024-12-15 17:54:20 2024-12-15 16:54:20 0 [Note] InnoDB: Number of transaction pools: 1
2024-12-15 17:54:20 2024-12-15 16:54:20 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
2024-12-15 17:54:20 2024-12-15 16:54:20 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts)
2024-12-15 17:54:20 2024-12-15 16:54:20 0 [Note] InnoDB: Using liburing
2024-12-15 17:54:17 2024-12-15 16:54:17+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:11.4.4+maria
ubu2404 started.ubu2404 started.2024-12-15 17:54:19 2024-12-15 16:54:19+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2024-12-15 17:54:19 2024-12-15 16:54:19+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:11.4.4+maria
2024-12-15 17:54:20 2024-12-15 16:54:20+00:00 [Note] [Entrypoint]: MariaDB upgrade not required
2024-12-15 17:54:20 2024-12-15 16:54:20 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB
2024-12-15 17:54:20 2024-12-15 16:54:20 0 [Note] InnoDB: Completed initialization of buffer pool
2024-12-15 17:54:20 2024-12-15 16:54:20 0 [Note] InnoDB: Buffered log writes (block size=512 bytes)
2024-12-15 17:54:20 2024-12-15 16:54:20 0 [Note] InnoDB: End of log at LSN=3070441
2024-12-15 17:54:20 2024-12-15 16:54:20 0 [Note] InnoDB: Opened 3 undo tablespaces
2024-12-15 17:54:20 2024-12-15 16:54:20 0 [Note] InnoDB: 128 rollback segments in 3 undo tablespaces are active.
2024-12-15 17:54:20 2024-12-15 16:54:20 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1"
2024-12-15 17:54:20 2024-12-15 16:54:20 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ...
2024-12-15 17:54:20 2024-12-15 16:54:20 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB.
2024-12-15 17:54:20 2024-12-15 16:54:20 0 [Note] InnoDB: log sequence number 3070441; transaction id 2891
2024-12-15 17:54:20 2024-12-15 16:54:20 0 [Note] Plugin 'FEEDBACK' is disabled.
2024-12-15 17:54:20 2024-12-15 16:54:20 0 [Note] Plugin 'wsrep-provider' is disabled.
2024-12-15 17:54:20 2024-12-15 16:54:20 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
2024-12-15 17:54:20 2024-12-15 16:54:20 0 [Note] Recovering after a crash using tc.log
2024-12-15 17:54:20 2024-12-15 16:54:20 0 [ERROR] Bad magic header in tc log
2024-12-15 17:54:20 2024-12-15 16:54:20 0 [ERROR] Crash recovery failed. Either correct the problem (if it's, for example, out of memory error) and restart, or delete tc log and start server with --tc-heuristic-recover={commit|rollback}
2024-12-15 17:54:20 2024-12-15 16:54:20 0 [ERROR] Can't init tc log
2024-12-15 17:54:20 2024-12-15 16:54:20 0 [ERROR] Aborting
I'm running docker-windows and the folder that i'm using for persistant storage has "full control" to "everyone".
I can delete the tc.log but then it corrupt my oauth_table showing me an "error 500 whoopsie".
All in all i'm not sure where to start; I did try googling obviously but apart from seeing it's a known error sometimes I don't really see a solution yet.
Beta Was this translation helpful? Give feedback.
All reactions