Jump to content

All Activity

This stream auto-updates

  1. Past hour
  2. I think I have something to start with.... seems to be an issue with blanks in my code. ... Whitespaces...
  3. Today
  4. Thanks it is 3.10 on Tommy. Regarding stopping, I want to use the above code. With psutil process terminate. I saw psutil is installed. But Krydos also told me is is always installed. I assumed getpid is part of os. The include looked like that.... But I do not really know Python. It is not the include line. It is as soon as I remove a # In front of the line using getpid. I out comment all lines and activated them top to bottom.
  5. Also you would need to have a way to stop your script. Krydos can explain more about this.
  6. getpid isn't installed on any python version on tommy. Krydos can install it if necessary, just include what python version you are using and your username.
  7. Sorry. As soon as I include getpid it does not run.
  8. Hi, I have a scheduled task. Sometimes it does not run through, the next is started.... It adds up and eats memory. So I want to check for a previous insta ce running and kill it. This is my idea: print("test " ) from os import getpid from os.path import exists from psutil import pid_exists, Process PATH_PIDFILE = "../pid.txt" my_pid = getpid() if exists(PATH_PIDFILE): with open(PATH_PIDFILE) as f: pid = f.read() pid = int(pid) if pid.isnumeric() else None if pid is not None and pid_exists(pid) and Process(pid).cmdline() == Process(my_pid).cmdline(): # Exists # Kill p = psutil.Process(pid) p.terminate() #print("killed ") with open(PATH_PIDFILE, "w") as f: f.write(str(my_pid)) Howorever a soon as I cute getpid linee it doesn't run anymore
  9. Subdomain added. Please make sure to either create an A record to Johnny's IP address or switch to HelioHost's nameservers.
  10. You were suspended for creating multiple accounts, which is against our terms of service. If you would like, you can choose to keep one of your accounts. The rest will remain suspended.
  11. May I know the reason why I suspended? I'm sure I did nothing wrong
  12. Hello, I need your help in order to add a sub-domain to my account: Required sub-domain: campusiq.ingenieroquimico.org Account: campus17k Thanks for your help.
  13. Glad you got it working. Like Wolstech said you need to keep an eye on your load. Over the last 8 hours you're already at 60% of your daily CPU limit, and 24% of your memory limit.
  14. What VPS number are you, or what is your IPv4?
  15. I already responded to this on Discord, but I think the Wordpress install is interfering with cgi-bin working. I moved the Python script to httpdocs instead of httpdocs/cgi-bin and it works fine there. Let us know if you would like to proceed with the account reset.
  16. Yesterday
  17. It's okay, I ended up putting it online. Thank you and sorry for the inconvenience.
  18. Krydos may be able to do this for you. I wouldn't be surprised if the execution time is an issue as well restoring a backup like that (we've been known to temporarily raise it for installs like this, but it would need to be reduced again after installation).
  19. PHP version 8.1.27. Wordpress with elementor and Astra.
  20. Lost access to my email and trying to reset root password for my vps
  21. I'm not sure what is going on here...it looks like Apache is looking for the file in the wrong place. The folder /var/www doesn't exist on a Plesk server, it should be /home/<domain>/httpdocs From your logs: GET /cgi-bin/test.py HTTP/1.0 AH01264: script not found or unable to stat: /var/www/cgi-bin/test.py Krydos will need to investigate.
  22. Remote access enabled. host=65.19.141.77 port=5432 username=kyael_admin dbname=kyael_inhouses password=<set in Plesk>
  23. This support request is being escalated to our root admins.
  24. Hi all, I've read on the forum that it's possible to allow remote access on our PostgreSQL databases. Sorry if this is the wrong place to post, I couldn't find where the requests were originally posted. host=65.19.141.77 port=5432 username=kyael_admin dbname=kyael_inhouses Thanks! Richard
  25. Hi there, yesterday Krydos gave me some good advice on avoiding the high load in the future, I'll implement this. The topic was marked as "solved". That is why I am opening a new topic. My account is still suspended (I guess you forgot to reactivate). Can you please reactivate? I'll implement the changes asap and hope it helps. Thanks, Jochen
  1. Load more activity
×
×
  • Create New...