rails app doesn't deploy anymore

I simply changed the ram size from 512 to 256 and deployed, it started throwing weird memory errors. Then I changed it back to 512. Getting the same issue. How is this possible?

Here are the logs:

2024-05-06T09:52:22Z runner[e2867495b7e238] ams [info]Configuring firecracker
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info][    0.036798] PCI: Fatal: No config space access function found
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info] INFO Starting init (commit: c1e2693b)...
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info] INFO Preparing to run: `/rails/bin/docker-entrypoint ./bin/rails db:prepare` as rails
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info] INFO [fly api proxy] listening at /.fly/api
2024-05-06T09:52:22Z runner[e2867495b7e238] ams [info]Machine created and started in 2.778s
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]2024/05/06 09:52:22 INFO SSH listening listen_address=[fdaa:9:2b65:a7b:39:2a86:f8db:2]:22 dns_server=[fdaa::3]:53
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]/usr/local/lib/ruby/3.3.0/rubygems.rb:165: [BUG] Segmentation fault at 0xffffffffffffffff
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]ruby 3.3.0 (2023-12-25 revision 5124f9ac75) [x86_64-linux]
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]-- Control frame information -----------------------------------------------
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]c:0005 p:0074 s:0023 e:000021 CLASS  /usr/local/lib/ruby/3.3.0/rubygems.rb:165
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]c:0004 p:0045 s:0019 e:000018 TOP    /usr/local/lib/ruby/3.3.0/rubygems.rb:115 [FINISH]
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]c:0003 p:---- s:0012 e:000011 CFUNC  :require
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]c:0002 p:0012 s:0007 e:000006 TOP    <internal:gem_prelude>:2 [FINISH]
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]c:0001 p:0000 s:0003 E:000410 DUMMY  [FINISH]
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]-- Ruby level backtrace information ----------------------------------------
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]<internal:gem_prelude>:2:in `<internal:gem_prelude>'
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]<internal:gem_prelude>:2:in `require'
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]/usr/local/lib/ruby/3.3.0/rubygems.rb:115:in `<top (required)>'
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]/usr/local/lib/ruby/3.3.0/rubygems.rb:165:in `<module:Gem>'
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]-- Threading information ---------------------------------------------------
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]Total ractor count: 1
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]Ruby thread count for this ractor: 1
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]-- Machine register context ------------------------------------------------
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info] RIP: 0x00007fb52f9e5664 RBP: 0x00007fb52dddf050 RSP: 0x00007ffc332e0858
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info] RAX: 0xffffffffffffffff RBX: 0x00007fb52dddf3e8 RCX: 0x00007fb52dddf3e9
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info] RDX: 0xffffffffffffffff RDI: 0x000055650a32e0c0 RSI: 0x000000000000c2e3
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]  R8: 0x0000000000000000  R9: 0x000055650a53dab0 R10: 0x0000000000000001
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info] R11: 0x00007fb52dd97f80 R12: 0x00007fb52fd71900 R13: 0x0000000000000001
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info] R14: 0x00007fb52dddf550 R15: 0x00007fb52dd97f80 EFL: 0x0000000000010202
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]-- C level backtrace information -------------------------------------------
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]/usr/local/lib/libruby.so.3.3(rb_print_backtrace+0x14) [0x7fb52fa9b23b] /usr/src/ruby/vm_dump.c:820
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]/usr/local/lib/libruby.so.3.3(rb_vm_bugreport) /usr/src/ruby/vm_dump.c:1151
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]/usr/local/lib/libruby.so.3.3(rb_bug_for_fatal_signal+0x100) [0x7fb52f895a80] /usr/src/ruby/error.c:1065
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]/usr/local/lib/libruby.so.3.3(sigsegv+0x4b) [0x7fb52f9e798b] /usr/src/ruby/signal.c:926
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]/lib/x86_64-linux-gnu/libc.so.6(0x7fb52f41c050) [0x7fb52f41c050]
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]/usr/local/lib/libruby.so.3.3(redblack_new+0x2c) [0x7fb52f9e5664] /usr/src/ruby/shape.c:148
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]/usr/local/lib/libruby.so.3.3(redblack_insert_aux) /usr/src/ruby/shape.c:247
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]/usr/local/lib/libruby.so.3.3(redblack_color+0x0) [0x7fb52f9e59df] /usr/src/ruby/shape.c:287
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]/usr/local/lib/libruby.so.3.3(redblack_red_p) /usr/src/ruby/shape.c:111
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]/usr/local/lib/libruby.so.3.3(redblack_insert) /usr/src/ruby/shape.c:289
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]/usr/local/lib/libruby.so.3.3(redblack_cache_ancestors) /usr/src/ruby/shape.c:434
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]/usr/local/lib/libruby.so.3.3(redblack_cache_ancestors+0x15) [0x7fb52f9e59bd] /usr/src/ruby/shape.c:431
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]/usr/local/lib/libruby.so.3.3(redblack_cache_ancestors) /usr/src/ruby/shape.c:431
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]/usr/local/lib/libruby.so.3.3(redblack_cache_ancestors+0x15) [0x7fb52f9e59bd] /usr/src/ruby/shape.c:431
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]/usr/local/lib/libruby.so.3.3(redblack_cache_ancestors) /usr/src/ruby/shape.c:431
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]/usr/local/lib/libruby.so.3.3(redblack_cache_ancestors+0x15) [0x7fb52f9e59bd] /usr/src/ruby/shape.c:431
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]/usr/local/lib/libruby.so.3.3(redblack_cache_ancestors) /usr/src/ruby/shape.c:431
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]/usr/local/lib/libruby.so.3.3(redblack_cache_ancestors+0x15) [0x7fb52f9e59bd] /usr/src/ruby/shape.c:431
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]/usr/local/lib/libruby.so.3.3(redblack_cache_ancestors) /usr/src/ruby/shape.c:431
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]/usr/local/lib/libruby.so.3.3(redblack_cache_ancestors+0x15) [0x7fb52f9e59bd] /usr/src/ruby/shape.c:431
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]/usr/local/lib/libruby.so.3.3(redblack_cache_ancestors) /usr/src/ruby/shape.c:431
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]/usr/local/lib/libruby.so.3.3(rb_shape_alloc_new_child+0x8) [0x7fb52f9e6908] /usr/src/ruby/shape.c:473
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]/usr/local/lib/libruby.so.3.3(get_next_shape_internal) /usr/src/ruby/shape.c:529
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]/usr/local/lib/libruby.so.3.3(rb_shape_get_next) /usr/src/ruby/shape.c:721
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]/usr/local/lib/libruby.so.3.3(general_ivar_set+0x4d) [0x7fb52fa62a10] /usr/src/ruby/variable.c:1513
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]/usr/local/lib/libruby.so.3.3(rb_class_ivar_set) /usr/src/ruby/variable.c:4236
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]/usr/local/lib/libruby.so.3.3(rb_ivar_set+0x83) [0x7fb52fa62bf3] /usr/src/ruby/variable.c:1844
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]/usr/local/lib/libruby.so.3.3(vm_exec_core+0x8ca) [0x7fb52fa7eeaa] /usr/src/ruby/vm_insnhelper.c:1639
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]/usr/local/lib/libruby.so.3.3(rb_vm_exec+0x179) [0x7fb52fa84589] /usr/src/ruby/vm.c:2486
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]/usr/local/lib/libruby.so.3.3(load_iseq_eval+0x3d) [0x7fb52f90758f] /usr/src/ruby/load.c:774
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]/usr/local/lib/libruby.so.3.3(require_internal) /usr/src/ruby/load.c:1281
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]/usr/local/lib/libruby.so.3.3(rb_require_string_internal+0x34) [0x7fb52f908226] /usr/src/ruby/load.c:1380
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]/usr/local/lib/libruby.so.3.3(rb_require_string) /usr/src/ruby/load.c:1373
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]/usr/local/lib/libruby.so.3.3(vm_cfp_consistent_p+0x0) [0x7fb52fa6d3b9] /usr/src/ruby/vm_insnhelper.c:3490
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]/usr/local/lib/libruby.so.3.3(vm_call_cfunc_with_frame_) /usr/src/ruby/vm_insnhelper.c:3492
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]/usr/local/lib/libruby.so.3.3(vm_call_cfunc_with_frame) /usr/src/ruby/vm_insnhelper.c:3518
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]/usr/local/lib/libruby.so.3.3(vm_call_cfunc_other) /usr/src/ruby/vm_insnhelper.c:3544
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]/usr/local/lib/libruby.so.3.3(vm_sendish+0xac) [0x7fb52fa7e709] /usr/src/ruby/vm_insnhelper.c:5581
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]/usr/local/lib/libruby.so.3.3(vm_exec_core) /usr/src/ruby/insns.def:834
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]/usr/local/lib/libruby.so.3.3(rb_vm_exec+0x179) [0x7fb52fa84589] /usr/src/ruby/vm.c:2486
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]/usr/local/lib/libruby.so.3.3(rb_intern_const+0x0) [0x7fb52f9e1d0f] /usr/src/ruby/ruby.c:1730
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]/usr/local/lib/libruby.so.3.3(ruby_init_prelude) /usr/src/ruby/ruby.c:1731
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]/usr/local/lib/libruby.so.3.3(ruby_opt_init) /usr/src/ruby/ruby.c:1791
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]/usr/local/lib/libruby.so.3.3(ruby_opt_init+0x16) [0x7fb52f9e232e] /usr/src/ruby/ruby.c:1749
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]/usr/local/lib/libruby.so.3.3(load_file_internal) /usr/src/ruby/ruby.c:2599
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]/usr/local/lib/libruby.so.3.3(rb_ensure+0x110) [0x7fb52f89f4f0] /usr/src/ruby/eval.c:1009
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]/usr/local/lib/libruby.so.3.3(load_file+0x4b) [0x7fb52f9e3d5b] /usr/src/ruby/ruby.c:2760
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]/usr/local/lib/libruby.so.3.3(process_options) /usr/src/ruby/ruby.c:2296
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]/usr/local/lib/libruby.so.3.3(ruby_process_options+0x145) [0x7fb52f9e44a5] /usr/src/ruby/ruby.c:3014
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]/usr/local/lib/libruby.so.3.3(ruby_options+0xc9) [0x7fb52f8a05a9] /usr/src/ruby/eval.c:121
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]/usr/local/bin/ruby(rb_main+0x19) [0x55650852610a] ./main.c:39
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]/usr/local/bin/ruby(main) ./main.c:58
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]/lib/x86_64-linux-gnu/libc.so.6(0x7fb52f40724a) [0x7fb52f40724a]
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x85) [0x7fb52f407305]
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info][0x556508526151]
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]-- Other runtime information -----------------------------------------------
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]* Loaded script: ruby
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]* Loaded features:
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]    0 enumerator.so
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]    1 thread.rb
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]    2 fiber.so
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]    3 rational.so
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]    4 complex.so
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]    5 ruby2_keywords.rb
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]    6 /usr/local/lib/ruby/3.3.0/x86_64-linux/enc/encdb.so
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]    7 /usr/local/lib/ruby/3.3.0/x86_64-linux/enc/trans/transdb.so
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]    8 /usr/local/lib/ruby/3.3.0/x86_64-linux/rbconfig.rb
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]    9 /usr/local/lib/ruby/3.3.0/rubygems/compatibility.rb
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]   10 /usr/local/lib/ruby/3.3.0/rubygems/defaults.rb
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]   11 /usr/local/lib/ruby/3.3.0/rubygems/deprecate.rb
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]   12 /usr/local/lib/ruby/3.3.0/rubygems/errors.rb
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]* Process memory map:
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]556508525000-556508526000 r--p 00000000 fe:00 5617                       /usr/local/bin/ruby
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]556508526000-556508527000 r-xp 00001000 fe:00 5617                       /usr/local/bin/ruby
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]556508527000-556508528000 r--p 00002000 fe:00 5617                       /usr/local/bin/ruby
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]556508528000-556508529000 r--p 00002000 fe:00 5617                       /usr/local/bin/ruby
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]556508529000-55650852a000 rw-p 00003000 fe:00 5617                       /usr/local/bin/ruby
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]55650a32d000-55650a777000 rw-p 00000000 00:00 0                          [heap]
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb5296a5000-7fb52987b000 r--s 00000000 fe:00 718                        /usr/lib/x86_64-linux-gnu/libc.so.6
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52987b000-7fb52ac70000 rw-p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52ac70000-7fb52be90000 r--s 00000000 fe:00 5830                       /usr/local/lib/libruby.so.3.3.0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52be90000-7fb52bea0000 rw-p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52bfb0000-7fb52bfc0000 rw-p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52c050000-7fb52c060000 rw-p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52c09a000-7fb52c0d0000 r--s 00000000 fe:00 5617                       /usr/local/bin/ruby
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52c0d0000-7fb52c130000 rw-p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52c13f000-7fb52c140000 ---p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52c140000-7fb52c1e1000 rw-p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52c1e1000-7fb52c1e2000 ---p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52c1e2000-7fb52c283000 rw-p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52c283000-7fb52c284000 ---p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52c284000-7fb52c325000 rw-p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52c325000-7fb52c326000 ---p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52c326000-7fb52c3c7000 rw-p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52c3c7000-7fb52c3c8000 ---p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52c3c8000-7fb52c469000 rw-p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52c469000-7fb52c46a000 ---p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52c46a000-7fb52c50b000 rw-p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52c50b000-7fb52c50c000 ---p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52c50c000-7fb52c5ad000 rw-p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52c5ad000-7fb52c5ae000 ---p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52c5ae000-7fb52c64f000 rw-p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52c64f000-7fb52c650000 ---p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52c650000-7fb52c6f1000 rw-p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52c6f1000-7fb52c6f2000 ---p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52c6f2000-7fb52c793000 rw-p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52c793000-7fb52c794000 ---p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52c794000-7fb52c835000 rw-p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52c835000-7fb52c836000 ---p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52c836000-7fb52c8d7000 rw-p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52c8d7000-7fb52c8d8000 ---p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52c8d8000-7fb52c979000 rw-p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52c979000-7fb52c97a000 ---p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52c97a000-7fb52ca1b000 rw-p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52ca1b000-7fb52ca1c000 ---p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52ca1c000-7fb52cabd000 rw-p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52cabd000-7fb52cabe000 ---p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52cabe000-7fb52cb5f000 rw-p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52cb5f000-7fb52cb60000 ---p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52cb60000-7fb52cc01000 rw-p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52cc01000-7fb52cc02000 ---p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52cc02000-7fb52cca3000 rw-p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52cca3000-7fb52cca4000 ---p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52cca4000-7fb52cd45000 rw-p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52cd45000-7fb52cd46000 ---p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52cd46000-7fb52cde7000 rw-p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52cde7000-7fb52cde8000 ---p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52cde8000-7fb52ce89000 rw-p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52ce89000-7fb52ce8a000 ---p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52ce8a000-7fb52cf2b000 rw-p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52cf2b000-7fb52cf2c000 ---p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52cf2c000-7fb52cfcd000 rw-p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52cfcd000-7fb52cfce000 ---p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52cfce000-7fb52d06f000 rw-p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52d06f000-7fb52d070000 ---p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52d070000-7fb52d111000 rw-p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52d111000-7fb52d112000 ---p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52d112000-7fb52d1b3000 rw-p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52d1b3000-7fb52d1b4000 ---p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52d1b4000-7fb52d255000 rw-p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52d255000-7fb52d256000 ---p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52d256000-7fb52d2f7000 rw-p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52d2f7000-7fb52d2f8000 ---p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52d2f8000-7fb52d399000 rw-p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52d399000-7fb52d39a000 ---p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52d39a000-7fb52d43b000 rw-p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52d43b000-7fb52d43c000 ---p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52d43c000-7fb52d4dd000 rw-p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52d4dd000-7fb52d4de000 ---p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52d4de000-7fb52d57f000 rw-p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52d57f000-7fb52d580000 ---p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52d580000-7fb52ddd0000 rw-p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52dddf000-7fb52f250000 rw-p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52f255000-7fb52f256000 r--p 00000000 fe:00 7189                       /usr/local/lib/ruby/3.3.0/x86_64-linux/enc/trans/transdb.so
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52f256000-7fb52f257000 r-xp 00001000 fe:00 7189                       /usr/local/lib/ruby/3.3.0/x86_64-linux/enc/trans/transdb.so
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52f257000-7fb52f258000 r--p 00002000 fe:00 7189                       /usr/local/lib/ruby/3.3.0/x86_64-linux/enc/trans/transdb.so
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52f258000-7fb52f259000 r--p 00002000 fe:00 7189                       /usr/local/lib/ruby/3.3.0/x86_64-linux/enc/trans/transdb.so
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52f259000-7fb52f25a000 rw-p 00003000 fe:00 7189                       /usr/local/lib/ruby/3.3.0/x86_64-linux/enc/trans/transdb.so
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52f25a000-7fb52f25b000 r--p 00000000 fe:00 7145                       /usr/local/lib/ruby/3.3.0/x86_64-linux/enc/encdb.so
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52f25b000-7fb52f25c000 r-xp 00001000 fe:00 7145                       /usr/local/lib/ruby/3.3.0/x86_64-linux/enc/encdb.so
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52f25c000-7fb52f25d000 r--p 00002000 fe:00 7145                       /usr/local/lib/ruby/3.3.0/x86_64-linux/enc/encdb.so
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52f25d000-7fb52f25e000 r--p 00002000 fe:00 7145                       /usr/local/lib/ruby/3.3.0/x86_64-linux/enc/encdb.so
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52f25e000-7fb52f25f000 rw-p 00003000 fe:00 7145                       /usr/local/lib/ruby/3.3.0/x86_64-linux/enc/encdb.so
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52f25f000-7fb52f360000 rw-p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52f360000-7fb52f367000 r--s 00000000 fe:00 691                        /usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52f367000-7fb52f3be000 r--p 00000000 fe:00 335                        /usr/lib/locale/C.utf8/LC_CTYPE
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52f3be000-7fb52f3c0000 rw-p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52f3c0000-7fb52f3c3000 r--p 00000000 fe:00 740                        /usr/lib/x86_64-linux-gnu/libgcc_s.so.1
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52f3c3000-7fb52f3da000 r-xp 00003000 fe:00 740                        /usr/lib/x86_64-linux-gnu/libgcc_s.so.1
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52f3da000-7fb52f3de000 r--p 0001a000 fe:00 740                        /usr/lib/x86_64-linux-gnu/libgcc_s.so.1
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52f3de000-7fb52f3df000 r--p 0001d000 fe:00 740                        /usr/lib/x86_64-linux-gnu/libgcc_s.so.1
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52f3df000-7fb52f3e0000 rw-p 0001e000 fe:00 740                        /usr/lib/x86_64-linux-gnu/libgcc_s.so.1
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52f3e0000-7fb52f406000 r--p 00000000 fe:00 718                        /usr/lib/x86_64-linux-gnu/libc.so.6
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52f406000-7fb52f55b000 r-xp 00026000 fe:00 718                        /usr/lib/x86_64-linux-gnu/libc.so.6
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52f55b000-7fb52f5ae000 r--p 0017b000 fe:00 718                        /usr/lib/x86_64-linux-gnu/libc.so.6
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52f5ae000-7fb52f5b2000 r--p 001ce000 fe:00 718                        /usr/lib/x86_64-linux-gnu/libc.so.6
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52f5b2000-7fb52f5b4000 rw-p 001d2000 fe:00 718                        /usr/lib/x86_64-linux-gnu/libc.so.6
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52f5b4000-7fb52f5c3000 rw-p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52f5c3000-7fb52f5d3000 r--p 00000000 fe:00 757                        /usr/lib/x86_64-linux-gnu/libm.so.6
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52f5d3000-7fb52f646000 r-xp 00010000 fe:00 757                        /usr/lib/x86_64-linux-gnu/libm.so.6
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52f646000-7fb52f6a0000 r--p 00083000 fe:00 757                        /usr/lib/x86_64-linux-gnu/libm.so.6
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52f6a0000-7fb52f6a1000 r--p 000dc000 fe:00 757                        /usr/lib/x86_64-linux-gnu/libm.so.6
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52f6a1000-7fb52f6a2000 rw-p 000dd000 fe:00 757                        /usr/lib/x86_64-linux-gnu/libm.so.6
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52f6a2000-7fb52f6a4000 r--p 00000000 fe:00 727                        /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52f6a4000-7fb52f6ba000 r-xp 00002000 fe:00 727                        /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52f6ba000-7fb52f6d4000 r--p 00018000 fe:00 727                        /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52f6d4000-7fb52f6d5000 r--p 00031000 fe:00 727                        /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52f6d5000-7fb52f6d6000 rw-p 00032000 fe:00 727                        /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52f6d6000-7fb52f6de000 rw-p 00000000 00:00 0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52f6de000-7fb52f6e9000 r--p 00000000 fe:00 744                        /usr/lib/x86_64-linux-gnu/libgmp.so.10.4.1
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52f6e9000-7fb52f746000 r-xp 0000b000 fe:00 744                        /usr/lib/x86_64-linux-gnu/libgmp.so.10.4.1
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52f746000-7fb52f75d000 r--p 00068000 fe:00 744                        /usr/lib/x86_64-linux-gnu/libgmp.so.10.4.1
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52f75d000-7fb52f75e000 r--p 0007f000 fe:00 744                        /usr/lib/x86_64-linux-gnu/libgmp.so.10.4.1
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52f75e000-7fb52f75f000 rw-p 00080000 fe:00 744                        /usr/lib/x86_64-linux-gnu/libgmp.so.10.4.1
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52f75f000-7fb52f762000 r--p 00000000 fe:00 817                        /usr/lib/x86_64-linux-gnu/libz.so.1.2.13
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52f762000-7fb52f775000 r-xp 00003000 fe:00 817                        /usr/lib/x86_64-linux-gnu/libz.so.1.2.13
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52f775000-7fb52f77c000 r--p 00016000 fe:00 817                        /usr/lib/x86_64-linux-gnu/libz.so.1.2.13
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52f77c000-7fb52f77d000 r--p 0001c000 fe:00 817                        /usr/lib/x86_64-linux-gnu/libz.so.1.2.13
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52f77d000-7fb52f77e000 rw-p 0001d000 fe:00 817                        /usr/lib/x86_64-linux-gnu/libz.so.1.2.13
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52f782000-7fb52f7cc000 r--p 00000000 fe:00 5830                       /usr/local/lib/libruby.so.3.3.0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52f7cc000-7fb52fbc0000 r-xp 0004a000 fe:00 5830                       /usr/local/lib/libruby.so.3.3.0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52fbc0000-7fb52fd48000 r--p 0043e000 fe:00 5830                       /usr/local/lib/libruby.so.3.3.0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52fd48000-7fb52fd5e000 r--p 005c5000 fe:00 5830                       /usr/local/lib/libruby.so.3.3.0
2024-05-06T09:52:22Z app[e2867495b7e238] ams [info]7fb52fd5e000-7fb52fd62000 rw-p 005db000 fe:00 5830                       /usr/local/lib/libruby.so.3.3.0
2024-05-06T09:52:23Z app[e2867495b7e238] ams [info] INFO Main child exited with signal (with signal 'SIGSEGV', core dumped? false)
2024-05-06T09:52:23Z app[e2867495b7e238] ams [info] INFO Starting clean up.
2024-05-06T09:52:23Z app[e2867495b7e238] ams [info] WARN could not unmount /rootfs: EINVAL: Invalid argument
2024-05-06T09:52:23Z app[e2867495b7e238] ams [info][    1.337610] reboot: Restarting system
2024-05-06T09:52:23Z runner[e2867495b7e238] ams [info]machine restart policy set to 'no', not restarting

