forked from zanfranceschi/rinha-de-backend-2024-q1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.logs
129 lines (129 loc) · 10.7 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
Network rinha_backend_2024_q1 Creating
Network rinha_backend_2024_q1 Created
Container geraldojrcg-elixir-database-1 Creating
Container geraldojrcg-elixir-database-1 Created
Container geraldojrcg-elixir-api1-1 Creating
Container geraldojrcg-elixir-api2-1 Creating
Container geraldojrcg-elixir-api2-1 Created
Container geraldojrcg-elixir-api1-1 Created
Container geraldojrcg-elixir-nginx-1 Creating
Container geraldojrcg-elixir-nginx-1 Created
Attaching to api1-1, api2-1, database-1, nginx-1
database-1 | The files belonging to this database system will be owned by user "postgres".
database-1 | This user must also own the server process.
database-1 |
database-1 | The database cluster will be initialized with locale "en_US.utf8".
database-1 | The default database encoding has accordingly been set to "UTF8".
database-1 | The default text search configuration will be set to "english".
database-1 |
database-1 | Data page checksums are disabled.
database-1 |
database-1 | fixing permissions on existing directory /var/lib/postgresql/data ... ok
database-1 | creating subdirectories ... ok
database-1 | selecting dynamic shared memory implementation ... posix
database-1 | selecting default max_connections ... 100
database-1 | selecting default shared_buffers ... 128MB
database-1 | selecting default time zone ... Etc/UTC
database-1 | creating configuration files ... ok
api1-1 | wait-for-it.sh: waiting 15 seconds for database:5432
database-1 | running bootstrap script ... ok
api2-1 | wait-for-it.sh: waiting 15 seconds for database:5432
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
database-1 | performing post-bootstrap initialization ... ok
database-1 | initdb: warning: enabling "trust" authentication for local connections
database-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.
database-1 | syncing data to disk ... ok
database-1 |
database-1 |
database-1 | Success. You can now start the database server using:
database-1 |
database-1 | pg_ctl -D /var/lib/postgresql/data -l logfile start
database-1 |
database-1 | waiting for server to start....2024-03-05 00:05:04.841 GMT [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
database-1 | 2024-03-05 00:05:04.841 GMT [48] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
database-1 | 2024-03-05 00:05:04.843 GMT [51] LOG: database system was shut down at 2024-03-05 00:05:04 GMT
database-1 | 2024-03-05 00:05:04.846 GMT [48] LOG: database system is ready to accept connections
database-1 | done
database-1 | server started
database-1 | CREATE DATABASE
database-1 |
database-1 |
database-1 | /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/script.sql
database-1 | CREATE TABLE
database-1 | CREATE TABLE
database-1 | DO
database-1 |
database-1 |
database-1 | waiting for server to shut down...2024-03-05 00:05:05.143 GMT [48] LOG: received fast shutdown request
database-1 | .2024-03-05 00:05:05.144 GMT [48] LOG: aborting any active transactions
database-1 | 2024-03-05 00:05:05.214 GMT [48] LOG: background worker "logical replication launcher" (PID 54) exited with exit code 1
database-1 | 2024-03-05 00:05:05.216 GMT [49] LOG: shutting down
database-1 | 2024-03-05 00:05:05.216 GMT [49] LOG: checkpoint starting: shutdown immediate
database-1 | 2024-03-05 00:05:05.222 GMT [49] LOG: checkpoint complete: wrote 938 buffers (7.6%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.006 s, sync=0.001 s, total=0.007 s; sync files=0, longest=0.000 s, average=0.000 s; distance=4290 kB, estimate=4290 kB; lsn=0/191B3C8, redo lsn=0/191B3C8
database-1 | 2024-03-05 00:05:05.227 GMT [48] LOG: database system is shut down
database-1 | done
database-1 | server stopped
database-1 |
database-1 | PostgreSQL init process complete; ready for start up.
database-1 |
database-1 | 2024-03-05 00:05:05.257 GMT [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
database-1 | 2024-03-05 00:05:05.258 GMT [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
database-1 | 2024-03-05 00:05:05.258 GMT [1] LOG: listening on IPv6 address "::", port 5432
database-1 | 2024-03-05 00:05:05.258 GMT [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
database-1 | 2024-03-05 00:05:05.259 GMT [66] LOG: database system was shut down at 2024-03-05 00:05:05 GMT
database-1 | 2024-03-05 00:05:05.266 GMT [1] LOG: database system is ready to accept connections
api1-1 | wait-for-it.sh: database:5432 is available after 2 seconds
api2-1 | wait-for-it.sh: database:5432 is available after 2 seconds
nginx-1 | 2024/03/05 00:05:07 [error] 29#29: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 172.27.0.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://172.27.0.3:3000/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/03/05 00:05:07 [error] 29#29: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 172.27.0.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://172.27.0.4:3001/clientes/1/extrato", host: "localhost:9999"
api1-1 | 00:05:08.414 [info] Running RinhaBackendWeb.Endpoint with cowboy 2.10.0 at :::3000 (http)
api1-1 | 00:05:08.414 [info] Access RinhaBackendWeb.Endpoint at https://api1
api2-1 | 00:05:08.511 [info] Running RinhaBackendWeb.Endpoint with cowboy 2.10.0 at :::3001 (http)
api2-1 | 00:05:08.511 [info] Access RinhaBackendWeb.Endpoint at https://api2
nginx-1 | 2024/03/05 00:05:09 [error] 29#29: *4 no live upstreams while connecting to upstream, client: 172.27.0.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/03/05 00:05:11 [error] 29#29: *5 no live upstreams while connecting to upstream, client: 172.27.0.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/03/05 00:05:13 [error] 29#29: *6 no live upstreams while connecting to upstream, client: 172.27.0.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/03/05 00:05:15 [error] 29#29: *7 no live upstreams while connecting to upstream, client: 172.27.0.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/03/05 00:05:17 [error] 29#29: *8 no live upstreams while connecting to upstream, client: 172.27.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
api2-1 | 00:09:31.856 [notice] SIGTERM received - shutting down
api2-1 |
api1-1 | 00:09:31.856 [notice] SIGTERM received - shutting down
api1-1 |
api2-1 | 00:09:31.864 [info] Postgrex.Protocol (#PID<0.1471.0>) missed message: {:EXIT, #PID<0.1585.0>, :shutdown}
api2-1 | 00:09:31.864 [info] Postgrex.Protocol (#PID<0.1473.0>) missed message: {:EXIT, #PID<0.1585.0>, :shutdown}
api2-1 | 00:09:31.864 [info] Postgrex.Protocol (#PID<0.1474.0>) missed message: {:EXIT, #PID<0.1585.0>, :shutdown}
api1-1 | 00:09:31.865 [info] Postgrex.Protocol (#PID<0.1466.0>) missed message: {:EXIT, #PID<0.1585.0>, :shutdown}
api1-1 | 00:09:31.866 [info] Postgrex.Protocol (#PID<0.1471.0>) missed message: {:EXIT, #PID<0.1585.0>, :shutdown}
api1-1 | 00:09:31.866 [info] Postgrex.Protocol (#PID<0.1465.0>) missed message: {:EXIT, #PID<0.1585.0>, :shutdown}
api1-1 | 00:09:31.866 [info] Postgrex.Protocol (#PID<0.1474.0>) missed message: {:EXIT, #PID<0.1585.0>, :shutdown}
api1-1 | 00:09:31.866 [info] Postgrex.Protocol (#PID<0.1472.0>) missed message: {:EXIT, #PID<0.1585.0>, :shutdown}
api1-1 | 00:09:31.866 [info] Postgrex.Protocol (#PID<0.1470.0>) missed message: {:EXIT, #PID<0.1585.0>, :shutdown}
api1-1 | 00:09:31.866 [info] Postgrex.Protocol (#PID<0.1469.0>) missed message: {:EXIT, #PID<0.1585.0>, :shutdown}
api1-1 | 00:09:31.865 [info] Postgrex.Protocol (#PID<0.1473.0>) missed message: {:EXIT, #PID<0.1585.0>, :shutdown}
api2-1 | 00:09:31.864 [info] Postgrex.Protocol (#PID<0.1472.0>) missed message: {:EXIT, #PID<0.1585.0>, :shutdown}
api2-1 | 00:09:31.864 [info] Postgrex.Protocol (#PID<0.1469.0>) missed message: {:EXIT, #PID<0.1585.0>, :shutdown}
api2-1 | 00:09:31.864 [info] Postgrex.Protocol (#PID<0.1466.0>) missed message: {:EXIT, #PID<0.1585.0>, :shutdown}
api2-1 | 00:09:31.864 [info] Postgrex.Protocol (#PID<0.1470.0>) missed message: {:EXIT, #PID<0.1585.0>, :shutdown}
api2-1 | 00:09:31.864 [info] Postgrex.Protocol (#PID<0.1465.0>) missed message: {:EXIT, #PID<0.1585.0>, :shutdown}
api1-1 exited with code 0
api1-1 exited with code 0
api2-1 exited with code 0
api2-1 exited with code 0
database-1 | 2024-03-05 00:09:33.763 GMT [1] LOG: received fast shutdown request
database-1 | 2024-03-05 00:09:33.763 GMT [1] LOG: aborting any active transactions
database-1 | 2024-03-05 00:09:33.765 GMT [1] LOG: background worker "logical replication launcher" (PID 69) exited with exit code 1
database-1 | 2024-03-05 00:09:33.765 GMT [64] LOG: shutting down
database-1 | 2024-03-05 00:09:33.765 GMT [64] LOG: checkpoint starting: shutdown immediate
database-1 | 2024-03-05 00:09:33.769 GMT [64] LOG: checkpoint complete: wrote 772 buffers (6.3%); 0 WAL file(s) added, 0 removed, 1 recycled; write=0.004 s, sync=0.001 s, total=0.004 s; sync files=0, longest=0.000 s, average=0.000 s; distance=18780 kB, estimate=18780 kB; lsn=0/2B72590, redo lsn=0/2B72590
database-1 | 2024-03-05 00:09:33.772 GMT [1] LOG: database system is shut down
database-1 exited with code 0