Skip to content

the memory usage of the wordpress machine #5

@scil

Description

@scil

I use the free and default memory. After I deployed the wordpress apache docker, I received an email like this once a day

Hello! Your “xxx” application hosted on Fly.io crashed because it ran out of memory. Specifically, the instance 81857550a10598. Adding more RAM to your application might help!

You should know that adding RAM does cost money. Not much, but some. Figure about $5/mo per extra GB. Our docs have [complete pricing details](https://fly.io/docs/about/pricing/?utm_campaign=oom-notification&utm_medium=email&utm_source=flyio#virtual-machines).

When you’re ready, add more RAM by running this from the command line or the [Fly Web CLI](https://fly.io/terminal):

fly scale memory [memoryMB] -a xxx

(replace [memoryMB] with the amount of memory you want to use, in megabytes eg. 2048)

Here’s the raw log message:

Out of memory: Killed process 1272 (apache2) total-vm:322300kB, anon-rss:24052kB, file-rss:0kB, shmem-rss:34308kB, UID:33 pgtables:312kB oom_score_adj:0

the graph, while I was trying to restart the machine

image

just share this until I find some solution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions