forked from zanfranceschi/rinha-de-backend-2024-q1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.logs
353 lines (353 loc) · 29.2 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
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
Network rinhanginx2024q1_default Creating
Network rinhanginx2024q1_default Created
Container rinhanginx2024q1-rinha-db-1 Creating
Container rinhanginx2024q1-rinha-db-1 Created
Container api02 Creating
Container api01 Creating
Container api02 Created
Container api01 Created
Container rinhanginx2024q1-proxy-1 Creating
Container rinhanginx2024q1-proxy-1 Created
Attaching to api01, api02, proxy-1, rinha-db-1
rinha-db-1 | The files belonging to this database system will be owned by user "postgres".
rinha-db-1 | This user must also own the server process.
rinha-db-1 |
rinha-db-1 | The database cluster will be initialized with locale "en_US.utf8".
rinha-db-1 | The default database encoding has accordingly been set to "UTF8".
rinha-db-1 | The default text search configuration will be set to "english".
rinha-db-1 |
rinha-db-1 | Data page checksums are disabled.
rinha-db-1 |
rinha-db-1 | fixing permissions on existing directory /var/lib/postgresql/data ... ok
rinha-db-1 | creating subdirectories ... ok
rinha-db-1 | selecting dynamic shared memory implementation ... posix
rinha-db-1 | selecting default max_connections ... 100
rinha-db-1 | selecting default shared_buffers ... 128MB
rinha-db-1 | selecting default time zone ... UTC
rinha-db-1 | creating configuration files ... ok
rinha-db-1 | running bootstrap script ... ok
rinha-db-1 | sh: locale: not found
rinha-db-1 | 2024-02-21 15:39:16.924 UTC [30] WARNING: no usable system locales were found
proxy-1 | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
proxy-1 | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
proxy-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
proxy-1 | 10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf
proxy-1 | 10-listen-on-ipv6-by-default.sh: info: Enabled listen on IPv6 in /etc/nginx/conf.d/default.conf
proxy-1 | /docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh
proxy-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
proxy-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
proxy-1 | /docker-entrypoint.sh: Configuration complete; ready for start up
api02 | INFO: Uvicorn running on http://0.0.0.0:80 (Press CTRL+C to quit)
api01 | INFO: Uvicorn running on http://0.0.0.0:80 (Press CTRL+C to quit)
api02 | INFO: Started parent process [1]
api01 | INFO: Started parent process [1]
rinha-db-1 | performing post-bootstrap initialization ... ok
rinha-db-1 | initdb: warning: enabling "trust" authentication for local connections
rinha-db-1 | initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb.
rinha-db-1 | syncing data to disk ... ok
rinha-db-1 |
rinha-db-1 |
rinha-db-1 | Success. You can now start the database server using:
rinha-db-1 |
rinha-db-1 | pg_ctl -D /var/lib/postgresql/data -l logfile start
rinha-db-1 |
rinha-db-1 | waiting for server to start....2024-02-21 15:39:19.056 GMT [36] LOG: starting PostgreSQL 16.2 on x86_64-pc-linux-musl, compiled by gcc (Alpine 13.2.1_git20231014) 13.2.1 20231014, 64-bit
rinha-db-1 | 2024-02-21 15:39:19.059 GMT [36] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
rinha-db-1 | 2024-02-21 15:39:19.067 GMT [39] LOG: database system was shut down at 2024-02-21 15:39:17 GMT
rinha-db-1 | 2024-02-21 15:39:19.080 GMT [36] LOG: database system is ready to accept connections
rinha-db-1 | done
rinha-db-1 | server started
rinha-db-1 | CREATE DATABASE
rinha-db-1 |
rinha-db-1 |
rinha-db-1 | /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/init.sql
rinha-db-1 | CREATE TABLE
rinha-db-1 | CREATE TABLE
rinha-db-1 | CREATE EXTENSION
rinha-db-1 | pg_prewarm
rinha-db-1 | ------------
rinha-db-1 | 0
rinha-db-1 | (1 row)
rinha-db-1 |
rinha-db-1 | pg_prewarm
rinha-db-1 | ------------
rinha-db-1 | 0
rinha-db-1 | (1 row)
rinha-db-1 |
rinha-db-1 | CREATE FUNCTION
rinha-db-1 | DO
rinha-db-1 |
rinha-db-1 |
rinha-db-1 | waiting for server to shut down....2024-02-21 15:39:19.251 GMT [36] LOG: received fast shutdown request
rinha-db-1 | 2024-02-21 15:39:19.254 GMT [36] LOG: aborting any active transactions
rinha-db-1 | 2024-02-21 15:39:19.256 GMT [36] LOG: background worker "logical replication launcher" (PID 42) exited with exit code 1
rinha-db-1 | 2024-02-21 15:39:19.256 GMT [37] LOG: shutting down
rinha-db-1 | 2024-02-21 15:39:19.260 GMT [37] LOG: checkpoint starting: shutdown immediate
api01 | Process SpawnProcess-2:
api01 | Traceback (most recent call last):
api02 | Process SpawnProcess-1:
api02 | Traceback (most recent call last):
api01 | File "/usr/local/lib/python3.12/multiprocessing/process.py", line 314, in _bootstrap
api01 | self.run()
api01 | File "/usr/local/lib/python3.12/multiprocessing/process.py", line 108, in run
api01 | self._target(*self._args, **self._kwargs)
api01 | File "/usr/local/lib/python3.12/site-packages/uvicorn/_subprocess.py", line 78, in subprocess_started
api01 | target(sockets=sockets)
api01 | File "/usr/local/lib/python3.12/site-packages/uvicorn/server.py", line 62, in run
api01 | return asyncio.run(self.serve(sockets=sockets))
api01 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api01 | File "/usr/local/lib/python3.12/asyncio/runners.py", line 194, in run
api01 | return runner.run(main)
api01 | ^^^^^^^^^^^^^^^^
api01 | File "/usr/local/lib/python3.12/asyncio/runners.py", line 118, in run
api01 | return self._loop.run_until_complete(task)
api01 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api01 | File "/usr/local/lib/python3.12/asyncio/base_events.py", line 685, in run_until_complete
api01 | return future.result()
api01 | ^^^^^^^^^^^^^^^
api01 | File "/usr/local/lib/python3.12/site-packages/uvicorn/server.py", line 69, in serve
api01 | config.load()
api01 | File "/usr/local/lib/python3.12/site-packages/uvicorn/config.py", line 458, in load
api01 | self.loaded_app = import_from_string(self.app)
api01 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api01 | File "/usr/local/lib/python3.12/site-packages/uvicorn/importer.py", line 21, in import_from_string
api01 | module = importlib.import_module(module_str)
api01 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api01 | File "/usr/local/lib/python3.12/importlib/__init__.py", line 90, in import_module
api01 | return _bootstrap._gcd_import(name[level:], package, level)
api01 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api01 | File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
api01 | File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
api01 | File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
api01 | File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
api01 | File "<frozen importlib._bootstrap_external>", line 995, in exec_module
api01 | File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
api01 | File "/code/app/main.py", line 6, in <module>
api01 | from app.database import Pool
api01 | File "/code/app/database.py", line 18, in <module>
api01 | Pool = psycopg2.pool.SimpleConnectionPool(
api01 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api01 | File "/usr/local/lib/python3.12/site-packages/psycopg2/pool.py", line 59, in __init__
api01 | self._connect()
api01 | File "/usr/local/lib/python3.12/site-packages/psycopg2/pool.py", line 63, in _connect
api01 | conn = psycopg2.connect(*self._args, **self._kwargs)
api01 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api01 | File "/usr/local/lib/python3.12/site-packages/psycopg2/__init__.py", line 122, in connect
api01 | conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
api01 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api01 | psycopg2.OperationalError: connection to server at "rinha-db" (192.168.192.2), port 5432 failed: Connection refused
api01 | Is the server running on that host and accepting TCP/IP connections?
api01 |
api02 | File "/usr/local/lib/python3.12/multiprocessing/process.py", line 314, in _bootstrap
api02 | self.run()
api02 | File "/usr/local/lib/python3.12/multiprocessing/process.py", line 108, in run
api02 | self._target(*self._args, **self._kwargs)
api02 | File "/usr/local/lib/python3.12/site-packages/uvicorn/_subprocess.py", line 78, in subprocess_started
api02 | target(sockets=sockets)
api02 | File "/usr/local/lib/python3.12/site-packages/uvicorn/server.py", line 62, in run
api02 | return asyncio.run(self.serve(sockets=sockets))
api02 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api02 | File "/usr/local/lib/python3.12/asyncio/runners.py", line 194, in run
api02 | return runner.run(main)
api02 | ^^^^^^^^^^^^^^^^
api02 | File "/usr/local/lib/python3.12/asyncio/runners.py", line 118, in run
api02 | return self._loop.run_until_complete(task)
api02 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api02 | File "/usr/local/lib/python3.12/asyncio/base_events.py", line 685, in run_until_complete
api02 | return future.result()
api02 | ^^^^^^^^^^^^^^^
api02 | File "/usr/local/lib/python3.12/site-packages/uvicorn/server.py", line 69, in serve
api02 | config.load()
api02 | File "/usr/local/lib/python3.12/site-packages/uvicorn/config.py", line 458, in load
api02 | self.loaded_app = import_from_string(self.app)
api02 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api02 | File "/usr/local/lib/python3.12/site-packages/uvicorn/importer.py", line 21, in import_from_string
api02 | module = importlib.import_module(module_str)
api02 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api02 | File "/usr/local/lib/python3.12/importlib/__init__.py", line 90, in import_module
api02 | return _bootstrap._gcd_import(name[level:], package, level)
api02 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api02 | File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
api02 | File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
api02 | File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
api02 | File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
api02 | File "<frozen importlib._bootstrap_external>", line 995, in exec_module
api02 | File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
api02 | File "/code/app/main.py", line 6, in <module>
api02 | from app.database import Pool
api02 | File "/code/app/database.py", line 18, in <module>
api02 | Pool = psycopg2.pool.SimpleConnectionPool(
api02 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api02 | File "/usr/local/lib/python3.12/site-packages/psycopg2/pool.py", line 59, in __init__
api02 | self._connect()
api02 | File "/usr/local/lib/python3.12/site-packages/psycopg2/pool.py", line 63, in _connect
api02 | conn = psycopg2.connect(*self._args, **self._kwargs)
api02 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api02 | File "/usr/local/lib/python3.12/site-packages/psycopg2/__init__.py", line 122, in connect
api02 | conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
api02 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api02 | psycopg2.OperationalError: connection to server at "rinha-db" (192.168.192.2), port 5432 failed: Connection refused
api02 | Is the server running on that host and accepting TCP/IP connections?
api02 |
api02 | Process SpawnProcess-2:
api02 | Traceback (most recent call last):
api02 | File "/usr/local/lib/python3.12/multiprocessing/process.py", line 314, in _bootstrap
api02 | self.run()
api02 | File "/usr/local/lib/python3.12/multiprocessing/process.py", line 108, in run
api02 | self._target(*self._args, **self._kwargs)
api02 | File "/usr/local/lib/python3.12/site-packages/uvicorn/_subprocess.py", line 78, in subprocess_started
api02 | target(sockets=sockets)
api02 | File "/usr/local/lib/python3.12/site-packages/uvicorn/server.py", line 62, in run
api02 | return asyncio.run(self.serve(sockets=sockets))
api02 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api02 | File "/usr/local/lib/python3.12/asyncio/runners.py", line 194, in run
api02 | return runner.run(main)
api02 | ^^^^^^^^^^^^^^^^
api02 | File "/usr/local/lib/python3.12/asyncio/runners.py", line 118, in run
api02 | return self._loop.run_until_complete(task)
api02 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api02 | File "/usr/local/lib/python3.12/asyncio/base_events.py", line 685, in run_until_complete
api02 | return future.result()
api02 | ^^^^^^^^^^^^^^^
api02 | File "/usr/local/lib/python3.12/site-packages/uvicorn/server.py", line 69, in serve
api02 | config.load()
api02 | File "/usr/local/lib/python3.12/site-packages/uvicorn/config.py", line 458, in load
api02 | self.loaded_app = import_from_string(self.app)
api02 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api02 | File "/usr/local/lib/python3.12/site-packages/uvicorn/importer.py", line 21, in import_from_string
api02 | module = importlib.import_module(module_str)
api02 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api02 | File "/usr/local/lib/python3.12/importlib/__init__.py", line 90, in import_module
api02 | return _bootstrap._gcd_import(name[level:], package, level)
api02 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api02 | File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
api02 | File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
api02 | File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
api02 | File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
api02 | File "<frozen importlib._bootstrap_external>", line 995, in exec_module
api02 | File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
api02 | File "/code/app/main.py", line 6, in <module>
api02 | from app.database import Pool
api02 | File "/code/app/database.py", line 18, in <module>
api02 | Pool = psycopg2.pool.SimpleConnectionPool(
api02 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api02 | File "/usr/local/lib/python3.12/site-packages/psycopg2/pool.py", line 59, in __init__
api02 | self._connect()
api02 | File "/usr/local/lib/python3.12/site-packages/psycopg2/pool.py", line 63, in _connect
api02 | conn = psycopg2.connect(*self._args, **self._kwargs)
api02 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api02 | File "/usr/local/lib/python3.12/site-packages/psycopg2/__init__.py", line 122, in connect
api02 | conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
api02 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api02 | psycopg2.OperationalError: connection to server at "rinha-db" (192.168.192.2), port 5432 failed: Connection refused
api02 | Is the server running on that host and accepting TCP/IP connections?
api02 |
api01 | Process SpawnProcess-1:
api01 | Traceback (most recent call last):
api01 | File "/usr/local/lib/python3.12/multiprocessing/process.py", line 314, in _bootstrap
api01 | self.run()
api01 | File "/usr/local/lib/python3.12/multiprocessing/process.py", line 108, in run
api01 | self._target(*self._args, **self._kwargs)
api01 | File "/usr/local/lib/python3.12/site-packages/uvicorn/_subprocess.py", line 78, in subprocess_started
api01 | target(sockets=sockets)
api01 | File "/usr/local/lib/python3.12/site-packages/uvicorn/server.py", line 62, in run
api01 | return asyncio.run(self.serve(sockets=sockets))
api01 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api01 | File "/usr/local/lib/python3.12/asyncio/runners.py", line 194, in run
api01 | return runner.run(main)
api01 | ^^^^^^^^^^^^^^^^
api01 | File "/usr/local/lib/python3.12/asyncio/runners.py", line 118, in run
api01 | return self._loop.run_until_complete(task)
api01 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api01 | File "/usr/local/lib/python3.12/asyncio/base_events.py", line 685, in run_until_complete
api01 | return future.result()
api01 | ^^^^^^^^^^^^^^^
api01 | File "/usr/local/lib/python3.12/site-packages/uvicorn/server.py", line 69, in serve
api01 | config.load()
api01 | File "/usr/local/lib/python3.12/site-packages/uvicorn/config.py", line 458, in load
api01 | self.loaded_app = import_from_string(self.app)
api01 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api01 | File "/usr/local/lib/python3.12/site-packages/uvicorn/importer.py", line 21, in import_from_string
api01 | module = importlib.import_module(module_str)
api01 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api01 | File "/usr/local/lib/python3.12/importlib/__init__.py", line 90, in import_module
api01 | return _bootstrap._gcd_import(name[level:], package, level)
api01 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api01 | File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
api01 | File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
api01 | File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
api01 | File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
api01 | File "<frozen importlib._bootstrap_external>", line 995, in exec_module
api01 | File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
api01 | File "/code/app/main.py", line 6, in <module>
api01 | from app.database import Pool
api01 | File "/code/app/database.py", line 18, in <module>
api01 | Pool = psycopg2.pool.SimpleConnectionPool(
api01 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api01 | File "/usr/local/lib/python3.12/site-packages/psycopg2/pool.py", line 59, in __init__
api01 | self._connect()
api01 | File "/usr/local/lib/python3.12/site-packages/psycopg2/pool.py", line 63, in _connect
api01 | conn = psycopg2.connect(*self._args, **self._kwargs)
api01 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api01 | File "/usr/local/lib/python3.12/site-packages/psycopg2/__init__.py", line 122, in connect
api01 | conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
api01 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api01 | psycopg2.OperationalError: connection to server at "rinha-db" (192.168.192.2), port 5432 failed: Connection refused
api01 | Is the server running on that host and accepting TCP/IP connections?
api01 |
rinha-db-1 | 2024-02-21 15:39:19.745 GMT [37] LOG: checkpoint complete: wrote 941 buffers (5.7%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.390 s, sync=0.084 s, total=0.489 s; sync files=307, longest=0.057 s, average=0.001 s; distance=4316 kB, estimate=4316 kB; lsn=0/1927560, redo lsn=0/1927560
rinha-db-1 | 2024-02-21 15:39:19.750 GMT [36] LOG: database system is shut down
rinha-db-1 | done
rinha-db-1 | server stopped
rinha-db-1 |
rinha-db-1 | PostgreSQL init process complete; ready for start up.
rinha-db-1 |
rinha-db-1 | 2024-02-21 15:39:19.775 GMT [1] LOG: starting PostgreSQL 16.2 on x86_64-pc-linux-musl, compiled by gcc (Alpine 13.2.1_git20231014) 13.2.1 20231014, 64-bit
rinha-db-1 | 2024-02-21 15:39:19.775 GMT [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
rinha-db-1 | 2024-02-21 15:39:19.775 GMT [1] LOG: listening on IPv6 address "::", port 5432
rinha-db-1 | 2024-02-21 15:39:19.781 GMT [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
rinha-db-1 | 2024-02-21 15:39:19.789 GMT [54] LOG: database system was shut down at 2024-02-21 15:39:19 GMT
rinha-db-1 | 2024-02-21 15:39:19.795 GMT [1] LOG: database system is ready to accept connections
proxy-1 | 2024/02/21 15:39:19 [error] 30#30: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.192.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.192.3:80/clientes/1/extrato", host: "localhost:9999"
proxy-1 | 2024/02/21 15:39:19 [error] 30#30: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.192.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.192.4:80/clientes/1/extrato", host: "localhost:9999"
proxy-1 | 2024/02/21 15:39:21 [error] 29#29: *4 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.192.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.192.3:80/clientes/1/extrato", host: "localhost:9999"
proxy-1 | 2024/02/21 15:39:21 [error] 29#29: *4 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.192.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.192.4:80/clientes/1/extrato", host: "localhost:9999"
proxy-1 | 2024/02/21 15:39:23 [error] 31#31: *7 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.192.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.192.3:80/clientes/1/extrato", host: "localhost:9999"
proxy-1 | 2024/02/21 15:39:23 [error] 31#31: *7 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.192.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.192.4:80/clientes/1/extrato", host: "localhost:9999"
proxy-1 | 2024/02/21 15:39:25 [error] 32#32: *10 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.192.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.192.3:80/clientes/1/extrato", host: "localhost:9999"
proxy-1 | 2024/02/21 15:39:25 [error] 32#32: *10 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.192.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.192.4:80/clientes/1/extrato", host: "localhost:9999"
proxy-1 | 2024/02/21 15:39:27 [error] 30#30: *13 no live upstreams while connecting to upstream, client: 192.168.192.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
proxy-1 | 2024/02/21 15:39:29 [error] 30#30: *14 no live upstreams while connecting to upstream, client: 192.168.192.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
proxy-1 | 2024/02/21 15:39:31 [error] 30#30: *15 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.192.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.192.4:80/clientes/1/extrato", host: "localhost:9999"
proxy-1 | 2024/02/21 15:39:31 [error] 30#30: *15 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.192.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.192.3:80/clientes/1/extrato", host: "localhost:9999"
proxy-1 | 2024/02/21 15:39:33 [error] 30#30: *18 no live upstreams while connecting to upstream, client: 192.168.192.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
proxy-1 | 2024/02/21 15:39:35 [error] 30#30: *19 no live upstreams while connecting to upstream, client: 192.168.192.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
proxy-1 | 2024/02/21 15:39:37 [error] 30#30: *20 no live upstreams while connecting to upstream, client: 192.168.192.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
proxy-1 | 2024/02/21 15:39:39 [error] 30#30: *21 no live upstreams while connecting to upstream, client: 192.168.192.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
proxy-1 | 2024/02/21 15:39:42 [error] 30#30: *22 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.192.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.192.4:80/clientes/1/extrato", host: "localhost:9999"
proxy-1 | 2024/02/21 15:39:42 [error] 30#30: *22 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.192.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.192.3:80/clientes/1/extrato", host: "localhost:9999"
proxy-1 | 2024/02/21 15:39:44 [error] 30#30: *25 no live upstreams while connecting to upstream, client: 192.168.192.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
proxy-1 | 2024/02/21 15:39:46 [error] 30#30: *26 no live upstreams while connecting to upstream, client: 192.168.192.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
proxy-1 | 2024/02/21 15:39:48 [error] 30#30: *27 no live upstreams while connecting to upstream, client: 192.168.192.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
proxy-1 | 2024/02/21 15:39:50 [error] 30#30: *28 no live upstreams while connecting to upstream, client: 192.168.192.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
proxy-1 | 2024/02/21 15:39:52 [error] 30#30: *29 no live upstreams while connecting to upstream, client: 192.168.192.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
proxy-1 | 2024/02/21 15:39:54 [error] 30#30: *30 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.192.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.192.4:80/clientes/1/extrato", host: "localhost:9999"
proxy-1 | 2024/02/21 15:39:54 [error] 30#30: *30 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.192.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.192.3:80/clientes/1/extrato", host: "localhost:9999"
proxy-1 | 2024/02/21 15:39:56 [error] 30#30: *33 no live upstreams while connecting to upstream, client: 192.168.192.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
proxy-1 | 2024/02/21 15:39:58 [error] 30#30: *34 no live upstreams while connecting to upstream, client: 192.168.192.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
proxy-1 exited with code 0
proxy-1 exited with code 0
api01 | INFO: Stopping parent process [1]
api02 | INFO: Stopping parent process [1]
api01 exited with code 0
api01 exited with code 0
api02 exited with code 0
api02 exited with code 0
rinha-db-1 | 2024-02-21 15:40:01.793 GMT [1] LOG: received fast shutdown request
rinha-db-1 | 2024-02-21 15:40:01.796 GMT [1] LOG: aborting any active transactions
rinha-db-1 | 2024-02-21 15:40:01.799 GMT [1] LOG: background worker "logical replication launcher" (PID 57) exited with exit code 1
rinha-db-1 | 2024-02-21 15:40:01.799 GMT [52] LOG: shutting down
rinha-db-1 | 2024-02-21 15:40:01.803 GMT [52] LOG: checkpoint starting: shutdown immediate
rinha-db-1 | 2024-02-21 15:40:01.870 GMT [52] LOG: checkpoint complete: wrote 45 buffers (0.3%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.007 s, sync=0.035 s, total=0.071 s; sync files=14, longest=0.008 s, average=0.003 s; distance=239 kB, estimate=239 kB; lsn=0/1963240, redo lsn=0/1963240
rinha-db-1 | 2024-02-21 15:40:01.874 GMT [1] LOG: database system is shut down
rinha-db-1 exited with code 0