All Activity
- Past hour
-
serverftw joined the community
-
I think I have something to start with.... seems to be an issue with blanks in my code. ... Whitespaces...
- Today
-
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.
-
Also you would need to have a way to stop your script. Krydos can explain more about this.
-
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.
-
Sorry. As soon as I include getpid it does not run.
-
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
-
erickgodoy joined the community
-
Subdomain added. Please make sure to either create an A record to Johnny's IP address or switch to HelioHost's nameservers.
-
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.
-
May I know the reason why I suspended? I'm sure I did nothing wrong
-
HectorO joined the community
-
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.
-
[Solved] Increase File Upload Limit on WordPress
Krydos replied to patnumber1's topic in Escalated Requests
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. -
What VPS number are you, or what is your IPv4?
-
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.
-
brandonramirez joined the community
-
elechost joined the community
-
iraqi12 joined the community
- Yesterday
-
[Solved] Allow remote access on PostgreSQL database
kyael replied to kyael's topic in Escalated Requests
Thanks guys! ❤️ -
[Solved] Increase File Upload Limit on WordPress
patnumber1 replied to patnumber1's topic in Escalated Requests
It's okay, I ended up putting it online. Thank you and sorry for the inconvenience. -
[Krydos] Lost email and need password reset
wolstech replied to Kanein's topic in Escalated Requests
Krydos may be able to assist with this. -
[Solved] Increase File Upload Limit on WordPress
wolstech replied to patnumber1's topic in Escalated Requests
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). -
[Solved] Increase File Upload Limit on WordPress
patnumber1 replied to patnumber1's topic in Escalated Requests
PHP version 8.1.27. Wordpress with elementor and Astra. -
Kanein joined the community
-
Lost access to my email and trying to reset root password for my vps
-
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.
-
[Solved] Allow remote access on PostgreSQL database
Krydos replied to kyael's topic in Escalated Requests
Remote access enabled. host=65.19.141.77 port=5432 username=kyael_admin dbname=kyael_inhouses password=<set in Plesk> -
[Solved] Allow remote access on PostgreSQL database
MoneyBroz replied to kyael's topic in Escalated Requests
This support request is being escalated to our root admins. -
kossmiks joined the community
-
itsharshit joined the community
-
mistryvishal2010 joined the community
-
kyael started following [Solved] Allow remote access on PostgreSQL database
-
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
-
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