forked from zanfranceschi/rinha-de-backend-2024-q1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.logs
152 lines (152 loc) · 12.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
Network ed1000_default Creating
Network ed1000_default Created
Container ed1000-postgres-1 Creating
Container ed1000-postgres-1 Created
Container ed1000-api-2 Creating
Container ed1000-api-1 Creating
Container ed1000-api-2 Created
Container ed1000-api-1 Created
Container ed1000-nginx-1 Creating
Container ed1000-nginx-1 Created
Attaching to api-1, api-2, nginx-1, postgres-1
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
postgres-1 | selecting default max_connections ... 100
postgres-1 | selecting default shared_buffers ... 128MB
postgres-1 | selecting default time zone ... UTC
postgres-1 | creating configuration files ... ok
postgres-1 | running bootstrap script ... ok
postgres-1 | sh: locale: not found
postgres-1 | 2024-02-22 00:39:56.751 UTC [30] WARNING: no usable system locales were found
postgres-1 | performing post-bootstrap initialization ... ok
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 | 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 | waiting for server to start....2024-02-22 00:39:58.650 UTC [36] LOG: starting PostgreSQL 16.1 on x86_64-pc-linux-musl, compiled by gcc (Alpine 13.2.1_git20231014) 13.2.1 20231014, 64-bit
postgres-1 | 2024-02-22 00:39:58.653 UTC [36] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres-1 | 2024-02-22 00:39:58.662 UTC [39] LOG: database system was shut down at 2024-02-22 00:39:57 UTC
postgres-1 | 2024-02-22 00:39:58.674 UTC [36] 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 | psql:/docker-entrypoint-initdb.d/init.sql:1: NOTICE: table "transacoes" does not exist, skipping
postgres-1 | DROP TABLE
postgres-1 | DROP TABLE
postgres-1 | psql:/docker-entrypoint-initdb.d/init.sql:3: NOTICE: table "clientes" does not exist, skipping
postgres-1 | CREATE TABLE
postgres-1 | CREATE TABLE
postgres-1 | DO
postgres-1 |
postgres-1 |
postgres-1 | waiting for server to shut down....2024-02-22 00:39:58.843 UTC [36] LOG: received fast shutdown request
postgres-1 | 2024-02-22 00:39:58.847 UTC [36] LOG: aborting any active transactions
postgres-1 | 2024-02-22 00:39:58.850 UTC [36] LOG: background worker "logical replication launcher" (PID 42) exited with exit code 1
postgres-1 | 2024-02-22 00:39:58.850 UTC [37] LOG: shutting down
postgres-1 | 2024-02-22 00:39:58.854 UTC [37] LOG: checkpoint starting: shutdown immediate
postgres-1 | 2024-02-22 00:39:59.363 UTC [37] LOG: checkpoint complete: wrote 940 buffers (5.7%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.281 s, sync=0.216 s, total=0.513 s; sync files=313, longest=0.169 s, average=0.001 s; distance=4301 kB, estimate=4301 kB; lsn=0/1923A58, redo lsn=0/1923A58
postgres-1 | 2024-02-22 00:39:59.368 UTC [36] 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-22 00:39:59.466 UTC [1] LOG: starting PostgreSQL 16.1 on x86_64-pc-linux-musl, compiled by gcc (Alpine 13.2.1_git20231014) 13.2.1 20231014, 64-bit
postgres-1 | 2024-02-22 00:39:59.466 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
postgres-1 | 2024-02-22 00:39:59.466 UTC [1] LOG: listening on IPv6 address "::", port 5432
postgres-1 | 2024-02-22 00:39:59.471 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres-1 | 2024-02-22 00:39:59.479 UTC [54] LOG: database system was shut down at 2024-02-22 00:39:59 UTC
postgres-1 | 2024-02-22 00:39:59.485 UTC [1] LOG: database system is ready to accept connections
api-1 |
api-1 | . ____ _ __ _ _
api-1 | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
api-1 | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
api-1 | \\/ ___)| |_)| | | | | || (_| | ) ) ) )
api-1 | ' |____| .__|_| |_|_| |_\__, | / / / /
api-1 | =========|_|==============|___/=/_/_/_/
api-1 | :: Spring Boot :: (v3.2.2)
api-1 |
api-1 | 2024-02-22T00:40:01.883Z INFO 1 --- [ main] b.c.e.app.rinha.Rinha2024Q1Application : Starting AOT-processed Rinha2024Q1Application using Java 21.0.2 with PID 1 (/app started by root in /)
api-1 | 2024-02-22T00:40:01.884Z INFO 1 --- [ main] b.c.e.app.rinha.Rinha2024Q1Application : No active profile set, falling back to 1 default profile: "default"
api-1 | 2024-02-22T00:40:01.930Z INFO 1 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8080 (http)
api-1 | 2024-02-22T00:40:01.931Z INFO 1 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
api-1 | 2024-02-22T00:40:01.931Z INFO 1 --- [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.18]
api-1 | 2024-02-22T00:40:01.939Z INFO 1 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
api-1 | 2024-02-22T00:40:01.939Z INFO 1 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 55 ms
api-2 |
api-2 | . ____ _ __ _ _
api-2 | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
api-2 | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
api-2 | \\/ ___)| |_)| | | | | || (_| | ) ) ) )
api-2 | ' |____| .__|_| |_|_| |_\__, | / / / /
api-2 | =========|_|==============|___/=/_/_/_/
api-2 | :: Spring Boot :: (v3.2.2)
api-2 |
api-2 | 2024-02-22T00:40:02.083Z INFO 1 --- [ main] b.c.e.app.rinha.Rinha2024Q1Application : Starting AOT-processed Rinha2024Q1Application using Java 21.0.2 with PID 1 (/app started by root in /)
api-2 | 2024-02-22T00:40:02.084Z INFO 1 --- [ main] b.c.e.app.rinha.Rinha2024Q1Application : No active profile set, falling back to 1 default profile: "default"
api-1 | 2024-02-22T00:40:02.121Z INFO 1 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 8080 (http) with context path ''
api-1 | 2024-02-22T00:40:02.122Z INFO 1 --- [ main] b.c.e.app.rinha.Rinha2024Q1Application : Started Rinha2024Q1Application in 0.256 seconds (process running for 0.26)
api-2 | 2024-02-22T00:40:02.130Z INFO 1 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8080 (http)
api-2 | 2024-02-22T00:40:02.130Z INFO 1 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
api-2 | 2024-02-22T00:40:02.130Z INFO 1 --- [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.18]
api-2 | 2024-02-22T00:40:02.139Z INFO 1 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
api-2 | 2024-02-22T00:40:02.139Z INFO 1 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 55 ms
api-2 | 2024-02-22T00:40:02.315Z INFO 1 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 8080 (http) with context path ''
api-2 | 2024-02-22T00:40:02.316Z INFO 1 --- [ main] b.c.e.app.rinha.Rinha2024Q1Application : Started Rinha2024Q1Application in 0.247 seconds (process running for 0.25)
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
api-2 | 2024-02-22T00:40:03.244Z INFO 1 --- [omcat-handler-0] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet'
api-2 | 2024-02-22T00:40:03.244Z INFO 1 --- [omcat-handler-0] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
api-2 | 2024-02-22T00:40:03.244Z INFO 1 --- [omcat-handler-0] o.s.web.servlet.DispatcherServlet : Completed initialization in 0 ms
api-2 | 2024-02-22T00:40:03.245Z INFO 1 --- [omcat-handler-0] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
api-2 | 2024-02-22T00:40:03.258Z INFO 1 --- [omcat-handler-0] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection org.postgresql.jdbc.PgConnection@23dc8787
api-2 | 2024-02-22T00:40:03.259Z INFO 1 --- [omcat-handler-0] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
api-1 | 2024-02-22T00:40:03.269Z INFO 1 --- [omcat-handler-0] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet'
api-1 | 2024-02-22T00:40:03.269Z INFO 1 --- [omcat-handler-0] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
api-1 | 2024-02-22T00:40:03.270Z INFO 1 --- [omcat-handler-0] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms
api-1 | 2024-02-22T00:40:03.270Z INFO 1 --- [omcat-handler-0] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
api-1 | 2024-02-22T00:40:03.284Z INFO 1 --- [omcat-handler-0] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection org.postgresql.jdbc.PgConnection@45f15e0f
api-1 | 2024-02-22T00:40:03.284Z INFO 1 --- [omcat-handler-0] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
nginx-1 exited with code 0
nginx-1 exited with code 0
api-2 | 2024-02-22T00:44:16.654Z INFO 1 --- [ionShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated...
api-1 | 2024-02-22T00:44:16.655Z INFO 1 --- [ionShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated...
api-1 | 2024-02-22T00:44:16.662Z INFO 1 --- [ionShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.
api-2 | 2024-02-22T00:44:16.665Z INFO 1 --- [ionShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.
api-1 exited with code 0
api-1 exited with code 143
api-2 exited with code 0
api-2 exited with code 143
postgres-1 | 2024-02-22 00:44:17.309 UTC [1] LOG: received fast shutdown request
postgres-1 | 2024-02-22 00:44:17.313 UTC [1] LOG: aborting any active transactions
postgres-1 | 2024-02-22 00:44:17.316 UTC [1] LOG: background worker "logical replication launcher" (PID 57) exited with exit code 1
postgres-1 | 2024-02-22 00:44:17.316 UTC [52] LOG: shutting down
postgres-1 | 2024-02-22 00:44:17.319 UTC [52] LOG: checkpoint starting: shutdown immediate
postgres-1 | 2024-02-22 00:44:17.464 UTC [52] LOG: checkpoint complete: wrote 665 buffers (4.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.009 s, sync=0.110 s, total=0.149 s; sync files=30, longest=0.066 s, average=0.004 s; distance=2641 kB, estimate=2641 kB; lsn=0/1BB7F48, redo lsn=0/1BB7F48
postgres-1 | 2024-02-22 00:44:17.468 UTC [1] LOG: database system is shut down
postgres-1 exited with code 0