softspider Posted May 1, 2024 Posted May 1, 2024 I have no clue how to stop a script and it's eating all the memory.softspider.heliohost.us Quote
wolstech Posted May 1, 2024 Posted May 1, 2024 You have to design your scripts to be stoppable (or write a script to kill it). There is no UI for doing so. I killed the script for you. I do see the index.sh in your cgi-bin folder, and looking at the code, visiting index.sh?action=stop should trigger it to kill your process. The good news is based on the past few hours of usage, your script wasn't even that heavy and shouldn't have a problem with memory usage even if you need it to run continuously. 1 Quote
softspider Posted May 2, 2024 Author Posted May 2, 2024 (edited) Edit: I've found the code on the wayback machine but it seems to need libraries that are no longer importable Edit 2: The code should now be killable from within so just killing the 2 running processes should be fine, that being said going to softspider.heliohost.us/bot_control/index.sh?action=stop still does nothing; suggestion: please add an emergency kill all button Going to index.sh?action=stop seems to do nothing other than write "Stopping new.py.". Is there an archive of the previous version of this(https://wiki.helionet.org/tutorials/discord-bot) guide written in python so I can understand what the stop script is even doing + possibly fix it? Edited May 2, 2024 by softspider Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.