# App with performance-1 CPU is suspended

**URL:** <https://community.fly.io/t/app-with-performance-1-cpu-is-suspended/14006>\
**Category:** Questions / Help\
**Tags:** login-only\
**Created:** [July 7, 2023, 1:55am UTC](https://community.fly.io/t/app-with-performance-1-cpu-is-suspended/14006 "2023-07-07T01:55:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![heliocola](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/heliocola/32/5400_2.png) [@heliocola](https://community.fly.io/u/heliocola)\
**Post date:** [July 7, 2023, 1:55am UTC](https://community.fly.io/t/app-with-performance-1-cpu-is-suspended/14006/1 "2023-07-07T01:55:45Z")

</div>

Yesterday I bumped 2 machines and the DB machine from shared to performance one and today I’ve noticed that the machines are stopped (see attached screensthot).

Are performance-1 dedicated? Or still shared?  
Also: in the dashboard, the app and the DB app still shows shared-cpu-1x and it was in Suspended state

Is this expected?  
I am trying to upgrade the machines so the app doesn’t get suspended and not threshold of resource usage.

 ![Screenshot 2023-07-06 at 9.49.32 PM](https://global.discourse-cdn.com/fly1/original/3X/a/f/af3e5b0506380dd84e6b934e79003a7ee7605c6f.png)

---

<div class="post-metadata">

**Author:** ![heliocola](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/heliocola/32/5400_2.png) [@heliocola](https://community.fly.io/u/heliocola)\
**Post date:** [July 7, 2023, 2:58am UTC](https://community.fly.io/t/app-with-performance-1-cpu-is-suspended/14006/2 "2023-07-07T02:58:57Z")

</div>

If anybody gets here with the same issue…  
I’ve just found these links:

> [@What does “Downscaling app”mean？](https://community.fly.io/t/what-does-downscaling-app-mean/12309):
>
> Today I deploy my app many times, deployment succeed, but after few minutes, monitor print the following information. I try to change region, but dosen’t work, What should I do? 2023-04-18T06:36:17.032 app[6e82e25c206987] waw [info] Sending signal SIGINT to main child process w/ PID 513 2023-04-18T06:36:17.040 proxy [6e82e25c206987] waw [info] Downscaling app aabb123 in region waw. Automatically stopping machine 6e82e25c206987. 1 instance is running but has no load 2023-04-18T06:36:22.097 ap…

> [@Automatically starting/stopping Apps v2 instances](https://community.fly.io/t/automatically-starting-stopping-apps-v2-instances/12342):
>
> We’ve introduced a new feature to automatically start/stop instances. When enabled, the proxy will scale instances of your app up/down as demand changes. This feature can be enabled in the services section of the fly.toml [[services]] # automatically start machines auto\_start\_machines = true # automatically stop machines auto\_stop\_machines = true ... ... internal\_port = 8080 protocol = "tcp Similarly if you’re using http\_service [http\_service] # automatically start machines…

And I’ve set the following on my fly.toml:

```auto
[http_service]
  internal_port = 3000
  force_https = true
  auto_stop_machines = false
  auto_start_machines = false
  min_machines_running = 0

```

I can already see that the machine isn’t shutting down anymore.  
I will continue to monitor the app for the next day or so, but this seems to be what I was missing.

WARNING: if you don’t auto\_stop\_machines, they will run 24x7 and cost you money!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/fly1/original/3X/6/e/6e8955d00cb218e186ebbe3a6ab06fefdce15290.svg) [@system](https://community.fly.io/u/system)\
**Post date:** [July 14, 2023, 2:59am UTC](https://community.fly.io/t/app-with-performance-1-cpu-is-suspended/14006/3 "2023-07-14T02:59:26Z")

</div>

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