Score:0

Server issue with docker containers not running as they should

ru flag
apache_1   | [Mon Apr 04 18:49:44.856649 2022] [proxy_fcgi:error] [pid 41:tid 139778300062440] (70007)The timeout specified has expired: [client 172.18.0.5:38820] AH01075: Error dispatching request to : (polling)
apache_1   | 172.18.0.5 - - [04/Apr/2022:18:48:44 +0000] "GET / HTTP/1.1" 504 247
apache_1   | [Mon Apr 04 18:49:57.472640 2022] [proxy_fcgi:error] [pid 12:tid 139778300721896] (70007)The timeout specified has expired: [client 172.18.0.5:38824] AH01075: Error dispatching request to : (polling)
apache_1   | 172.18.0.5 - - [04/Apr/2022:18:48:57 +0000] "GET / HTTP/1.1" 504 247
apache_1   | [Mon Apr 04 18:50:02.704646 2022] [proxy_fcgi:error] [pid 12:tid 139778300627688] (70007)The timeout specified has expired: [client 172.18.0.5:38826] AH01075: Error dispatching request to : (polling)
apache_1   | 172.18.0.5 - - [04/Apr/2022:18:49:02 +0000] "GET / HTTP/1.1" 504 247

   8560 root       20   0 1377M  168M 22496 S 157.  4.3  4:31.02 /bin/bash /usr/local/bin/docker-entrypoint.sh mariadbd
   9358 systemd-c  20   0 1377M  168M 22496 R 54.7  4.3  1:28.95 mariadbd
   9327 systemd-c  20   0 1377M  168M 22496 S 52.7  4.3  1:37.84 mariadbd
   9361 systemd-c  20   0 1377M  168M 22496 R 49.8  4.3  1:24.01 mariadbd
   7700 systemd-c  20   0 1504M  256M 22652 R 26.9  6.5  0:45.18 mariadbd
   5856 systemd-c  20   0 1504M  256M 22652 S 25.9  6.5  2:46.12 mariadbd

Ok, so I have mariadb using all the resources and making it so that I can't browse the website as I should be able to. It worked perfectly for 6 months, 1 month ago, but it suddenly stopped working. How do I debug what's making mariadb run like that? Is there a way to debug what SQL calls mariadb is making?

3be8d7834aab   george/common.apache:tg1             "httpd-foreground"       42 minutes ago      Up 5 minutes   80/tcp                                                                                                                                                                                                                                                                                 power_apache_1
00986eb87410   george/power.php:tg1                 "docker-php-entrypoi…"   42 minutes ago      Up 5 minutes   9000/tcp                                                                                                                                                                                                                                                                               power_php_1
41ca647c121f   redis:6-alpine                        "docker-entrypoint.s…"   42 minutes ago      Up 5 minutes   6379/tcp                                                                                                                                                                                                                                                                               power_redis_1
a381f557d079   george/node:8.17                     "docker-entrypoint.s…"   42 minutes ago      Up 5 minutes                                                                                                                                                                                                                                                                                          power_node_1
b84c12e3c342   powersitedocker/traefik-dev:1.0.0.1   "/entrypoint.sh /bin…"   49 minutes ago      Up 4 minutes   0.0.0.0:80-81->80-81/tcp, :::80-81->80-81/tcp, 0.0.0.0:443->443/tcp, :::443->443/tcp, 0.0.0.0:3000-3001->3000-3001/tcp, :::3000-3001->3000-3001/tcp, 0.0.0.0:4431->4431/tcp, :::4431->4431/tcp, 0.0.0.0:6001->6001/tcp, :::6001->6001/tcp, 0.0.0.0:8080->8080/tcp, :::8080->8080/tcp   traefik
c5d71f554e60   george/common.mariadb:tg1            "docker-entrypoint.s…"   About an hour ago   Up 5 minutes   0.0.0.0:3308->3306/tcp, :::3308->3306/tcp     
Roid avatar
cg flag
Try to connect to MariaDB container directly. We need more information. Are you using composer/DockerFile? You Web container can comunicate to mariaDB container? Add the *docker ps* output if it possible.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.