forked from zanfranceschi/rinha-de-backend-2024-q1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.logs
133 lines (133 loc) · 15 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
Network macgarcia_minha-rede-de-ponte Creating
Network macgarcia_minha-rede-de-ponte Created
Container banco_rinha Creating
Container banco_rinha Created
Container api2 Creating
Container api1 Creating
Container api2 Created
Container api1 Created
Container macgarcia-nginx-1 Creating
Container macgarcia-nginx-1 Created
Attaching to api1, api2, banco_rinha, nginx-1
banco_rinha | The files belonging to this database system will be owned by user "postgres".
banco_rinha | This user must also own the server process.
banco_rinha |
banco_rinha | The database cluster will be initialized with locale "en_US.utf8".
banco_rinha | The default database encoding has accordingly been set to "UTF8".
banco_rinha | The default text search configuration will be set to "english".
banco_rinha |
banco_rinha | Data page checksums are disabled.
banco_rinha |
banco_rinha | fixing permissions on existing directory /var/lib/postgresql/data ... ok
banco_rinha | creating subdirectories ... ok
banco_rinha | selecting dynamic shared memory implementation ... posix
banco_rinha | selecting default max_connections ... 100
banco_rinha | selecting default shared_buffers ... 128MB
banco_rinha | selecting default time zone ... Etc/UTC
banco_rinha | creating configuration files ... ok
banco_rinha | running bootstrap script ... ok
banco_rinha | performing post-bootstrap initialization ... ok
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
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
banco_rinha | syncing data to disk ... ok
banco_rinha |
banco_rinha |
banco_rinha | Success. You can now start the database server using:
banco_rinha |
banco_rinha | pg_ctl -D /var/lib/postgresql/data -l logfile start
banco_rinha |
banco_rinha | initdb: warning: enabling "trust" authentication for local connections
banco_rinha | 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.
banco_rinha | waiting for server to start....2024-02-19 11:13:27.493 UTC [48] LOG: starting PostgreSQL 16.2 (Debian 16.2-1.pgdg120+2) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
banco_rinha | 2024-02-19 11:13:27.496 UTC [48] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
banco_rinha | 2024-02-19 11:13:27.506 UTC [51] LOG: database system was shut down at 2024-02-19 11:13:27 UTC
banco_rinha | 2024-02-19 11:13:27.512 UTC [48] LOG: database system is ready to accept connections
api1 | __ __ _ _
api1 | | \/ (_) ___ _ __ ___ _ __ __ _ _ _| |_
api1 | | |\/| | |/ __| '__/ _ \| '_ \ / _` | | | | __|
api1 | | | | | | (__| | | (_) | | | | (_| | |_| | |_
api1 | |_| |_|_|\___|_| \___/|_| |_|\__,_|\__,_|\__|
banco_rinha | done
banco_rinha | server started
banco_rinha | CREATE DATABASE
banco_rinha |
banco_rinha |
banco_rinha | /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*
banco_rinha |
banco_rinha | waiting for server to shut down....2024-02-19 11:13:27.694 UTC [48] LOG: received fast shutdown request
banco_rinha | 2024-02-19 11:13:27.698 UTC [48] LOG: aborting any active transactions
banco_rinha | 2024-02-19 11:13:27.716 UTC [48] LOG: background worker "logical replication launcher" (PID 54) exited with exit code 1
banco_rinha | 2024-02-19 11:13:27.717 UTC [49] LOG: shutting down
banco_rinha | 2024-02-19 11:13:27.723 UTC [49] LOG: checkpoint starting: shutdown immediate
api2 | __ __ _ _
api2 | | \/ (_) ___ _ __ ___ _ __ __ _ _ _| |_
api2 | | |\/| | |/ __| '__/ _ \| '_ \ / _` | | | | __|
api2 | | | | | | (__| | | (_) | | | | (_| | |_| | |_
api2 | |_| |_|_|\___|_| \___/|_| |_|\__,_|\__,_|\__|
banco_rinha | 2024-02-19 11:13:28.224 UTC [49] LOG: checkpoint complete: wrote 923 buffers (5.6%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.212 s, sync=0.275 s, total=0.507 s; sync files=301, longest=0.212 s, average=0.001 s; distance=4257 kB, estimate=4257 kB; lsn=0/1913078, redo lsn=0/1913078
banco_rinha | 2024-02-19 11:13:28.231 UTC [48] LOG: database system is shut down
banco_rinha | done
banco_rinha | server stopped
banco_rinha |
banco_rinha | PostgreSQL init process complete; ready for start up.
banco_rinha |
banco_rinha | 2024-02-19 11:13:28.322 UTC [1] LOG: starting PostgreSQL 16.2 (Debian 16.2-1.pgdg120+2) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
banco_rinha | 2024-02-19 11:13:28.322 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
banco_rinha | 2024-02-19 11:13:28.322 UTC [1] LOG: listening on IPv6 address "::", port 5432
banco_rinha | 2024-02-19 11:13:28.331 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
banco_rinha | 2024-02-19 11:13:28.340 UTC [64] LOG: database system was shut down at 2024-02-19 11:13:28 UTC
banco_rinha | 2024-02-19 11:13:28.350 UTC [1] LOG: database system is ready to accept connections
nginx-1 | 2024/02/19 11:13:29 [error] 29#29: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 172.25.0.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://172.25.0.3:8080/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/02/19 11:13:29 [error] 29#29: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 172.25.0.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://172.25.0.4:8080/clientes/1/extrato", host: "localhost:9999"
api1 | [36m11:13:30.937[0;39m [1;30m[main][0;39m [34mINFO [0;39m [35mcom.zaxxer.hikari.HikariDataSource[0;39m - HikariPool-1 - Starting...
api2 | [36m11:13:31.338[0;39m [1;30m[main][0;39m [34mINFO [0;39m [35mcom.zaxxer.hikari.HikariDataSource[0;39m - HikariPool-1 - Starting...
nginx-1 | 2024/02/19 11:13:31 [error] 29#29: *4 no live upstreams while connecting to upstream, client: 172.25.0.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
api1 | [36m11:13:32.331[0;39m [1;30m[main][0;39m [34mINFO [0;39m [35mcom.zaxxer.hikari.pool.HikariPool[0;39m - HikariPool-1 - Added connection org.postgresql.jdbc.PgConnection@705202d1
api1 | [36m11:13:32.332[0;39m [1;30m[main][0;39m [34mINFO [0;39m [35mcom.zaxxer.hikari.HikariDataSource[0;39m - HikariPool-1 - Start completed.
api2 | [36m11:13:32.834[0;39m [1;30m[main][0;39m [34mINFO [0;39m [35mcom.zaxxer.hikari.pool.HikariPool[0;39m - HikariPool-1 - Added connection org.postgresql.jdbc.PgConnection@46baf579
api2 | [36m11:13:32.835[0;39m [1;30m[main][0;39m [34mINFO [0;39m [35mcom.zaxxer.hikari.HikariDataSource[0;39m - HikariPool-1 - Start completed.
nginx-1 | 2024/02/19 11:13:33 [error] 29#29: *5 no live upstreams while connecting to upstream, client: 172.25.0.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/02/19 11:13:35 [error] 29#29: *6 no live upstreams while connecting to upstream, client: 172.25.0.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
api2 exited with code 137
api1 exited with code 137
nginx-1 | 2024/02/19 11:13:37 [error] 29#29: *7 no live upstreams while connecting to upstream, client: 172.25.0.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/02/19 11:13:39 [error] 29#29: *8 no live upstreams while connecting to upstream, client: 172.25.0.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/02/19 11:14:41 [error] 29#29: *9 upstream timed out (110: Connection timed out) while connecting to upstream, client: 172.25.0.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://172.25.0.4:8080/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/02/19 11:15:00 [error] 29#29: *9 connect() failed (113: No route to host) while connecting to upstream, client: 172.25.0.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://172.25.0.3:8080/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/02/19 11:15:05 [error] 29#29: *12 connect() failed (113: No route to host) while connecting to upstream, client: 172.25.0.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://172.25.0.4:8080/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/02/19 11:15:05 [error] 29#29: *12 no live upstreams while connecting to upstream, client: 172.25.0.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/02/19 11:15:07 [error] 29#29: *14 no live upstreams while connecting to upstream, client: 172.25.0.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/02/19 11:15:09 [error] 29#29: *15 no live upstreams while connecting to upstream, client: 172.25.0.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/02/19 11:15:14 [error] 29#29: *16 connect() failed (113: No route to host) while connecting to upstream, client: 172.25.0.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://172.25.0.3:8080/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/02/19 11:15:14 [error] 29#29: *16 no live upstreams while connecting to upstream, client: 172.25.0.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/02/19 11:15:19 [error] 29#29: *18 connect() failed (113: No route to host) while connecting to upstream, client: 172.25.0.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://172.25.0.4:8080/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/02/19 11:15:19 [error] 29#29: *18 no live upstreams while connecting to upstream, client: 172.25.0.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/02/19 11:15:21 [error] 29#29: *20 no live upstreams while connecting to upstream, client: 172.25.0.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/02/19 11:15:23 [error] 29#29: *21 no live upstreams while connecting to upstream, client: 172.25.0.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/02/19 11:15:28 [error] 29#29: *22 connect() failed (113: No route to host) while connecting to upstream, client: 172.25.0.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://172.25.0.3:8080/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/02/19 11:15:28 [error] 29#29: *22 no live upstreams while connecting to upstream, client: 172.25.0.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/02/19 11:15:33 [error] 29#29: *24 connect() failed (113: No route to host) while connecting to upstream, client: 172.25.0.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://172.25.0.4:8080/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/02/19 11:15:33 [error] 29#29: *24 no live upstreams while connecting to upstream, client: 172.25.0.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/02/19 11:15:35 [error] 29#29: *26 no live upstreams while connecting to upstream, client: 172.25.0.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/02/19 11:15:37 [error] 29#29: *27 no live upstreams while connecting to upstream, client: 172.25.0.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/02/19 11:15:42 [error] 29#29: *28 connect() failed (113: No route to host) while connecting to upstream, client: 172.25.0.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://172.25.0.3:8080/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/02/19 11:15:42 [error] 29#29: *28 no live upstreams while connecting to upstream, client: 172.25.0.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/02/19 11:15:47 [error] 29#29: *30 connect() failed (113: No route to host) while connecting to upstream, client: 172.25.0.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://172.25.0.4:8080/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/02/19 11:15:47 [error] 29#29: *30 no live upstreams while connecting to upstream, client: 172.25.0.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
nginx-1 exited with code 0
nginx-1 exited with code 0
banco_rinha | 2024-02-19 11:15:50.410 UTC [1] LOG: received fast shutdown request
banco_rinha | 2024-02-19 11:15:50.414 UTC [1] LOG: aborting any active transactions
banco_rinha | 2024-02-19 11:15:50.416 UTC [1] LOG: background worker "logical replication launcher" (PID 67) exited with exit code 1
banco_rinha | 2024-02-19 11:15:50.416 UTC [62] LOG: shutting down
banco_rinha | 2024-02-19 11:15:50.419 UTC [62] LOG: checkpoint starting: shutdown immediate
banco_rinha | 2024-02-19 11:15:50.461 UTC [62] LOG: checkpoint complete: wrote 45 buffers (0.3%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.008 s, sync=0.020 s, total=0.045 s; sync files=12, longest=0.008 s, average=0.002 s; distance=261 kB, estimate=261 kB; lsn=0/1954478, redo lsn=0/1954478
banco_rinha | 2024-02-19 11:15:50.464 UTC [1] LOG: database system is shut down
banco_rinha exited with code 0