I’ve configured my fly.toml as follows:
[[vm]]
memory = '512mb'
cpu_kind = 'shared'
cpus = 1
swap_size_mb = 512
But nothing happens as you can see on top
output:
Can anyone help me?
I’ve configured my fly.toml as follows:
[[vm]]
memory = '512mb'
cpu_kind = 'shared'
cpus = 1
swap_size_mb = 512
But nothing happens as you can see on top
output:
Can anyone help me?
Move swap_size_mb = 512
outside of [[vm]]
; generally this means to put it near the top of the file.
It worked. You’re the best. Thanks!
Hi @rubys I just noticed when my machine was near capacity, eg 256MB with only ~4MB free and I ssh into it, it’s extremely sluggish. Is that expected? I thought the swap would lend more memory when it was low.
Yes but swap space is disk storage which is orders of magnitude slower than RAM. You’re likely experiencing thrashing
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.