forked from zanfranceschi/rinha-de-backend-2024-q1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.logs
110 lines (110 loc) · 7.14 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
Network viniciusgferreira_rinhanet Creating
Network viniciusgferreira_rinhanet Created
Volume "viniciusgferreira_pg_data" Creating
Volume "viniciusgferreira_pg_data" Created
Container rinha-db Creating
Container rinha-db Created
Container rinha-api2 Creating
Container rinha-api1 Creating
Container rinha-api2 Created
Container rinha-api1 Created
Container rinha-nginx Creating
Container rinha-nginx Created
Attaching to rinha-api1, rinha-api2, rinha-db, rinha-nginx
rinha-db | The files belonging to this database system will be owned by user "postgres".
rinha-db | This user must also own the server process.
rinha-db |
rinha-db | The database cluster will be initialized with locale "en_US.utf8".
rinha-db | The default database encoding has accordingly been set to "UTF8".
rinha-db | The default text search configuration will be set to "english".
rinha-db |
rinha-db | Data page checksums are disabled.
rinha-db |
rinha-db | fixing permissions on existing directory /var/lib/postgresql/data ... ok
rinha-db | creating subdirectories ... ok
rinha-db | selecting dynamic shared memory implementation ... posix
rinha-db | selecting default max_connections ... 100
rinha-db | selecting default shared_buffers ... 128MB
rinha-db | selecting default time zone ... Etc/UTC
rinha-db | creating configuration files ... ok
rinha-db | running bootstrap script ... ok
rinha-db | performing post-bootstrap initialization ... ok
rinha-db | initdb: warning: enabling "trust" authentication for local connections
rinha-db | 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.
rinha-db | syncing data to disk ... ok
rinha-db |
rinha-db |
rinha-db | Success. You can now start the database server using:
rinha-db |
rinha-db | pg_ctl -D /var/lib/postgresql/data -l logfile start
rinha-db |
rinha-db | waiting for server to start....2024-02-26 20:27:12.949 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
rinha-db | 2024-02-26 20:27:12.954 UTC [48] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
rinha-db | 2024-02-26 20:27:12.963 UTC [51] LOG: database system was shut down at 2024-02-26 20:27:11 UTC
rinha-db | 2024-02-26 20:27:12.975 UTC [48] LOG: database system is ready to accept connections
rinha-db | done
rinha-db | server started
rinha-db | CREATE DATABASE
rinha-db |
rinha-db |
rinha-db | /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/script.sql
rinha-db | CREATE TABLE
rinha-db | BEGIN
rinha-db | INSERT 0 5
rinha-db | COMMIT
rinha-db | CREATE TABLE
rinha-db |
rinha-db |
rinha-db | waiting for server to shut down...2024-02-26 20:27:13.184 UTC [48] LOG: received fast shutdown request
rinha-db | .2024-02-26 20:27:13.187 UTC [48] LOG: aborting any active transactions
rinha-db | 2024-02-26 20:27:13.188 UTC [48] LOG: background worker "logical replication launcher" (PID 54) exited with exit code 1
rinha-db | 2024-02-26 20:27:13.190 UTC [49] LOG: shutting down
rinha-db | 2024-02-26 20:27:13.192 UTC [49] LOG: checkpoint starting: shutdown immediate
rinha-db | 2024-02-26 20:27:13.696 UTC [49] LOG: checkpoint complete: wrote 939 buffers (5.7%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.404 s, sync=0.089 s, total=0.507 s; sync files=307, longest=0.063 s, average=0.001 s; distance=4296 kB, estimate=4296 kB; lsn=0/191CA68, redo lsn=0/191CA68
rinha-db | 2024-02-26 20:27:13.700 UTC [48] LOG: database system is shut down
rinha-db | done
rinha-db | server stopped
rinha-db |
rinha-db | PostgreSQL init process complete; ready for start up.
rinha-db |
rinha-db | 2024-02-26 20:27:13.809 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
rinha-db | 2024-02-26 20:27:13.809 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
rinha-db | 2024-02-26 20:27:13.809 UTC [1] LOG: listening on IPv6 address "::", port 5432
rinha-db | 2024-02-26 20:27:13.814 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
rinha-db | 2024-02-26 20:27:13.820 UTC [66] LOG: database system was shut down at 2024-02-26 20:27:13 UTC
rinha-db | 2024-02-26 20:27:13.827 UTC [1] LOG: database system is ready to accept connections
rinha-api1 | [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
rinha-api1 | - using env: export GIN_MODE=release
rinha-api1 | - using code: gin.SetMode(gin.ReleaseMode)
rinha-api1 |
rinha-api1 | 2024/02/26 20:27:22 Database connected
rinha-api1 | 2024/02/26 20:27:22 Starting server at :3000
rinha-api2 | [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
rinha-api2 | - using env: export GIN_MODE=release
rinha-api2 | - using code: gin.SetMode(gin.ReleaseMode)
rinha-api2 |
rinha-api2 | 2024/02/26 20:27:22 Database connected
rinha-api2 | 2024/02/26 20:27:22 Starting server at :3001
rinha-nginx | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
rinha-nginx | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
rinha-nginx | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
rinha-nginx | 10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf
rinha-nginx | 10-listen-on-ipv6-by-default.sh: info: Enabled listen on IPv6 in /etc/nginx/conf.d/default.conf
rinha-nginx | /docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh
rinha-nginx | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
rinha-nginx | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
rinha-nginx | /docker-entrypoint.sh: Configuration complete; ready for start up
rinha-nginx exited with code 0
rinha-nginx exited with code 0
rinha-api2 exited with code 0
rinha-api2 exited with code 2
rinha-api1 exited with code 0
rinha-api1 exited with code 2
rinha-db | 2024-02-26 20:31:36.437 UTC [1] LOG: received fast shutdown request
rinha-db | 2024-02-26 20:31:36.467 UTC [1] LOG: aborting any active transactions
rinha-db | 2024-02-26 20:31:36.469 UTC [1] LOG: background worker "logical replication launcher" (PID 69) exited with exit code 1
rinha-db | 2024-02-26 20:31:36.469 UTC [64] LOG: shutting down
rinha-db | 2024-02-26 20:31:36.472 UTC [64] LOG: checkpoint starting: shutdown immediate
rinha-db | 2024-02-26 20:31:36.583 UTC [64] LOG: checkpoint complete: wrote 622 buffers (3.8%); 0 WAL file(s) added, 0 removed, 1 recycled; write=0.011 s, sync=0.086 s, total=0.114 s; sync files=30, longest=0.080 s, average=0.003 s; distance=16811 kB, estimate=16811 kB; lsn=0/29879C8, redo lsn=0/29879C8
rinha-db | 2024-02-26 20:31:36.588 UTC [1] LOG: database system is shut down
rinha-db exited with code 0