Here’s my fly.toml

# fly.toml app configuration file generated for bikeflip-backend on 2024-04-28T16:17:21+02:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#

app = 'bikeflip-backend'
primary_region = 'ams'
console_command = '/rails/bin/rails console'

[build]

[deploy]
  release_command = './bin/rails db:prepare'

[http_service]
  internal_port = 3000
  force_https = true
  auto_stop_machines = true
  auto_start_machines = true
  min_machines_running = 1
  processes = ['app']

[checks]
  [checks.status]
    port = 3000
    type = 'http'
    interval = '10s'
    timeout = '2s'
    grace_period = '5s'
    method = 'GET'
    path = '/up'
    protocol = 'http'
    tls_skip_verify = false

    [checks.status.headers]
      X-Forwarded-Proto = 'https'

[[vm]]
  memory = '512mb'
  cpu_kind = 'shared'
  cpus = 1

[[statics]]
  guest_path = '/rails/public'
  url_prefix = '/'

[env]
  NODE_OPTIONS='--max-old-space-size=4096'

Here’s my rails config/dockerfile.yml file

# generated by dockerfile-rails

---
options:
  label:
    fly_launch_runtime: rails
  postgresql: true
  prepare: false
  redis: true

What is going on???

Interesting, setting

swap_size_mb = 512

in fly.toml seems to resolve the issue.

Perhaps good to include this when fly.toml is generated

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.