how does scaling work?

Hi, trying to up the scaling but no success, AFAIK:

fly scale memory 512 --group app
Scaled VM Memory size to 512 MB
      CPU Cores: 1
         Memory: 512 MB
ly scale show
VM Resources for lem
        VM Size: shared-cpu-1x
      VM Memory: 256 MB
          Count: app=1 worker=1 
 Max Per Region: app=0 webpacker=0 worker=0

Seeing the same in UI, also changing in UI does not seems to do anything:


Thanks

There might be an issue on the fly.io side, but here’s some docs on scaling.

Thanks, I followed the docs.

This might be a regional issue. You might let Fly know what region you are in, which would help with debugging this issue.

Issue with scaling multi-process apps when reported before, has either needed a bug fix from Fly (see), or shown the UI to be a lagging indicator (ref).

To rule out the latter, can you fly ssh console -a <app-name> -s into one of the VMs and exec free -h and check available RAM?

1 Like
# free -h
              total        used        free      shared  buff/cache   available
Mem:          472Mi       447Mi       6.0Mi          0B        18Mi        13Mi
Swap:            0B          0B          0B
# 

It is 512 then, looks like.

fly scale show needs to be fixed as well, then:

fly scale show
VM Resources for lem
        VM Size: shared-cpu-1x
      VM Memory: 256 MB
          Count: app=1 worker=1 
 Max Per Region: app=0 webpacker=0 worker=0 

Btw webpacker should not be there anymore.

2 Likes