-
Notifications
You must be signed in to change notification settings - Fork 923
/
Copy pathdocker-compose.logs
122 lines (122 loc) · 9.44 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
Network mikaelsouza_default Creating
Network mikaelsouza_default Created
Container mikaelsouza-api02-1 Creating
Container mikaelsouza-db-1 Creating
Container mikaelsouza-api01-1 Creating
Container mikaelsouza-api01-1 Created
Container mikaelsouza-api02-1 Created
Container mikaelsouza-nginx-1 Creating
Container mikaelsouza-db-1 Created
Container mikaelsouza-nginx-1 Created
Attaching to api01-1, api02-1, db-1, nginx-1
api02-1 | [2024-03-08T17:44:07Z INFO rinha::setup] Initializing server with configs: Config { http_port: 8080, db_user: "postgres", db_password: "test", db_host: "db", db_port: 5432 }
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 ... America/Manaus
db-1 | creating configuration files ... ok
api01-1 | [2024-03-08T17:44:07Z INFO rinha::setup] Initializing server with configs: Config { http_port: 8080, db_user: "postgres", db_password: "test", db_host: "db", db_port: 5432 }
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-08 13:44:09.646 -04 [49] 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-08 13:44:09.649 -04 [49] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
db-1 | 2024-03-08 13:44:09.658 -04 [52] LOG: database system was shut down at 2024-03-08 13:44:08 -04
db-1 | 2024-03-08 13:44:09.664 -04 [49] LOG: database system is ready to accept connections
db-1 | done
db-1 | server started
db-1 |
db-1 | /usr/local/bin/docker-entrypoint.sh: sourcing /docker-entrypoint-initdb.d/init-user-db.sh
db-1 | SET
db-1 | CREATE DATABASE
db-1 | You are now connected to database "rinha" as user "postgres".
db-1 | CREATE TABLE
db-1 | INSERT 0 5
db-1 | CREATE TYPE
db-1 | CREATE TABLE
db-1 |
db-1 | waiting for server to shut down...2024-03-08 13:44:09.864 -04 [49] LOG: received fast shutdown request
db-1 | .2024-03-08 13:44:09.870 -04 [49] LOG: aborting any active transactions
db-1 | 2024-03-08 13:44:09.872 -04 [49] LOG: background worker "logical replication launcher" (PID 55) exited with exit code 1
db-1 | 2024-03-08 13:44:09.872 -04 [50] LOG: shutting down
db-1 | 2024-03-08 13:44:09.877 -04 [50] LOG: checkpoint starting: shutdown immediate
db-1 | 2024-03-08 13:44:10.402 -04 [50] LOG: checkpoint complete: wrote 944 buffers (5.8%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.384 s, sync=0.127 s, total=0.530 s; sync files=308, longest=0.098 s, average=0.001 s; distance=4302 kB, estimate=4302 kB; lsn=0/191E290, redo lsn=0/191E290
db-1 | 2024-03-08 13:44:10.407 -04 [49] 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-08 13:44:10.488 -04 [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-08 13:44:10.488 -04 [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
db-1 | 2024-03-08 13:44:10.488 -04 [1] LOG: listening on IPv6 address "::", port 5432
db-1 | 2024-03-08 13:44:10.495 -04 [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
db-1 | 2024-03-08 13:44:10.507 -04 [66] LOG: database system was shut down at 2024-03-08 13:44:10 -04
db-1 | 2024-03-08 13:44:10.521 -04 [1] LOG: database system is ready to accept connections
api02-1 | [2024-03-08T17:44:11Z INFO rinha::setup] Binding server to: 0.0.0.0:8080
nginx-1 | 2024/03/08 17:44:11 [error] 29#29: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.144.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.144.4:8080/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/03/08 17:44:11 [error] 30#30: *4 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.144.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.144.4:8080/clientes/1/extrato", host: "localhost:9999"
api01-1 | [2024-03-08T17:44:12Z INFO rinha::setup] Binding server to: 0.0.0.0:8080
db-1 | 2024-03-08 13:46:50.573 -04 [97] LOG: skipping analyze of "accounts" --- lock not available
db-1 | 2024-03-08 13:47:50.593 -04 [100] LOG: skipping vacuum of "accounts" --- lock not available
db-1 | 2024-03-08 13:48:23.100 -04 [1] LOG: received fast shutdown request
db-1 | 2024-03-08 13:48:23.104 -04 [1] LOG: aborting any active transactions
db-1 | 2024-03-08 13:48:23.104 -04 [96] FATAL: terminating connection due to administrator command
db-1 | 2024-03-08 13:48:23.104 -04 [89] FATAL: terminating connection due to administrator command
db-1 | 2024-03-08 13:48:23.104 -04 [84] FATAL: terminating connection due to administrator command
db-1 | 2024-03-08 13:48:23.104 -04 [83] FATAL: terminating connection due to administrator command
db-1 | 2024-03-08 13:48:23.106 -04 [70] FATAL: terminating connection due to administrator command
db-1 | 2024-03-08 13:48:23.107 -04 [85] FATAL: terminating connection due to administrator command
db-1 | 2024-03-08 13:48:23.107 -04 [1] LOG: background worker "logical replication launcher" (PID 69) exited with exit code 1
db-1 | 2024-03-08 13:48:23.107 -04 [78] FATAL: terminating connection due to administrator command
db-1 | 2024-03-08 13:48:23.108 -04 [76] FATAL: terminating connection due to administrator command
db-1 | 2024-03-08 13:48:23.108 -04 [74] FATAL: terminating connection due to administrator command
db-1 | 2024-03-08 13:48:23.109 -04 [71] FATAL: terminating connection due to administrator command
db-1 | 2024-03-08 13:48:23.110 -04 [82] FATAL: terminating connection due to administrator command
db-1 | 2024-03-08 13:48:23.110 -04 [72] FATAL: terminating connection due to administrator command
db-1 | 2024-03-08 13:48:23.111 -04 [77] FATAL: terminating connection due to administrator command
db-1 | 2024-03-08 13:48:23.111 -04 [80] FATAL: terminating connection due to administrator command
db-1 | 2024-03-08 13:48:23.111 -04 [75] FATAL: terminating connection due to administrator command
db-1 | 2024-03-08 13:48:23.111 -04 [81] FATAL: terminating connection due to administrator command
db-1 | 2024-03-08 13:48:23.112 -04 [86] FATAL: terminating connection due to administrator command
db-1 | 2024-03-08 13:48:23.112 -04 [79] FATAL: terminating connection due to administrator command
db-1 | 2024-03-08 13:48:23.114 -04 [73] FATAL: terminating connection due to administrator command
db-1 | 2024-03-08 13:48:23.114 -04 [87] FATAL: terminating connection due to administrator command
db-1 | 2024-03-08 13:48:23.117 -04 [64] LOG: shutting down
db-1 | 2024-03-08 13:48:23.121 -04 [64] LOG: checkpoint starting: shutdown immediate
db-1 | 2024-03-08 13:48:23.273 -04 [64] LOG: checkpoint complete: wrote 660 buffers (4.0%); 0 WAL file(s) added, 0 removed, 1 recycled; write=0.017 s, sync=0.105 s, total=0.156 s; sync files=31, longest=0.088 s, average=0.004 s; distance=15896 kB, estimate=15896 kB; lsn=0/28A4610, redo lsn=0/28A4610
db-1 | 2024-03-08 13:48:23.278 -04 [1] LOG: database system is shut down
db-1 exited with code 0
db-1 exited with code 0
nginx-1 exited with code 0
nginx-1 exited with code 0
api01-1 exited with code 0
api02-1 exited with code 0