So, I deployed a new version of an api app to fly.io.
I get the error:
2024-10-13T02:31:06.101 app[5683974b736e18] sea [info] 2024/10/13 02:31:06 INFO SSH listening listen_address=[fdaa:9:8f2a:a7b:bcab:1ad4:8d17:2]:22 dns_server=[fdaa::3]:53
2024-10-13T02:31:08.230 app[5683974b736e18] sea [info] Runtime terminating during boot (terminating)
I add the config to look at the crash dump logs, I don’t see anything that looks like a smoking gun, but I honestly don’t know what most of the settings mean.
I referenced some other threads, and evaluated some different options, including elixir version. Nothing changes it.
I rolled back to an earlier version of the app. It still fails.
I tried deployments via my github workflow and also via my desktop, all results are the same.
I have changes some secrets, also, but could a secret crash the elixir runtime during boot without so much as a warning message? What else could be going on?
Check the VM memory. I believe I’ve had this exact issue before, and it occurred because I changed the memory from the command line but not in the fly.toml, so a later deploy caused it to revert and OOM with very little to go on debugging-wise.
Some other things I have tried…
-
Running it locally in production mode. Runs fine.
-
Full clean checkout and rebuild. Runs fine, fails after deployment.
Full stack trace:
[info] System version: Erlang/OTP 26 [erts-14.2.5] [source] [64-bit] [smp:1:1] [ds:1:1:10] [async-threads:1] [jit:ns]
[info] Taints: crypto,asn1rt_nif,dyntrace
[info] Atoms: 41236
[info] Calling Thread: scheduler:1
[info] =scheduler:1
[info] Scheduler Sleep Info Flags:
[info] Scheduler Sleep Info Aux Work:
[info] Current Port:
[info] Run Queue Max Length: 0
[info] Run Queue High Length: 0
[info] Run Queue Normal Length: 2
[info] Run Queue Low Length: 0
[info] Run Queue Port Length: 0
[info] Run Queue Flags: NONEMPTY_NORMAL | OUT_OF_WORK | HALFTIME_OUT_OF_WORK | NONEMPTY | EXEC
[info] Current Process: <0.0.0>
[info] Current Process State: Running
[info] Current Process Internal State: ACT_PRIO_NORMAL | USR_PRIO_NORMAL | PRQ_PRIO_NORMAL | ACTIVE | RUNNING | ACTIVE_SYS
[info] Current Process Program counter: 0x00007f9dd51d3204 (init:things_to_string/1 + 284)
[info] Current Process Limited Stack Trace:
[info] 0x00007f9dd07c2cd8:SReturn addr 0xD523F6EC (erlang:halt/1 + 140)
[info] 0x00007f9dd07c2cf0:SReturn addr 0xD51CC090 (<terminate process normally>)
[info] =dirty_cpu_scheduler:2
[info] Scheduler Sleep Info Flags: SLEEPING | TSE_SLEEPING | WAITING
[info] Scheduler Sleep Info Aux Work:
[info] Current Process:
[info] =dirty_cpu_run_queue
[info] Run Queue Max Length: 0
[info] Run Queue High Length: 0
[info] Run Queue Normal Length: 0
[info] Run Queue Low Length: 0
[info] Run Queue Port Length: 0
[info] Run Queue Flags: OUT_OF_WORK | HALFTIME_OUT_OF_WORK
[info] =dirty_io_scheduler:3
[info] Scheduler Sleep Info Flags: SLEEPING | TSE_SLEEPING | WAITING
[info] Scheduler Sleep Info Aux Work:
[info] Current Process:
[info] =dirty_io_scheduler:4
[info] Scheduler Sleep Info Flags: SLEEPING | TSE_SLEEPING | WAITING
[info] Scheduler Sleep Info Aux Work:
[info] Current Process:
[info] =dirty_io_scheduler:5
[info] Scheduler Sleep Info Flags: SLEEPING | TSE_SLEEPING | WAITING
[info] Scheduler Sleep Info Aux Work:
[info] Current Process:
[info] =dirty_io_scheduler:6
[info] Scheduler Sleep Info Flags: SLEEPING | TSE_SLEEPING | WAITING
[info] Scheduler Sleep Info Aux Work:
[info] Current Process:
[info] =dirty_io_scheduler:7
[info] Scheduler Sleep Info Flags: SLEEPING | TSE_SLEEPING | WAITING
[info] Scheduler Sleep Info Aux Work:
[info] Current Process:
[info] =dirty_io_scheduler:8
[info] Scheduler Sleep Info Flags: SLEEPING | TSE_SLEEPING | WAITING
[info] Scheduler Sleep Info Aux Work:
[info] Current Process:
[info] =dirty_io_scheduler:9
[info] Scheduler Sleep Info Flags: SLEEPING | TSE_SLEEPING | WAITING
[info] Scheduler Sleep Info Aux Work:
[info] Current Process:
[info] =dirty_io_scheduler:10
[info] Scheduler Sleep Info Flags: SLEEPING | TSE_SLEEPING | WAITING
[info] Scheduler Sleep Info Aux Work:
[info] Current Process:
[info] =dirty_io_scheduler:11
[info] Scheduler Sleep Info Flags: SLEEPING | TSE_SLEEPING | WAITING
[info] Scheduler Sleep Info Aux Work:
[info] Current Process:
[info] =dirty_io_scheduler:12
[info] Scheduler Sleep Info Flags: SLEEPING | TSE_SLEEPING | WAITING
[info] Scheduler Sleep Info Aux Work:
[info] Current Process:
[info] =dirty_io_run_queue
[info] Run Queue Max Length: 0
[info] Run Queue High Length: 0
[info] Run Queue Normal Length: 0
[info] Run Queue Low Length: 0
[info] Run Queue Port Length: 0
[info] Run Queue Flags: OUT_OF_WORK | HALFTIME_OUT_OF_WORK
[info] =memory
[info] total: 60630744
[info] processes: 7210304
[info] processes_used: 7187560
[info] system: 53420440
[info] atom: 1253673
[info] atom_used: 1249712
[info] binary: 745064
[info] code: 34988782
[info] ets: 1505328
[info] =hash_table:atom_tab
[info] size: 32768
[info] used: 23379
[info] objs: 41236
[info] depth: 7
[info] =index_table:atom_tab
[info] size: 41984
[info] limit: 1048576
[info] entries: 41236
[info] =hash_table:module_code
[info] size: 1024
[info] used: 939
[info] objs: 1222
[info] depth: 3
[info] =index_table:module_code
[info] size: 2048
[info] limit: 65536
[info] entries: 1222
[info] =hash_table:export_list
[info] size: 16384
[info] used: 11132
[info] objs: 18926
[info] depth: 7
[info] =index_table:export_list
[info] size: 19456
[info] limit: 524288
[info] entries: 18926
[info] =hash_table:export_list
[info] size: 16384
[info] used: 11132
[info] objs: 18927
[info] depth: 7
[info] =hash_table:process_reg
[info] size: 64
[info] used: 49
[info] objs: 80
[info] depth: 4
[info] =hash_table:fun_table
[info] size: 8192
[info] used: 4595
[info] objs: 6680
[info] depth: 6
[info] =hash_table:node_table
[info] size: 16
[info] used: 1
[info] objs: 1
[info] depth: 1
[info] =hash_table:dist_table
[info] size: 16
[info] used: 2
[info] objs: 2
[info] depth: 1
[info] =allocated_areas
[info] sys_misc: 57816
[info] static: 263976
[info] atom_space: 655520 651559
[info] atom_table: 598153
[info] module_table: 629424
[info] export_table: 860580
[info] export_list: 3785400
[info] register_table: 628
[info] fun_table: 65650
[info] module_refs: 58656
[info] loaded_code: 29589072
[info] dist_table: 1043
[info] node_table: 291
[info] bits_bufs_size: 0
[info] bif_timer: 0
[info] process_table: 3145728
[info] port_table: 786432
[info] ets_misc: 131072
[info] external_alloc: 29589072
[info] =allocator:sys_alloc
[info] option e: true
[info] option m: libc
[info] option tt: 131072
[info] option tp: 0
[info] =allocator:temp_alloc[0]
[info] versions: 2.1 3.0
[info] option e: true
[info] option t: 2
[info] option ramv: false
[info] option atags: false
[info] option sbct: 524288
[info] option asbcst: 4145152
[info] option rsbcst: 90
[info] option rsbcmt: 80
[info] option rmbcmt: 100
[info] option mmbcs: 131072
[info] option mmsbc: 256
[info] option mmmbc: 18446744073709551615
[info] option lmbcs: 10485760
[info] option smbcs: 1048576
[info] option mbcgs: 10
[info] option acul: 0
[info] option acful: 0
[info] option acnl: 0
[info] option acfml: 0
[info] option cp: undefined
[info] option mbsd: 3
[info] option as: gf
[info] mbcs blocks[sys_alloc] count: 0 0 0
[info] mbcs blocks[sys_alloc] size: 0 0 0
[info] mbcs blocks[temp_alloc] count: 0 0 5
[info] mbcs blocks[temp_alloc] size: 0 0 11288
[info] mbcs blocks[sl_alloc] count: 0 0 0
[info] mbcs blocks[sl_alloc] size: 0 0 0
[info] mbcs blocks[std_alloc] count: 0 0 0
[info] mbcs blocks[std_alloc] size: 0 0 0
[info] mbcs blocks[ll_alloc] count: 0 0 0
[info] mbcs blocks[ll_alloc] size: 0 0 0
[info] mbcs blocks[eheap_alloc] count: 0 0 0
[info] mbcs blocks[eheap_alloc] size: 0 0 0
[info] mbcs blocks[ets_alloc] count: 0 0 0
[info] mbcs blocks[ets_alloc] size: 0 0 0
[info] mbcs blocks[fix_alloc] count: 0 0 0
[info] mbcs blocks[fix_alloc] size: 0 0 0
[info] mbcs blocks[literal_alloc] count: 0 0 0
[info] mbcs blocks[literal_alloc] size: 0 0 0
[info] mbcs blocks[binary_alloc] count: 0 0 0
[info] mbcs blocks[binary_alloc] size: 0 0 0
[info] mbcs blocks[driver_alloc] count: 0 0 0
[info] mbcs blocks[driver_alloc] size: 0 0 0
[info] mbcs blocks[test_alloc] count: 0 0 0
[info] mbcs blocks[test_alloc] size: 0 0 0
[info] mbcs carriers: 1 1 1
[info] mbcs mseg carriers: 0
[info] mbcs sys_alloc carriers: 1
[info] mbcs carriers size: 131072 131072 131072
[info] mbcs mseg carriers size: 0
[info] mbcs sys_alloc carriers size: 131072
[info] sbcs blocks[sys_alloc] count: 0 0 0
[info] sbcs blocks[sys_alloc] size: 0 0 0
[info] sbcs blocks[temp_alloc] count: 0 0 0
[info] sbcs blocks[temp_alloc] size: 0 0 0
[info] sbcs blocks[sl_alloc] count: 0 0 0
[info] sbcs blocks[sl_alloc] size: 0 0 0
[info] sbcs blocks[std_alloc] count: 0 0 0
[info] sbcs blocks[std_alloc] size: 0 0 0
[info] sbcs blocks[ll_alloc] count: 0 0 0
[info] sbcs blocks[ll_alloc] size: 0 0 0
[info] sbcs blocks[eheap_alloc] count: 0 0 0
[info] sbcs blocks[eheap_alloc] size: 0 0 0
[info] sbcs blocks[ets_alloc] count: 0 0 0
[info] sbcs blocks[ets_alloc] size: 0 0 0
[info] sbcs blocks[fix_alloc] count: 0 0 0
[info] sbcs blocks[fix_alloc] size: 0 0 0
[info] sbcs blocks[literal_alloc] count: 0 0 0
[info] sbcs blocks[literal_alloc] size: 0 0 0
[info] sbcs blocks[binary_alloc] count: 0 0 0
[info] sbcs blocks[binary_alloc] size: 0 0 0
[info] sbcs blocks[driver_alloc] count: 0 0 0
[info] sbcs blocks[driver_alloc] size: 0 0 0
[info] sbcs blocks[test_alloc] count: 0 0 0
[info] sbcs blocks[test_alloc] size: 0 0 0
[info] sbcs carriers: 0 0 0
[info] sbcs mseg carriers: 0
[info] sbcs sys_alloc carriers: 0
[info] sbcs carriers size: 0 0 0
[info] sbcs mseg carriers size: 0
[info] sbcs sys_alloc carriers size: 0
[info] temp_alloc calls: 1056
[info] temp_free calls: 1056
[info] temp_realloc calls: 1
[info] mseg_alloc calls: 0
[info] mseg_dealloc calls: 0
[info] mseg_realloc calls: 0
[info] sys_alloc calls: 1
[info] sys_free calls: 0
[info] sys_realloc calls: 0
[info] =allocator:temp_alloc[1]
[info] versions: 0.9 3.0
[info] option e: true
[info] option t: 2
[info] option ramv: false
[info] option atags: false
[info] option sbct: 524288
[info] option asbcst: 4145152
[info] option rsbcst: 90
[info] option rsbcmt: 80
[info] option rmbcmt: 100
[info] option mmbcs: 131072
[info] option mmsbc: 256
[info] option mmmbc: 18446744073709551615
[info] option lmbcs: 10485760
[info] option smbcs: 1048576
[info] option mbcgs: 10
[info] option acul: 0
[info] option acful: 0
[info] option acnl: 0
[info] option acfml: 0
[info] option cp: undefined
[info] option as: af
[info] mbcs blocks[sys_alloc] count: 0 0 0
[info] mbcs blocks[sys_alloc] size: 0 0 0
[info] mbcs blocks[temp_alloc] count: 1 2 6
[info] mbcs blocks[temp_alloc] size: 65544 65544 670040
[info] mbcs blocks[sl_alloc] count: 0 0 0
[info] mbcs blocks[sl_alloc] size: 0 0 0
[info] mbcs blocks[std_alloc] count: 0 0 0
[info] mbcs blocks[std_alloc] size: 0 0 0
[info] mbcs blocks[ll_alloc] count: 0 0 0
[info] mbcs blocks[ll_alloc] size: 0 0 0
[info] mbcs blocks[eheap_alloc] count: 0 0 0
[info] mbcs blocks[eheap_alloc] size: 0 0 0
[info] mbcs blocks[ets_alloc] count: 0 0 0
[info] mbcs blocks[ets_alloc] size: 0 0 0
[info] mbcs blocks[fix_alloc] count: 0 0 0
[info] mbcs blocks[fix_alloc] size: 0 0 0
[info] mbcs blocks[literal_alloc] count: 0 0 0
[info] mbcs blocks[literal_alloc] size: 0 0 0
[info] mbcs blocks[binary_alloc] count: 0 0 0
[info] mbcs blocks[binary_alloc] size: 0 0 0
[info] mbcs blocks[driver_alloc] count: 0 0 0
[info] mbcs blocks[driver_alloc] size: 0 0 0
[info] mbcs blocks[test_alloc] count: 0 0 0
[info] mbcs blocks[test_alloc] size: 0 0 0
[info] mbcs carriers: 1 1 2
[info] mbcs mseg carriers: 0
[info] mbcs sys_alloc carriers: 1
[info] mbcs carriers size: 131072 131072 1179648
[info] mbcs mseg carriers size: 0
[info] mbcs sys_alloc carriers size: 131072
[info] sbcs blocks[sys_alloc] count: 0 0 0
[info] sbcs blocks[sys_alloc] size: 0 0 0
[info] sbcs blocks[temp_alloc] count: 0 0 3
[info] sbcs blocks[temp_alloc] size: 0 0 3244680
[info] sbcs blocks[sl_alloc] count: 0 0 0
[info] sbcs blocks[sl_alloc] size: 0 0 0
[info] sbcs blocks[std_alloc] count: 0 0 0
[info] sbcs blocks[std_alloc] size: 0 0 0
[info] sbcs blocks[ll_alloc] count: 0 0 0
[info] sbcs blocks[ll_alloc] size: 0 0 0
[info] sbcs blocks[eheap_alloc] count: 0 0 0
[info] sbcs blocks[eheap_alloc] size: 0 0 0
[info] sbcs blocks[ets_alloc] count: 0 0 0
[info] sbcs blocks[ets_alloc] size: 0 0 0
[info] sbcs blocks[fix_alloc] count: 0 0 0
[info] sbcs blocks[fix_alloc] size: 0 0 0
[info] sbcs blocks[literal_alloc] count: 0 0 0
[info] sbcs blocks[literal_alloc] size: 0 0 0
[info] sbcs blocks[binary_alloc] count: 0 0 0
[info] sbcs blocks[binary_alloc] size: 0 0 0
[info] sbcs blocks[driver_alloc] count: 0 0 0
[info] sbcs blocks[driver_alloc] size: 0 0 0
[info] sbcs blocks[test_alloc] count: 0 0 0
[info] sbcs blocks[test_alloc] size: 0 0 0
[info] sbcs carriers: 0 0 3
[info] sbcs mseg carriers: 0
[info] sbcs sys_alloc carriers: 0
[info] sbcs carriers size: 0 0 3256320
[info] sbcs mseg carriers size: 0
[info] sbcs sys_alloc carriers size: 0
[info] temp_alloc calls: 88172
[info] temp_free calls: 88171
[info] temp_realloc calls: 99
[info] mseg_alloc calls: 12
[info] mseg_dealloc calls: 12
[info] mseg_realloc calls: 0
[info] sys_alloc calls: 1
[info] sys_free calls: 0
[info] sys_realloc calls: 0
[info] =allocator:sl_alloc[0]
[info] versions: 0.9 3.0
[info] option e: true
[info] option t: 2
[info] option ramv: false
[info] option atags: false
[info] option sbct: 524288
[info] option asbcst: 4145152
[info] option rsbcst: 80
[info] option rsbcmt: 80
[info] option rmbcmt: 50
[info] option mmbcs: 131072
[info] option mmsbc: 256
[info] option mmmbc: 18446744073709551615
[info] option lmbcs: 10485760
[info] option smbcs: 1048576
[info] option mbcgs: 10
[info] option acul: 0
[info] option acful: 0
[info] option acnl: 0
[info] option acfml: 0
[info] option cp: undefined
[info] option as: aoffcbf
[info] mbcs blocks[sys_alloc] count: 0 0 0
[info] mbcs blocks[sys_alloc] size: 0 0 0
[info] mbcs blocks[temp_alloc] count: 0 0 0
[info] mbcs blocks[temp_alloc] size: 0 0 0
[info] mbcs blocks[sl_alloc] count: 6 7 80
[info] mbcs blocks[sl_alloc] size: 576 640 41584
[info] mbcs blocks[std_alloc] count: 0 0 0
[info] mbcs blocks[std_alloc] size: 0 0 0
[info] mbcs blocks[ll_alloc] count: 0 0 0
[info] mbcs blocks[ll_alloc] size: 0 0 0
[info] mbcs blocks[eheap_alloc] count: 0 0 0
[info] mbcs blocks[eheap_alloc] size: 0 0 0
[info] mbcs blocks[ets_alloc] count: 0 0 0
[info] mbcs blocks[ets_alloc] size: 0 0 0
[info] mbcs blocks[fix_alloc] count: 0 0 0
[info] mbcs blocks[fix_alloc] size: 0 0 0
[info] mbcs blocks[literal_alloc] count: 0 0 0
[info] mbcs blocks[literal_alloc] size: 0 0 0
[info] mbcs blocks[binary_alloc] count: 0 0 0
[info] mbcs blocks[binary_alloc] size: 0 0 0
[info] mbcs blocks[driver_alloc] count: 0 0 0
[info] mbcs blocks[driver_alloc] size: 0 0 0
[info] mbcs blocks[test_alloc] count: 0 0 0
[info] mbcs blocks[test_alloc] size: 0 0 0
[info] mbcs carriers: 1 1 1
[info] mbcs mseg carriers: 0
[info] mbcs sys_alloc carriers: 1
[info] mbcs carriers size: 131072 131072 131072
[info] mbcs mseg carriers size: 0
[info] mbcs sys_alloc carriers size: 131072
[info] sbcs blocks[sys_alloc] count: 0 0 0
[info] sbcs blocks[sys_alloc] size: 0 0 0
[info] sbcs blocks[temp_alloc] count: 0 0 0
[info] sbcs blocks[temp_alloc] size: 0 0 0
[info] sbcs blocks[sl_alloc] count: 0 0 0
[info] sbcs blocks[sl_alloc] size: 0 0 0
[info] sbcs blocks[std_alloc] count: 0 0 0
[info] sbcs blocks[std_alloc] size: 0 0 0
[info] sbcs blocks[ll_alloc] count: 0 0 0
[info] sbcs blocks[ll_alloc] size: 0 0 0
[info] sbcs blocks[eheap_alloc] count: 0 0 0
[info] sbcs blocks[eheap_alloc] size: 0 0 0
[info] sbcs blocks[ets_alloc] count: 0 0 0
[info] sbcs blocks[ets_alloc] size: 0 0 0
[info] sbcs blocks[fix_alloc] count: 0 0 0
[info] sbcs blocks[fix_alloc] size: 0 0 0
[info] sbcs blocks[literal_alloc] count: 0 0 0
[info] sbcs blocks[literal_alloc] size: 0 0 0
[info] sbcs blocks[binary_alloc] count: 0 0 0
[info] sbcs blocks[binary_alloc] size: 0 0 0
[info] sbcs blocks[driver_alloc] count: 0 0 0
[info] sbcs blocks[driver_alloc] size: 0 0 0
[info] sbcs blocks[test_alloc] count: 0 0 0
[info] sbcs blocks[test_alloc] size: 0 0 0
[info] sbcs carriers: 0 0 0
[info] sbcs mseg carriers: 0
[info] sbcs sys_alloc carriers: 0
[info] sbcs carriers size: 0 0 0
[info] sbcs mseg carriers size: 0
[info] sbcs sys_alloc carriers size: 0
[info] sl_alloc calls: 1682
[info] sl_free calls: 1676
[info] sl_realloc calls: 0
[info] mseg_alloc calls: 0
[info] mseg_dealloc calls: 0
[info] mseg_realloc calls: 0
[info] sys_alloc calls: 1
[info] sys_free calls: 0
[info] sys_realloc calls: 0
[info] =allocator:sl_alloc[1]
[info] versions: 0.9 3.0
[info] option e: true
[info] option t: 2
[info] option ramv: false
[info] option atags: false
[info] option sbct: 524288
[info] option asbcst: 4145152
[info] option rsbcst: 80
[info] option rsbcmt: 80
[info] option rmbcmt: 50
[info] option mmbcs: 131072
[info] option mmsbc: 256
[info] option mmmbc: 18446744073709551615
[info] option lmbcs: 10485760
[info] option smbcs: 1048576
[info] option mbcgs: 10
[info] option acul: 60
[info] option acful: 0
[info] option acnl: 1000
[info] option acfml: 0
[info] option cp: S
[info] option as: aoffcbf
[info] mbcs blocks[sys_alloc] count: 0 0 0
[info] mbcs blocks[sys_alloc] size: 0 0 0
[info] mbcs blocks[temp_alloc] count: 0 0 0
[info] mbcs blocks[temp_alloc] size: 0 0 0
[info] mbcs blocks[sl_alloc] count: 5 19 7452
[info] mbcs blocks[sl_alloc] size: 552 246328 2558328
[info] mbcs blocks[std_alloc] count: 0 0 0
[info] mbcs blocks[std_alloc] size: 0 0 0
[info] mbcs blocks[ll_alloc] count: 0 0 0
[info] mbcs blocks[ll_alloc] size: 0 0 0
[info] mbcs blocks[eheap_alloc] count: 0 0 0
[info] mbcs blocks[eheap_alloc] size: 0 0 0
[info] mbcs blocks[ets_alloc] count: 0 0 0
[info] mbcs blocks[ets_alloc] size: 0 0 0
[info] mbcs blocks[fix_alloc] count: 0 0 0
[info] mbcs blocks[fix_alloc] size: 0 0 0
[info] mbcs blocks[literal_alloc] count: 0 0 0
[info] mbcs blocks[literal_alloc] size: 0 0 0
[info] mbcs blocks[binary_alloc] count: 0 0 0
[info] mbcs blocks[binary_alloc] size: 0 0 0
[info] mbcs blocks[driver_alloc] count: 0 0 0
[info] mbcs blocks[driver_alloc] size: 0 0 0
[info] mbcs blocks[test_alloc] count: 0 0 0
[info] mbcs blocks[test_alloc] size: 0 0 0
[info] mbcs carriers: 1 2 3
[info] mbcs mseg carriers: 0
[info] mbcs sys_alloc carriers: 1
[info] mbcs carriers size: 131072 1179648 3276800
[info] mbcs mseg carriers size: 0
[info] mbcs sys_alloc carriers size: 131072
[info] mbcs_pool blocks[sys_alloc] count: 0
[info] mbcs_pool blocks[sys_alloc] size: 0
[info] mbcs_pool blocks[temp_alloc] count: 0
[info] mbcs_pool blocks[temp_alloc] size: 0
[info] mbcs_pool blocks[sl_alloc] count: 0
[info] mbcs_pool blocks[sl_alloc] size: 0
[info] mbcs_pool blocks[std_alloc] count: 0
[info] mbcs_pool blocks[std_alloc] size: 0
[info] mbcs_pool blocks[ll_alloc] count: 0
[info] mbcs_pool blocks[ll_alloc] size: 0
[info] mbcs_pool blocks[eheap_alloc] count: 0
[info] mbcs_pool blocks[eheap_alloc] size: 0
[info] mbcs_pool blocks[ets_alloc] count: 0
[info] mbcs_pool blocks[ets_alloc] size: 0
[info] mbcs_pool blocks[fix_alloc] count: 0
[info] mbcs_pool blocks[fix_alloc] size: 0
[info] mbcs_pool blocks[literal_alloc] count: 0
[info] mbcs_pool blocks[literal_alloc] size: 0
[info] mbcs_pool blocks[binary_alloc] count: 0
[info] mbcs_pool blocks[binary_alloc] size: 0
[info] mbcs_pool blocks[driver_alloc] count: 0
[info] mbcs_pool blocks[driver_alloc] size: 0
[info] mbcs_pool blocks[test_alloc] count: 0
[info] mbcs_pool blocks[test_alloc] size: 0
[info] mbcs_pool carriers: 0
[info] mbcs_pool carriers size: 0
[info] sbcs blocks[sys_alloc] count: 0 0 0
[info] sbcs blocks[sys_alloc] size: 0 0 0
[info] sbcs blocks[temp_alloc] count: 0 0 0
[info] sbcs blocks[temp_alloc] size: 0 0 0
[info] sbcs blocks[sl_alloc] count: 0 0 0
[info] sbcs blocks[std_alloc] size: 0 0 0
[info] sbcs blocks[test_alloc] size: 0 0 0
[info] versions: 0.9 3.0
[info] option mmsbc: 256
I have not made any changes to the memory. It’s just 1g, but that should be far more than enough for this very lightweight app. Still, I bumped it up to 2g and that made no difference.
I’ve also tried replacing all my machines, on the off chance it’s a problem with them, but no benefit to be had.
ANSWER: It WAS a configuration change that I had made. I had made the configuration change through the web console, and apparently there was a typo or cut and paste error of some sort.
Redeploying the change via the commandline fixed the issue.
I don’t know why no errors were written to the logs, however. My best guess is that because the error was happening in a child process, the fly.io logs don’t capture it. This seems unnecessarily confusing situation however.
1 Like
Glad you figured it out!
Consider posting on the Fly.io community forum, which might get the situation in front of the eyes of some folks working there and lead to a better experience in the future.
1 Like