forked from zanfranceschi/rinha-de-backend-2024-q1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.logs
134 lines (134 loc) · 10.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
Container postgress Creating
Container postgress Created
Container app-2 Creating
Container app-1 Creating
Container app-2 Created
Container app-1 Created
Container nginx Creating
Container nginx Created
Attaching to app-1, app-2, nginx, postgress
postgress | The files belonging to this database system will be owned by user "postgres".
postgress | This user must also own the server process.
postgress |
postgress | The database cluster will be initialized with locale "en_US.utf8".
postgress | The default database encoding has accordingly been set to "UTF8".
postgress | The default text search configuration will be set to "english".
postgress |
postgress | Data page checksums are disabled.
postgress |
postgress | fixing permissions on existing directory /var/lib/postgresql/data ... ok
postgress | creating subdirectories ... ok
postgress | selecting dynamic shared memory implementation ... posix
postgress | selecting default max_connections ... 100
postgress | selecting default shared_buffers ... 128MB
postgress | selecting default time zone ... UTC
postgress | creating configuration files ... ok
postgress | running bootstrap script ... ok
postgress | sh: locale: not found
postgress | 2024-02-22 13:10:45.721 UTC [22] WARNING: no usable system locales were found
postgress | performing post-bootstrap initialization ... ok
postgress | syncing data to disk ... ok
postgress |
postgress |
postgress | Success. You can now start the database server using:
postgress |
postgress | pg_ctl -D /var/lib/postgresql/data -l logfile start
postgress |
postgress | initdb: warning: enabling "trust" authentication for local connections
postgress | 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.
postgress | waiting for server to start....2024-02-22 13:10:48.060 UTC [28] LOG: starting PostgreSQL 16.2 on x86_64-pc-linux-musl, compiled by gcc (Alpine 13.2.1_git20231014) 13.2.1 20231014, 64-bit
postgress | 2024-02-22 13:10:48.065 UTC [28] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgress | 2024-02-22 13:10:48.115 UTC [31] LOG: database system was shut down at 2024-02-22 13:10:47 UTC
postgress | 2024-02-22 13:10:48.121 UTC [28] LOG: database system is ready to accept connections
postgress | done
postgress | server started
postgress | CREATE DATABASE
postgress |
postgress |
postgress | /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/init.sql
postgress | CREATE TABLE
postgress | INSERT 0 1
postgress | INSERT 0 1
postgress | INSERT 0 1
postgress | INSERT 0 1
postgress | INSERT 0 1
postgress |
postgress |
postgress | waiting for server to shut down....2024-02-22 13:10:48.440 UTC [28] LOG: received fast shutdown request
postgress | 2024-02-22 13:10:48.443 UTC [28] LOG: aborting any active transactions
postgress | 2024-02-22 13:10:48.514 UTC [28] LOG: background worker "logical replication launcher" (PID 34) exited with exit code 1
postgress | 2024-02-22 13:10:48.516 UTC [29] LOG: shutting down
postgress | 2024-02-22 13:10:48.519 UTC [29] LOG: checkpoint starting: shutdown immediate
postgress | 2024-02-22 13:10:48.993 UTC [29] LOG: checkpoint complete: wrote 930 buffers (5.7%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.381 s, sync=0.085 s, total=0.478 s; sync files=309, longest=0.058 s, average=0.001 s; distance=4283 kB, estimate=4283 kB; lsn=0/191F348, redo lsn=0/191F348
postgress | 2024-02-22 13:10:48.999 UTC [28] LOG: database system is shut down
postgress | done
postgress | server stopped
postgress |
postgress | PostgreSQL init process complete; ready for start up.
postgress |
postgress | 2024-02-22 13:10:49.063 UTC [1] LOG: starting PostgreSQL 16.2 on x86_64-pc-linux-musl, compiled by gcc (Alpine 13.2.1_git20231014) 13.2.1 20231014, 64-bit
postgress | 2024-02-22 13:10:49.063 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
postgress | 2024-02-22 13:10:49.063 UTC [1] LOG: listening on IPv6 address "::", port 5432
postgress | 2024-02-22 13:10:49.068 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgress | 2024-02-22 13:10:49.079 UTC [46] LOG: database system was shut down at 2024-02-22 13:10:48 UTC
postgress | 2024-02-22 13:10:49.115 UTC [1] LOG: database system is ready to accept connections
nginx | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
nginx | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
nginx | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
nginx | 10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf
nginx | 10-listen-on-ipv6-by-default.sh: info: Enabled listen on IPv6 in /etc/nginx/conf.d/default.conf
nginx | /docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh
nginx | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
nginx | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
nginx | /docker-entrypoint.sh: Configuration complete; ready for start up
nginx | 2024/02/22 13:10:56 [error] 29#29: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://127.0.0.1:8080/clientes/1/extrato", host: "localhost:9999"
nginx | 2024/02/22 13:10:56 [error] 29#29: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://127.0.0.1:8081/clientes/1/extrato", host: "localhost:9999"
nginx | 2024/02/22 13:10:58 [error] 29#29: *4 no live upstreams while connecting to upstream, client: 127.0.0.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://backend/clientes/1/extrato", host: "localhost:9999"
app-2 |
app-2 | . ____ _ __ _ _
app-2 | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
app-2 | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
app-2 | \\/ ___)| |_)| | | | | || (_| | ) ) ) )
app-2 | ' |____| .__|_| |_|_| |_\__, | / / / /
app-2 | =========|_|==============|___/=/_/_/_/
app-2 | :: Spring Boot :: (v3.2.2)
app-2 |
app-1 |
app-1 | . ____ _ __ _ _
app-1 | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
app-1 | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
app-1 | \\/ ___)| |_)| | | | | || (_| | ) ) ) )
app-1 | ' |____| .__|_| |_|_| |_\__, | / / / /
app-1 | =========|_|==============|___/=/_/_/_/
app-1 | :: Spring Boot :: (v3.2.2)
app-1 |
app-2 | 2024-02-22T13:10:58.632Z INFO 1 --- [ main] com.rinha.backend_rinha_v2.Application : Starting Application v1.0 using Java 21.0.2 with PID 1 (/app/rinha.jar started by root in /app)
app-2 | 2024-02-22T13:10:58.636Z INFO 1 --- [ main] com.rinha.backend_rinha_v2.Application : No active profile set, falling back to 1 default profile: "default"
app-1 | 2024-02-22T13:10:58.731Z INFO 1 --- [ main] com.rinha.backend_rinha_v2.Application : Starting Application v1.0 using Java 21.0.2 with PID 1 (/app/rinha.jar started by root in /app)
app-1 | 2024-02-22T13:10:58.736Z INFO 1 --- [ main] com.rinha.backend_rinha_v2.Application : No active profile set, falling back to 1 default profile: "default"
nginx | 2024/02/22 13:11:00 [error] 29#29: *5 no live upstreams while connecting to upstream, client: 127.0.0.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://backend/clientes/1/extrato", host: "localhost:9999"
app-2 | 2024-02-22T13:11:01.424Z INFO 1 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data R2DBC repositories in DEFAULT mode.
app-1 | 2024-02-22T13:11:01.425Z INFO 1 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data R2DBC repositories in DEFAULT mode.
app-2 | 2024-02-22T13:11:01.522Z INFO 1 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 91 ms. Found 0 R2DBC repository interfaces.
app-1 | 2024-02-22T13:11:01.528Z INFO 1 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 98 ms. Found 0 R2DBC repository interfaces.
nginx | 2024/02/22 13:11:02 [error] 29#29: *6 no live upstreams while connecting to upstream, client: 127.0.0.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://backend/clientes/1/extrato", host: "localhost:9999"
nginx | 2024/02/22 13:11:04 [error] 29#29: *7 no live upstreams while connecting to upstream, client: 127.0.0.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://backend/clientes/1/extrato", host: "localhost:9999"
nginx | 2024/02/22 13:11:06 [error] 29#29: *8 no live upstreams while connecting to upstream, client: 127.0.0.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://backend/clientes/1/extrato", host: "localhost:9999"
app-2 | 2024-02-22T13:11:07.541Z INFO 1 --- [ main] o.s.b.web.embedded.netty.NettyWebServer : Netty started on port 8081
app-2 | 2024-02-22T13:11:07.632Z INFO 1 --- [ main] com.rinha.backend_rinha_v2.Application : Started Application in 11.092 seconds (process running for 13.169)
app-1 | 2024-02-22T13:11:08.328Z INFO 1 --- [ main] o.s.b.web.embedded.netty.NettyWebServer : Netty started on port 8080
app-1 | 2024-02-22T13:11:08.418Z INFO 1 --- [ main] com.rinha.backend_rinha_v2.Application : Started Application in 11.717 seconds (process running for 13.957)
nginx exited with code 0
nginx exited with code 0
app-2 exited with code 0
app-2 exited with code 143
app-1 exited with code 0
app-1 exited with code 143
postgress | 2024-02-22 13:15:26.618 UTC [1] LOG: received fast shutdown request
postgress | 2024-02-22 13:15:26.622 UTC [1] LOG: aborting any active transactions
postgress | 2024-02-22 13:15:26.625 UTC [1] LOG: background worker "logical replication launcher" (PID 49) exited with exit code 1
postgress | 2024-02-22 13:15:26.625 UTC [44] LOG: shutting down
postgress | 2024-02-22 13:15:26.629 UTC [44] LOG: checkpoint starting: shutdown immediate
postgress | 2024-02-22 13:15:26.674 UTC [44] LOG: checkpoint complete: wrote 95 buffers (0.6%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.007 s, sync=0.023 s, total=0.050 s; sync files=21, longest=0.017 s, average=0.002 s; distance=2544 kB, estimate=2544 kB; lsn=0/1B9B5E0, redo lsn=0/1B9B5E0
postgress | 2024-02-22 13:15:26.678 UTC [1] LOG: database system is shut down
postgress exited with code 0