forked from zanfranceschi/rinha-de-backend-2024-q1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.logs
175 lines (175 loc) · 14.8 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
Network jeifersonalmeida-spring_default Creating
Network jeifersonalmeida-spring_default Created
Container jeifersonalmeida-spring-postgres-1 Creating
Container jeifersonalmeida-spring-api2-1 Creating
Container jeifersonalmeida-spring-api1-1 Creating
Container jeifersonalmeida-spring-api2-1 Created
Container jeifersonalmeida-spring-api1-1 Created
Container jeifersonalmeida-spring-nginx-1 Creating
Container jeifersonalmeida-spring-postgres-1 Created
Container jeifersonalmeida-spring-nginx-1 Created
Attaching to api1-1, api2-1, nginx-1, postgres-1
api1-1 | Logging tuning properties...
api1-1 | VIRTUAL_THREADS: false
api1-1 | POOL_SIZE: 10
api1-1 | TOMCAT_THREAD_POOL: 200
api1-1 |
api1-1 | . ____ _ __ _ _
api1-1 | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
api1-1 | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
api1-1 | \\/ ___)| |_)| | | | | || (_| | ) ) ) )
api1-1 | ' |____| .__|_| |_|_| |_\__, | / / / /
api1-1 | =========|_|==============|___/=/_/_/_/
api1-1 | :: Spring Boot :: (v3.2.1)
api1-1 |
api1-1 | 2024-02-29T20:12:33.840Z INFO 1 --- [ main] .c.j.r.RinhabackendImperativeApplication : Starting AOT-processed RinhabackendImperativeApplication using Java 21.0.2 with PID 1 (/workspace/br.com.jeiferson.rinhabackendimperative.RinhabackendImperativeApplication started by cnb in /workspace)
api1-1 | 2024-02-29T20:12:33.840Z INFO 1 --- [ main] .c.j.r.RinhabackendImperativeApplication : No active profile set, falling back to 1 default profile: "default"
api1-1 | 2024-02-29T20:12:33.851Z INFO 1 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8081 (http)
api1-1 | 2024-02-29T20:12:33.852Z INFO 1 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
api1-1 | 2024-02-29T20:12:33.852Z INFO 1 --- [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.17]
api1-1 | 2024-02-29T20:12:33.916Z INFO 1 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
api1-1 | 2024-02-29T20:12:33.916Z INFO 1 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 76 ms
api1-1 | 2024-02-29T20:12:33.952Z INFO 1 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 8081 (http) with context path ''
api1-1 | 2024-02-29T20:12:33.953Z INFO 1 --- [ main] .c.j.r.RinhabackendImperativeApplication : Started RinhabackendImperativeApplication in 0.124 seconds (process running for 0.129)
postgres-1 | The files belonging to this database system will be owned by user "postgres".
postgres-1 | This user must also own the server process.
postgres-1 |
postgres-1 | The database cluster will be initialized with locale "en_US.utf8".
postgres-1 | The default database encoding has accordingly been set to "UTF8".
postgres-1 | The default text search configuration will be set to "english".
postgres-1 |
postgres-1 | Data page checksums are disabled.
postgres-1 |
postgres-1 | fixing permissions on existing directory /var/lib/postgresql/data ... ok
postgres-1 | creating subdirectories ... ok
postgres-1 | selecting dynamic shared memory implementation ... posix
api2-1 | Logging tuning properties...
api2-1 | VIRTUAL_THREADS: false
api2-1 | POOL_SIZE: 10
api2-1 | TOMCAT_THREAD_POOL: 200
postgres-1 | selecting default max_connections ... 100
api2-1 |
api2-1 | . ____ _ __ _ _
api2-1 | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
api2-1 | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
api2-1 | \\/ ___)| |_)| | | | | || (_| | ) ) ) )
api2-1 | ' |____| .__|_| |_|_| |_\__, | / / / /
api2-1 | =========|_|==============|___/=/_/_/_/
api2-1 | :: Spring Boot :: (v3.2.1)
api2-1 |
api2-1 | 2024-02-29T20:12:34.053Z INFO 1 --- [ main] .c.j.r.RinhabackendImperativeApplication : Starting AOT-processed RinhabackendImperativeApplication using Java 21.0.2 with PID 1 (/workspace/br.com.jeiferson.rinhabackendimperative.RinhabackendImperativeApplication started by cnb in /workspace)
api2-1 | 2024-02-29T20:12:34.053Z INFO 1 --- [ main] .c.j.r.RinhabackendImperativeApplication : No active profile set, falling back to 1 default profile: "default"
postgres-1 | selecting default shared_buffers ... 128MB
postgres-1 | selecting default time zone ... Etc/UTC
postgres-1 | creating configuration files ... ok
api2-1 | 2024-02-29T20:12:34.121Z INFO 1 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8082 (http)
api2-1 | 2024-02-29T20:12:34.121Z INFO 1 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
api2-1 | 2024-02-29T20:12:34.122Z INFO 1 --- [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.17]
api2-1 | 2024-02-29T20:12:34.129Z INFO 1 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
api2-1 | 2024-02-29T20:12:34.129Z INFO 1 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 76 ms
api2-1 | 2024-02-29T20:12:34.231Z INFO 1 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 8082 (http) with context path ''
api2-1 | 2024-02-29T20:12:34.232Z INFO 1 --- [ main] .c.j.r.RinhabackendImperativeApplication : Started RinhabackendImperativeApplication in 0.197 seconds (process running for 0.205)
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
postgres-1 | running bootstrap script ... ok
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
postgres-1 | performing post-bootstrap initialization ... ok
postgres-1 | initdb: warning: enabling "trust" authentication for local connections
postgres-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.
postgres-1 | syncing data to disk ... ok
postgres-1 |
postgres-1 |
postgres-1 | Success. You can now start the database server using:
postgres-1 |
postgres-1 | pg_ctl -D /var/lib/postgresql/data -l logfile start
postgres-1 |
postgres-1 | waiting for server to start....2024-02-29 20:12:35.579 UTC [48] LOG: starting PostgreSQL 16.1 (Debian 16.1-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
postgres-1 | 2024-02-29 20:12:35.582 UTC [48] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres-1 | 2024-02-29 20:12:35.592 UTC [51] LOG: database system was shut down at 2024-02-29 20:12:34 UTC
postgres-1 | 2024-02-29 20:12:35.598 UTC [48] LOG: database system is ready to accept connections
postgres-1 | done
postgres-1 | server started
postgres-1 | CREATE DATABASE
postgres-1 |
postgres-1 |
postgres-1 | /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/init.sql
postgres-1 | CREATE TABLE
postgres-1 | CREATE TABLE
postgres-1 | CREATE INDEX
postgres-1 | INSERT 0 1
postgres-1 | INSERT 0 1
postgres-1 | INSERT 0 1
postgres-1 | INSERT 0 1
postgres-1 | INSERT 0 1
postgres-1 |
postgres-1 |
postgres-1 | waiting for server to shut down...2024-02-29 20:12:35.846 UTC [48] LOG: received fast shutdown request
postgres-1 | .2024-02-29 20:12:35.849 UTC [48] LOG: aborting any active transactions
postgres-1 | 2024-02-29 20:12:35.851 UTC [48] LOG: background worker "logical replication launcher" (PID 54) exited with exit code 1
postgres-1 | 2024-02-29 20:12:35.851 UTC [49] LOG: shutting down
postgres-1 | 2024-02-29 20:12:35.853 UTC [49] LOG: checkpoint starting: shutdown immediate
postgres-1 | 2024-02-29 20:12:36.365 UTC [49] LOG: checkpoint complete: wrote 937 buffers (5.7%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.421 s, sync=0.078 s, total=0.514 s; sync files=307, longest=0.049 s, average=0.001 s; distance=4287 kB, estimate=4287 kB; lsn=0/191A698, redo lsn=0/191A698
postgres-1 | 2024-02-29 20:12:36.370 UTC [48] LOG: database system is shut down
postgres-1 | done
postgres-1 | server stopped
postgres-1 |
postgres-1 | PostgreSQL init process complete; ready for start up.
postgres-1 |
postgres-1 | 2024-02-29 20:12:36.470 UTC [1] LOG: starting PostgreSQL 16.1 (Debian 16.1-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
postgres-1 | 2024-02-29 20:12:36.470 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
postgres-1 | 2024-02-29 20:12:36.470 UTC [1] LOG: listening on IPv6 address "::", port 5432
postgres-1 | 2024-02-29 20:12:36.476 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres-1 | 2024-02-29 20:12:36.483 UTC [66] LOG: database system was shut down at 2024-02-29 20:12:36 UTC
postgres-1 | 2024-02-29 20:12:36.490 UTC [1] LOG: database system is ready to accept connections
api1-1 | 2024-02-29T20:12:37.798Z INFO 1 --- [nio-8081-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet'
api1-1 | 2024-02-29T20:12:37.798Z INFO 1 --- [nio-8081-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
api1-1 | 2024-02-29T20:12:37.798Z INFO 1 --- [nio-8081-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 0 ms
api1-1 | 2024-02-29T20:12:37.799Z INFO 1 --- [nio-8081-exec-1] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
api1-1 | 2024-02-29T20:12:37.810Z INFO 1 --- [nio-8081-exec-1] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection org.postgresql.jdbc.PgConnection@7e447cf8
api1-1 | 2024-02-29T20:12:37.810Z INFO 1 --- [nio-8081-exec-1] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
api2-1 | 2024-02-29T20:12:42.501Z INFO 1 --- [nio-8082-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet'
api2-1 | 2024-02-29T20:12:42.501Z INFO 1 --- [nio-8082-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
api2-1 | 2024-02-29T20:12:42.502Z INFO 1 --- [nio-8082-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms
api2-1 | 2024-02-29T20:12:42.503Z INFO 1 --- [nio-8082-exec-1] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
api2-1 | 2024-02-29T20:12:42.528Z INFO 1 --- [nio-8082-exec-1] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection org.postgresql.jdbc.PgConnection@7c5de3d3
api2-1 | 2024-02-29T20:12:42.528Z INFO 1 --- [nio-8082-exec-1] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
postgres-1 | 2024-02-29 20:16:49.279 UTC [1] LOG: received fast shutdown request
postgres-1 | 2024-02-29 20:16:49.284 UTC [1] LOG: aborting any active transactions
postgres-1 | 2024-02-29 20:16:49.284 UTC [85] FATAL: terminating connection due to administrator command
postgres-1 | 2024-02-29 20:16:49.284 UTC [89] FATAL: terminating connection due to administrator command
postgres-1 | 2024-02-29 20:16:49.284 UTC [84] FATAL: terminating connection due to administrator command
postgres-1 | 2024-02-29 20:16:49.284 UTC [72] FATAL: terminating connection due to administrator command
postgres-1 | 2024-02-29 20:16:49.285 UTC [77] FATAL: terminating connection due to administrator command
postgres-1 | 2024-02-29 20:16:49.286 UTC [1] LOG: background worker "logical replication launcher" (PID 69) exited with exit code 1
postgres-1 | 2024-02-29 20:16:49.286 UTC [79] FATAL: terminating connection due to administrator command
postgres-1 | 2024-02-29 20:16:49.286 UTC [74] FATAL: terminating connection due to administrator command
postgres-1 | 2024-02-29 20:16:49.287 UTC [87] FATAL: terminating connection due to administrator command
postgres-1 | 2024-02-29 20:16:49.288 UTC [76] FATAL: terminating connection due to administrator command
postgres-1 | 2024-02-29 20:16:49.290 UTC [82] FATAL: terminating connection due to administrator command
postgres-1 | 2024-02-29 20:16:49.290 UTC [75] FATAL: terminating connection due to administrator command
postgres-1 | 2024-02-29 20:16:49.290 UTC [83] FATAL: terminating connection due to administrator command
postgres-1 | 2024-02-29 20:16:49.290 UTC [78] FATAL: terminating connection due to administrator command
postgres-1 | 2024-02-29 20:16:49.292 UTC [73] FATAL: terminating connection due to administrator command
postgres-1 | 2024-02-29 20:16:49.292 UTC [70] FATAL: terminating connection due to administrator command
postgres-1 | 2024-02-29 20:16:49.293 UTC [81] FATAL: terminating connection due to administrator command
postgres-1 | 2024-02-29 20:16:49.293 UTC [88] FATAL: terminating connection due to administrator command
postgres-1 | 2024-02-29 20:16:49.294 UTC [86] FATAL: terminating connection due to administrator command
postgres-1 | 2024-02-29 20:16:49.295 UTC [80] FATAL: terminating connection due to administrator command
postgres-1 | 2024-02-29 20:16:49.295 UTC [71] FATAL: terminating connection due to administrator command
postgres-1 | 2024-02-29 20:16:49.297 UTC [64] LOG: shutting down
postgres-1 | 2024-02-29 20:16:49.301 UTC [64] LOG: checkpoint starting: shutdown immediate
postgres-1 | 2024-02-29 20:16:49.487 UTC [64] LOG: checkpoint complete: wrote 828 buffers (5.1%); 0 WAL file(s) added, 0 removed, 1 recycled; write=0.046 s, sync=0.095 s, total=0.190 s; sync files=30, longest=0.061 s, average=0.004 s; distance=21010 kB, estimate=21010 kB; lsn=0/2D9EF98, redo lsn=0/2D9EF98
postgres-1 | 2024-02-29 20:16:49.492 UTC [1] LOG: database system is shut down
postgres-1 exited with code 0
postgres-1 exited with code 0
nginx-1 exited with code 0
nginx-1 exited with code 0
api1-1 exited with code 0
api1-1 exited with code 143
api2-1 exited with code 0