forked from zanfranceschi/rinha-de-backend-2024-q1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.logs
178 lines (178 loc) · 14.6 KB
/
docker-compose.logs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
Network rinha-nginx-2024q1 Creating
Network rinha-nginx-2024q1 Created
Container edubarbieri-db-1 Creating
Container edubarbieri-db-1 Created
Container edubarbieri-api02-1 Creating
Container edubarbieri-api01-1 Creating
Container edubarbieri-api02-1 Created
Container edubarbieri-api01-1 Created
Container edubarbieri-nginx-1 Creating
Container edubarbieri-nginx-1 Created
Attaching to api01-1, api02-1, db-1, nginx-1
db-1 | 2024-02-19 04:33:39+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:11.2.3+maria~ubu2204 started.
api01-1 | 2024/02/19 04:33:39 waiting db
db-1 | 2024-02-19 04:33:39+00:00 [Warn] [Entrypoint]: /sys/fs/cgroup///memory.pressure not writable, functionality unavailable to MariaDB
db-1 | 2024-02-19 04:33:39+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
db-1 | 2024-02-19 04:33:39+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:11.2.3+maria~ubu2204 started.
api02-1 | 2024/02/19 04:33:39 waiting db
nginx-1 | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
nginx-1 | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
nginx-1 | 10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf
db-1 | 2024-02-19 04:33:39+00:00 [Note] [Entrypoint]: Initializing database files
nginx-1 | 10-listen-on-ipv6-by-default.sh: info: Enabled listen on IPv6 in /etc/nginx/conf.d/default.conf
nginx-1 | /docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh
nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
nginx-1 | /docker-entrypoint.sh: Configuration complete; ready for start up
db-1 | 2024-02-19 4:33:40 0 [Warning] mariadbd: io_uring_queue_init() failed with errno 1
db-1 | 2024-02-19 4:33:40 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF
nginx-1 | 2024/02/19 04:33:42 [error] 29#29: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.160.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.160.3:3000/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/02/19 04:33:42 [error] 29#29: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.160.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.160.4:3000/clientes/1/extrato", host: "localhost:9999"
db-1 |
db-1 |
db-1 | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER !
db-1 | To do so, start the server, then issue the following command:
db-1 |
db-1 | '/usr/bin/mariadb-secure-installation'
db-1 |
db-1 | which will also give you the option of removing the test
db-1 | databases and anonymous user created by default. This is
db-1 | strongly recommended for production servers.
db-1 |
db-1 | See the MariaDB Knowledgebase at https://mariadb.com/kb
db-1 |
db-1 | Please report any problems at https://mariadb.org/jira
db-1 |
db-1 | The latest information about MariaDB is available at https://mariadb.org/.
db-1 |
db-1 | Consider joining MariaDB's strong and vibrant community:
db-1 | https://mariadb.org/get-involved/
db-1 |
db-1 | 2024-02-19 04:33:43+00:00 [Note] [Entrypoint]: Database files initialized
db-1 | 2024-02-19 04:33:43+00:00 [Note] [Entrypoint]: Starting temporary server
db-1 | 2024-02-19 04:33:43+00:00 [Note] [Entrypoint]: Waiting for server startup
db-1 | 2024-02-19 4:33:43 0 [Note] Starting MariaDB 11.2.3-MariaDB-1:11.2.3+maria~ubu2204 source revision 79580f4f96fc2547711f674eb8dd514abd312b4a as process 101
db-1 | 2024-02-19 4:33:43 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
db-1 | 2024-02-19 4:33:43 0 [Note] InnoDB: Using transactional memory
db-1 | 2024-02-19 4:33:43 0 [Note] InnoDB: Number of transaction pools: 1
db-1 | 2024-02-19 4:33:43 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
db-1 | 2024-02-19 4:33:43 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts)
db-1 | 2024-02-19 4:33:43 0 [Warning] mariadbd: io_uring_queue_init() failed with errno 1
db-1 | 2024-02-19 4:33:43 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF
db-1 | 2024-02-19 4:33:43 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB
db-1 | 2024-02-19 4:33:43 0 [Note] InnoDB: Completed initialization of buffer pool
db-1 | 2024-02-19 4:33:43 0 [Note] InnoDB: File system buffers for log disabled (block size=4096 bytes)
db-1 | 2024-02-19 4:33:43 0 [Note] InnoDB: End of log at LSN=47763
db-1 | 2024-02-19 4:33:43 0 [Note] InnoDB: Opened 3 undo tablespaces
db-1 | 2024-02-19 4:33:43 0 [Note] InnoDB: 128 rollback segments in 3 undo tablespaces are active.
db-1 | 2024-02-19 4:33:43 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ...
db-1 | 2024-02-19 4:33:43 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB.
db-1 | 2024-02-19 4:33:43 0 [Note] InnoDB: log sequence number 47763; transaction id 14
db-1 | 2024-02-19 4:33:43 0 [Note] Plugin 'FEEDBACK' is disabled.
db-1 | 2024-02-19 4:33:43 0 [Note] Plugin 'wsrep-provider' is disabled.
db-1 | 2024-02-19 4:33:43 0 [Warning] 'user' entry 'root@db' ignored in --skip-name-resolve mode.
db-1 | 2024-02-19 4:33:43 0 [Warning] 'proxies_priv' entry '@% root@db' ignored in --skip-name-resolve mode.
db-1 | 2024-02-19 4:33:43 0 [Note] mariadbd: Event Scheduler: Loaded 0 events
db-1 | 2024-02-19 4:33:43 0 [Note] mariadbd: ready for connections.
db-1 | Version: '11.2.3-MariaDB-1:11.2.3+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution
api01-1 | 2024/02/19 04:33:44 waiting db
db-1 | 2024-02-19 04:33:44+00:00 [Note] [Entrypoint]: Temporary server started.
api02-1 | 2024/02/19 04:33:44 waiting db
nginx-1 | 2024/02/19 04:33:44 [error] 29#29: *4 no live upstreams while connecting to upstream, client: 192.168.160.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
db-1 | 2024-02-19 04:33:46+00:00 [Note] [Entrypoint]: Creating database rinha
db-1 | 2024-02-19 04:33:46+00:00 [Note] [Entrypoint]: Creating user rinha
db-1 | 2024-02-19 04:33:46+00:00 [Note] [Entrypoint]: Giving user rinha access to schema rinha
db-1 | 2024-02-19 04:33:46+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation)
db-1 |
db-1 | 2024-02-19 04:33:46+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/init.sql
db-1 |
db-1 |
db-1 | 2024-02-19 04:33:46+00:00 [Note] [Entrypoint]: Stopping temporary server
db-1 | 2024-02-19 4:33:46 0 [Note] mariadbd (initiated by: unknown): Normal shutdown
db-1 | 2024-02-19 4:33:46 0 [Note] InnoDB: FTS optimize thread exiting.
db-1 | 2024-02-19 4:33:46 0 [Note] InnoDB: Starting shutdown...
db-1 | 2024-02-19 4:33:46 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
db-1 | 2024-02-19 4:33:46 0 [Note] InnoDB: Buffer pool(s) dump completed at 240219 4:33:46
nginx-1 | 2024/02/19 04:33:46 [error] 29#29: *5 no live upstreams while connecting to upstream, client: 192.168.160.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
db-1 | 2024-02-19 4:33:47 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1"
db-1 | 2024-02-19 4:33:47 0 [Note] InnoDB: Shutdown completed; log sequence number 61698; transaction id 38
db-1 | 2024-02-19 4:33:47 0 [Note] mariadbd: Shutdown complete
db-1 |
db-1 | 2024-02-19 04:33:47+00:00 [Note] [Entrypoint]: Temporary server stopped
db-1 |
db-1 | 2024-02-19 04:33:47+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up.
db-1 |
db-1 | 2024-02-19 4:33:47 0 [Note] Starting MariaDB 11.2.3-MariaDB-1:11.2.3+maria~ubu2204 source revision 79580f4f96fc2547711f674eb8dd514abd312b4a as process 1
db-1 | 2024-02-19 4:33:47 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
db-1 | 2024-02-19 4:33:47 0 [Note] InnoDB: Using transactional memory
db-1 | 2024-02-19 4:33:47 0 [Note] InnoDB: Number of transaction pools: 1
db-1 | 2024-02-19 4:33:47 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
db-1 | 2024-02-19 4:33:47 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts)
db-1 | 2024-02-19 4:33:47 0 [Warning] mariadbd: io_uring_queue_init() failed with errno 1
db-1 | 2024-02-19 4:33:47 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF
db-1 | 2024-02-19 4:33:47 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB
db-1 | 2024-02-19 4:33:47 0 [Note] InnoDB: Completed initialization of buffer pool
db-1 | 2024-02-19 4:33:47 0 [Note] InnoDB: File system buffers for log disabled (block size=4096 bytes)
db-1 | 2024-02-19 4:33:47 0 [Note] InnoDB: End of log at LSN=61698
db-1 | 2024-02-19 4:33:47 0 [Note] InnoDB: Opened 3 undo tablespaces
db-1 | 2024-02-19 4:33:47 0 [Note] InnoDB: 128 rollback segments in 3 undo tablespaces are active.
db-1 | 2024-02-19 4:33:47 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ...
db-1 | 2024-02-19 4:33:47 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB.
db-1 | 2024-02-19 4:33:47 0 [Note] InnoDB: log sequence number 61698; transaction id 39
db-1 | 2024-02-19 4:33:47 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
db-1 | 2024-02-19 4:33:47 0 [Note] Plugin 'FEEDBACK' is disabled.
db-1 | 2024-02-19 4:33:47 0 [Note] Plugin 'wsrep-provider' is disabled.
db-1 | 2024-02-19 4:33:47 0 [Note] InnoDB: Buffer pool(s) load completed at 240219 4:33:47
db-1 | 2024-02-19 4:33:47 0 [Note] Server socket created on IP: '0.0.0.0'.
db-1 | 2024-02-19 4:33:47 0 [Note] Server socket created on IP: '::'.
db-1 | 2024-02-19 4:33:47 0 [Note] mariadbd: Event Scheduler: Loaded 0 events
db-1 | 2024-02-19 4:33:47 0 [Note] mariadbd: ready for connections.
db-1 | Version: '11.2.3-MariaDB-1:11.2.3+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution
nginx-1 | 2024/02/19 04:33:48 [error] 29#29: *6 no live upstreams while connecting to upstream, client: 192.168.160.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
api01-1 |
api01-1 | ┌───────────────────────────────────────────────────┐
api01-1 | │ Fiber v2.52.0 │
api01-1 | │ http://127.0.0.1:3000 │
api01-1 | │ (bound on host 0.0.0.0 and port 3000) │
api01-1 | │ │
api01-1 | │ Handlers ............. 4 Processes ........... 1 │
api01-1 | │ Prefork ....... Disabled PID ................. 1 │
api01-1 | └───────────────────────────────────────────────────┘
api01-1 |
api02-1 |
api02-1 | ┌───────────────────────────────────────────────────┐
api02-1 | │ Fiber v2.52.0 │
api02-1 | │ http://127.0.0.1:3000 │
api02-1 | │ (bound on host 0.0.0.0 and port 3000) │
api02-1 | │ │
api02-1 | │ Handlers ............. 4 Processes ........... 1 │
api02-1 | │ Prefork ....... Disabled PID ................. 1 │
api02-1 | └───────────────────────────────────────────────────┘
api02-1 |
nginx-1 | 2024/02/19 04:33:50 [error] 29#29: *7 no live upstreams while connecting to upstream, client: 192.168.160.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/02/19 04:33:52 [error] 29#29: *8 no live upstreams while connecting to upstream, client: 192.168.160.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
api01-1 | 2024/02/19 04:34:04 expected comma after object element
api02-1 | 2024/02/19 04:34:04 expected comma after object element
api01-1 | 2024/02/19 04:34:04 expected comma after object element
api01-1 | 2024/02/19 04:34:04 expected comma after object element
api02-1 | 2024/02/19 04:34:04 expected comma after object element
nginx-1 exited with code 0
nginx-1 exited with code 0
db-1 | 2024-02-19 4:38:08 16 [Warning] Aborted connection 16 to db: 'rinha' user: 'rinha' host: '192.168.160.3' (Got an error reading communication packets)
db-1 | 2024-02-19 4:38:08 18 [Warning] Aborted connection 18 to db: 'rinha' user: 'rinha' host: '192.168.160.4' (Got an error reading communication packets)
db-1 | 2024-02-19 4:38:08 17 [Warning] Aborted connection 17 to db: 'rinha' user: 'rinha' host: '192.168.160.4' (Got an error reading communication packets)
api01-1 exited with code 0
api01-1 exited with code 2
api02-1 exited with code 0
api02-1 exited with code 2
db-1 | 2024-02-19 4:38:09 0 [Note] mariadbd (initiated by: unknown): Normal shutdown
db-1 | 2024-02-19 4:38:09 0 [Note] InnoDB: FTS optimize thread exiting.
db-1 | 2024-02-19 4:38:09 0 [Note] InnoDB: Starting shutdown...
db-1 | 2024-02-19 4:38:09 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
db-1 | 2024-02-19 4:38:09 0 [Note] InnoDB: Buffer pool(s) dump completed at 240219 4:38:09
db-1 | 2024-02-19 4:38:10 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1"
db-1 | 2024-02-19 4:38:10 0 [Note] InnoDB: Shutdown completed; log sequence number 22002469; transaction id 105461
db-1 | 2024-02-19 4:38:10 0 [Note] mariadbd: Shutdown complete
db-1 |
db-1 exited with code 0