Jump to content

blocked again


Recommended Posts

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

Link to comment
Share on other sites

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...

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

  • wolstech changed the title to blocked again
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?

Link to comment
Share on other sites

24 minutes ago, wolstech said:

Node has been disabled and you've been unsuspended...again. It might take a few minutes to work.

Please watch your load carefully at https://heliohost.org/dashboard/load when testing the python version of the bot.

I did exactly as written in the tutorial and there is no cgi folder and after doing so I get the error
https://georgelukas.helioho.st/cgi-bin/tele.py

 

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...