Jump to content

Recommended Posts

Posted

You didn't fix your load issue and got suspended yet again for it (previous suspensions on the 15th and 17th). It's unfair to the other 2000 users for your account to be slowing everything else down. 

We have a 3 strikes policy here for suspensions, and you just struck out. Your Plesk account cannot be unsuspended due to repeated failure to manage your load.

You'll need to either buy a VPS (which will isolate your software on its own server so the load won't impact other users) or find a new host for this software. If you're interested in a VPS, you can purchase that here: https://heliohost.org/vps/ (it comes as an empty Linux box with root SSH access and you can install whatever you want provided it isn't illegal, including this telegram bot).

image.png.fba922b1b60f404683d080c124ebbf07.png

Posted

I already did the reduction and modified the way of pulling the data into the database and I also made it so that it gets the data and does not need to load the server again..
I even set a timer to reduce orders, nothing more...

Posted

It clearly wasn't enough based on that chart above. Your app is still too heavy. In order for the software to not get you suspended, it can't use more than about ~50MB of RAM continuously, which is admittedly extremely difficult to achieve with a long running node process. (node-based websites and such are much easier to accomplish here because they can rely on Passenger to stop them when there's no traffic, but a telegram bot can't do this since it has to listen to its channel continuously). 

Most users here who are running these sorts of bots here have chosen alternatives like Python because it's more resource efficient and won't lead to suspensions like this.

If you want, I'll unsuspend you one more time, but it comes on the condition that you either rebuild the bot in something else so it doesn't slow the server down, or that you use the account for something that is not related to said bot. A future suspension after that for node-related load would be a permanent ban from our service. Do you want me to do that?

  • wolstech changed the title to blocked again
Posted
16 hours ago, wolstech said:

It clearly wasn't enough based on that chart above. Your app is still too heavy. In order for the software to not get you suspended, it can't use more than about ~50MB of RAM continuously, which is admittedly extremely difficult to achieve with a long running node process. (node-based websites and such are much easier to accomplish here because they can rely on Passenger to stop them when there's no traffic, but a telegram bot can't do this since it has to listen to its channel continuously). 

Most users here who are running these sorts of bots here have chosen alternatives like Python because it's more resource efficient and won't lead to suspensions like this.

If you want, I'll unsuspend you one more time, but it comes on the condition that you either rebuild the bot in something else so it doesn't slow the server down, or that you use the account for something that is not related to said bot. A future suspension after that for node-related load would be a permanent ban from our service. Do you want me to do that?

I redid all the code in Python and put limits so there wouldn't be any problems, can we release it to test again?

Posted

The shebang line was missing, line endings needed to be unix, and the permissions were wrong.

The bot appears to be running now, but I suspect you may not have any way to stop it. You should set up a way to start and stop the process. I killed it for you.

Our guide on Discord bots has an example in it of how to control long-running Python processes, the same methods should be applicable to any other long running Python scripts: https://wiki.helionet.org/tutorials/discord-bot

Posted

You're making progress. New code seems to be more efficient in that it isn't slamming the memory usage, but something happened to spike it.

Do you know what might have happened around 0900 that caused the jump and pushed you over the limit? 

image.png.9a90c2d4653240a79da13b1c9705433c.png

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...