-
Notifications
You must be signed in to change notification settings - Fork 923
/
Copy pathdocker-compose.logs
171 lines (171 loc) · 17 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
Network rinha-nginx-2024q1 Creating
Network rinha-nginx-2024q1 Created
Container alcides-kotlin-db-1 Creating
Container alcides-kotlin-db-1 Created
Container alcides-kotlin-api02-1 Creating
Container alcides-kotlin-api01-1 Creating
Container alcides-kotlin-api01-1 Created
Container alcides-kotlin-api02-1 Created
Container alcides-kotlin-nginx-1 Creating
Container alcides-kotlin-nginx-1 Created
Attaching to api01-1, api02-1, db-1, nginx-1
db-1 | The files belonging to this database system will be owned by user "postgres".
db-1 | This user must also own the server process.
db-1 |
db-1 | The database cluster will be initialized with locale "en_US.utf8".
db-1 | The default database encoding has accordingly been set to "UTF8".
db-1 | The default text search configuration will be set to "english".
db-1 |
db-1 | Data page checksums are disabled.
db-1 |
db-1 | fixing permissions on existing directory /var/lib/postgresql/data ... ok
db-1 | creating subdirectories ... ok
db-1 | selecting dynamic shared memory implementation ... posix
db-1 | selecting default max_connections ... 100
db-1 | selecting default shared_buffers ... 128MB
db-1 | selecting default time zone ... Etc/UTC
db-1 | creating configuration files ... ok
db-1 | running bootstrap script ... 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
db-1 | performing post-bootstrap initialization ... ok
db-1 | syncing data to disk ... ok
db-1 |
db-1 |
db-1 | Success. You can now start the database server using:
db-1 |
db-1 | pg_ctl -D /var/lib/postgresql/data -l logfile start
db-1 |
db-1 | initdb: warning: enabling "trust" authentication for local connections
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.
db-1 | waiting for server to start....2024-03-03 18:03:11.526 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
db-1 | 2024-03-03 18:03:11.526 UTC [48] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
db-1 | 2024-03-03 18:03:11.529 UTC [51] LOG: database system was shut down at 2024-03-03 18:03:11 UTC
db-1 | 2024-03-03 18:03:11.535 UTC [48] LOG: database system is ready to accept connections
db-1 | done
db-1 | server started
db-1 | CREATE DATABASE
db-1 |
db-1 |
db-1 | /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/init.sql
db-1 | CREATE TABLE
db-1 | CREATE TABLE
db-1 | CREATE INDEX
db-1 | CREATE INDEX
db-1 | CREATE FUNCTION
db-1 | CREATE FUNCTION
db-1 | INSERT 0 5
db-1 | CREATE FUNCTION
db-1 |
db-1 |
db-1 | waiting for server to shut down...2024-03-03 18:03:11.939 UTC [48] LOG: received fast shutdown request
db-1 | .2024-03-03 18:03:11.939 UTC [48] LOG: aborting any active transactions
db-1 | 2024-03-03 18:03:11.940 UTC [48] LOG: background worker "logical replication launcher" (PID 54) exited with exit code 1
db-1 | 2024-03-03 18:03:11.942 UTC [49] LOG: shutting down
db-1 | 2024-03-03 18:03:11.942 UTC [49] LOG: checkpoint starting: shutdown immediate
db-1 | 2024-03-03 18:03:11.950 UTC [49] LOG: checkpoint complete: wrote 939 buffers (45.8%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.008 s, sync=0.001 s, total=0.008 s; sync files=0, longest=0.000 s, average=0.000 s; distance=4303 kB, estimate=4303 kB; lsn=0/191E948, redo lsn=0/191E948
db-1 | 2024-03-03 18:03:11.953 UTC [48] LOG: database system is shut down
db-1 | done
db-1 | server stopped
db-1 |
db-1 | PostgreSQL init process complete; ready for start up.
db-1 |
db-1 | 2024-03-03 18:03:12.051 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
db-1 | 2024-03-03 18:03:12.051 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
db-1 | 2024-03-03 18:03:12.051 UTC [1] LOG: listening on IPv6 address "::", port 5432
db-1 | 2024-03-03 18:03:12.051 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
db-1 | 2024-03-03 18:03:12.053 UTC [66] LOG: database system was shut down at 2024-03-03 18:03:11 UTC
db-1 | 2024-03-03 18:03:12.056 UTC [1] LOG: database system is ready to accept connections
nginx-1 | 2024/03/03 18:03:13 [error] 29#29: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.80.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.80.3:8080/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/03/03 18:03:13 [error] 29#29: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.80.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.80.4:8080/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/03/03 18:03:15 [error] 29#29: *4 no live upstreams while connecting to upstream, client: 192.168.80.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 | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
api01-1 | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
api01-1 | \\/ ___)| |_)| | | | | || (_| | ) ) ) )
api01-1 | ' |____| .__|_| |_|_| |_\__, | / / / /
api01-1 | =========|_|==============|___/=/_/_/_/
api01-1 | :: Spring Boot :: (v3.2.3)
api01-1 |
api02-1 |
api02-1 | . ____ _ __ _ _
api02-1 | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
api02-1 | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
api02-1 | \\/ ___)| |_)| | | | | || (_| | ) ) ) )
api02-1 | ' |____| .__|_| |_|_| |_\__, | / / / /
api02-1 | =========|_|==============|___/=/_/_/_/
api02-1 | :: Spring Boot :: (v3.2.3)
api02-1 |
api01-1 | 2024-03-03T18:03:16.229Z INFO 1 --- [rinha-app] [ main] br.com.rinha.RinhaApplicationKt : Starting RinhaApplicationKt v0.0.1-SNAPSHOT using Java 21.0.2 with PID 1 (/project/app.jar started by root in /project)
api01-1 | 2024-03-03T18:03:16.315Z INFO 1 --- [rinha-app] [ main] br.com.rinha.RinhaApplicationKt : No active profile set, falling back to 1 default profile: "default"
api02-1 | 2024-03-03T18:03:16.421Z INFO 1 --- [rinha-app] [ main] br.com.rinha.RinhaApplicationKt : Starting RinhaApplicationKt v0.0.1-SNAPSHOT using Java 21.0.2 with PID 1 (/project/app.jar started by root in /project)
api02-1 | 2024-03-03T18:03:16.428Z INFO 1 --- [rinha-app] [ main] br.com.rinha.RinhaApplicationKt : No active profile set, falling back to 1 default profile: "default"
nginx-1 | 2024/03/03 18:03:17 [error] 29#29: *5 no live upstreams while connecting to upstream, client: 192.168.80.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/03/03 18:03:19 [error] 29#29: *6 no live upstreams while connecting to upstream, client: 192.168.80.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/03/03 18:03:21 [error] 29#29: *7 no live upstreams while connecting to upstream, client: 192.168.80.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/03/03 18:03:23 [error] 29#29: *8 no live upstreams while connecting to upstream, client: 192.168.80.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
api01-1 | 2024-03-03T18:03:24.118Z INFO 1 --- [rinha-app] [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8080 (http)
api01-1 | 2024-03-03T18:03:24.134Z INFO 1 --- [rinha-app] [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
api01-1 | 2024-03-03T18:03:24.135Z INFO 1 --- [rinha-app] [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.19]
api01-1 | 2024-03-03T18:03:24.528Z INFO 1 --- [rinha-app] [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
api01-1 | 2024-03-03T18:03:24.529Z INFO 1 --- [rinha-app] [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 7894 ms
api02-1 | 2024-03-03T18:03:24.719Z INFO 1 --- [rinha-app] [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8080 (http)
api02-1 | 2024-03-03T18:03:24.738Z INFO 1 --- [rinha-app] [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
api02-1 | 2024-03-03T18:03:24.739Z INFO 1 --- [rinha-app] [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.19]
api02-1 | 2024-03-03T18:03:25.126Z INFO 1 --- [rinha-app] [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
api02-1 | 2024-03-03T18:03:25.127Z INFO 1 --- [rinha-app] [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 8289 ms
nginx-1 | 2024/03/03 18:03:25 [error] 29#29: *9 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.80.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.80.4:8080/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/03/03 18:03:25 [error] 29#29: *9 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.80.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.80.3:8080/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/03/03 18:03:27 [error] 29#29: *12 no live upstreams while connecting to upstream, client: 192.168.80.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
api01-1 | 2024-03-03T18:03:28.824Z INFO 1 --- [rinha-app] [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 8080 (http) with context path ''
api01-1 | 2024-03-03T18:03:28.924Z INFO 1 --- [rinha-app] [ main] br.com.rinha.RinhaApplicationKt : Started RinhaApplicationKt in 15.521 seconds (process running for 18.856)
api01-1 | 2024-03-03T18:03:28.930Z INFO 1 --- [rinha-app] [ main] br.com.rinha.service.WarmupService : Starting warmup...
api02-1 | 2024-03-03T18:03:29.027Z INFO 1 --- [rinha-app] [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 8080 (http) with context path ''
api02-1 | 2024-03-03T18:03:29.131Z INFO 1 --- [rinha-app] [ main] br.com.rinha.RinhaApplicationKt : Started RinhaApplicationKt in 15.779 seconds (process running for 19.016)
api02-1 | 2024-03-03T18:03:29.141Z INFO 1 --- [rinha-app] [ main] br.com.rinha.service.WarmupService : Starting warmup...
nginx-1 | 2024/03/03 18:03:29 [error] 29#29: *13 no live upstreams while connecting to upstream, client: 192.168.80.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
api02-1 | 2024-03-03T18:03:30.227Z INFO 1 --- [rinha-app] [nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet'
api02-1 | 2024-03-03T18:03:30.229Z INFO 1 --- [rinha-app] [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
api02-1 | 2024-03-03T18:03:30.230Z INFO 1 --- [rinha-app] [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms
api01-1 | 2024-03-03T18:03:30.316Z INFO 1 --- [rinha-app] [nio-8080-exec-2] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet'
api01-1 | 2024-03-03T18:03:30.317Z INFO 1 --- [rinha-app] [nio-8080-exec-2] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
api01-1 | 2024-03-03T18:03:30.318Z INFO 1 --- [rinha-app] [nio-8080-exec-2] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms
api02-1 | 2024-03-03T18:03:30.627Z INFO 1 --- [rinha-app] [nio-8080-exec-1] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
api01-1 | 2024-03-03T18:03:30.634Z INFO 1 --- [rinha-app] [nio-8080-exec-2] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
api02-1 | 2024-03-03T18:03:31.435Z INFO 1 --- [rinha-app] [nio-8080-exec-1] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection org.postgresql.jdbc.PgConnection@53bd6544
nginx-1 | 2024/03/03 18:03:31 [error] 29#29: *14 no live upstreams while connecting to upstream, client: 192.168.80.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
api02-1 | 2024-03-03T18:03:31.516Z INFO 1 --- [rinha-app] [nio-8080-exec-1] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
api01-1 | 2024-03-03T18:03:31.545Z INFO 1 --- [rinha-app] [nio-8080-exec-2] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection org.postgresql.jdbc.PgConnection@541a325f
api01-1 | 2024-03-03T18:03:31.615Z INFO 1 --- [rinha-app] [nio-8080-exec-2] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
api01-1 | 2024-03-03T18:03:33.336Z INFO 1 --- [rinha-app] [ main] br.com.rinha.service.WarmupService : Finished warmup
api01-1 | 2024-03-03T18:03:33.420Z INFO 1 --- [rinha-app] [ main] br.com.rinha.service.WarmupService : Warmup completed in 4.407036906s
nginx-1 | 2024/03/03 18:03:33 [error] 29#29: *15 no live upstreams while connecting to upstream, client: 192.168.80.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
api02-1 | 2024-03-03T18:03:33.723Z INFO 1 --- [rinha-app] [ main] br.com.rinha.service.WarmupService : Finished warmup
api02-1 | 2024-03-03T18:03:33.816Z INFO 1 --- [rinha-app] [ main] br.com.rinha.service.WarmupService : Warmup completed in 4.582677350s
nginx-1 | 2024/03/03 18:03:35 [error] 29#29: *16 no live upstreams while connecting to upstream, client: 192.168.80.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
api01-1 | 2024-03-03T18:07:50.629Z INFO 1 --- [rinha-app] [ionShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated...
api02-1 | 2024-03-03T18:07:50.638Z INFO 1 --- [rinha-app] [ionShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated...
api01-1 | 2024-03-03T18:07:50.641Z INFO 1 --- [rinha-app] [ionShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.
api02-1 | 2024-03-03T18:07:50.645Z INFO 1 --- [rinha-app] [ionShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.
api02-1 exited with code 0
api02-1 exited with code 143
api01-1 exited with code 0
api01-1 exited with code 143
db-1 | 2024-03-03 18:07:51.762 UTC [1] LOG: received fast shutdown request
db-1 | 2024-03-03 18:07:51.762 UTC [1] LOG: aborting any active transactions
db-1 | 2024-03-03 18:07:51.764 UTC [1] LOG: background worker "logical replication launcher" (PID 69) exited with exit code 1
db-1 | 2024-03-03 18:07:51.765 UTC [64] LOG: shutting down
db-1 | 2024-03-03 18:07:51.766 UTC [64] LOG: checkpoint starting: shutdown immediate
db-1 | 2024-03-03 18:07:51.770 UTC [64] LOG: checkpoint complete: wrote 1006 buffers (49.1%); 0 WAL file(s) added, 0 removed, 1 recycled; write=0.005 s, sync=0.001 s, total=0.005 s; sync files=0, longest=0.000 s, average=0.000 s; distance=22849 kB, estimate=22849 kB; lsn=0/2F6ED70, redo lsn=0/2F6ED70
db-1 | 2024-03-03 18:07:51.773 UTC [1] LOG: database system is shut down
db-1 exited with code 0