mtpews Posted August 22, 2017 Share Posted August 22, 2017 (edited) So i have a Python CGI that make some post requests (requests lib) for a certain number of times, My friend've use it and put in 1000000 (1 million) for testing but it keep running and make the whole website slow down, is there anyway to stop it ?Tried renaming the cgi file, but it keep on running even after rename. Edited August 22, 2017 by mtpews Quote Link to comment Share on other sites More sharing options...
Krydos Posted August 22, 2017 Share Posted August 22, 2017 I don't see a python script running on that account. Your website is likely running slowly because you picked the Johnny server. Since Johnny is an experimental server that means he can have high load and slow response time sometimes. If you want a faster server with better uptime we recommend picking a production server such as Tommy. As far as starting and stopping cgi scripts you might be interested in this post: https://www.helionet.org/index/topic/29129-python-script-behavior/?p=132451 Quote Link to comment Share on other sites More sharing options...
mtpews Posted August 23, 2017 Author Share Posted August 23, 2017 You don't see a python script running because before the time of your checking, the code has stopped bc Johnny server went down.You're right, the slow is because of the Johnny server, just a requests script can't make the website slow as hellThe "stop.py" in the link that you give me works perfectly. Quote Link to comment Share on other sites More sharing options...
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.