Cannot Run Project & Exceeding Project Limits

it is going on ~4-3 hours

It appears that there is an error when trying to view some Glitch projects. For example, when you visit test.glitch.me, you should get an error that says.

Project Cannot Run
Maximum running projects exceeded.

When the a ping service pings a broken project, this error appears:
402 Payment Required

Is this a bug? Is Glitch updating the free plan?

I also also getting this issue too.

Do you have a route in Express for /? I would guess that the OK is due to the code you have in your project, not a Glitch problem

Hi @RiversideRocks,

Thanks for asking!

As you know, by default projects go to “sleep” after 5 minutes of inactivity, and they are also stopped once ever 12 hours.

When users choose to override these default downtimes on a very large number of projects it can slow down things for other users. That is why we now ask folks to please limit the number of projects that they are running 24/7 to no more than 20.

As a result, users who already have a significant number of projects running 24/7 may have their existing projects suspended or be prevented from creating new projects - the message you posted is associated with the latter.

Is there a way to get a project un-suspended when it is flagged due to this?

So how would we control this?

I don’t think I have more than 20 projects running, however, I will be sure to check! Thanks @tasha
Update: The issue seemed to go away on my project.

How much is “a significant number”? Is it 20+?

@BrightnessTM - yes! send a message to support@glitch.com and we can help you out!

1 Like

how do you know if its uptime robot or not

Also is this going to be posted in a place where more people can see this update? Is this going to be sent in an email?

Also, what projects are impacted? Only one of my projects got shut off.

@KarateBoi consider any amount over 20 to be “significant” enough that they may be suspended.

4 Likes

@RiversideRocksprojects that are set up to run 24/7 may be impacted if the project owner is running more than 20 simultaneously.

Ok, I will be checking uptimerobot and freshping and start deleting from there, so I can be below 20 projects.

By the way, for some of you who are using glitch projects as a cdn I recommend you move to a host like netlify, or zeit now(now.sh), to host things as they make it easier to deploy and have less restricting storage limits(netlify only has 100gb bandwidth limit I think). These services are powerful for hosting assets like images but not dynamic content like nodejs apps(static sites only for these services although now.sh may be able to run nodejs apps).

Second of all for those who are running multiple discordjs bots I think it would be a good idea to copy and paste all the code for your bots into 1 project if possible. Discord bots spend a whole lot of time idling so you should be able to get the same speed as if you were using separate projects but not the storage/memory benefits(you can host your db on something like MongoDB for free).

2 Likes

I use Netlify for static and I will transfer my CDN site over there after I remove the php from it.

But glitch is best for PHP and Node.js

1 Like