-
Posts
24,192 -
Joined
-
Last visited
-
Days Won
854
Everything posted by Krydos
-
I would say if you have a well-written site that closes the mysql connections immediately after the query completes you could have 100 simultaneous users at least without seeing that error. If the server load is higher that number will decrease, and if your code is poorly written you may only be able to have 1 or 2 users and you will see that error. It depends on a lot of things.
-
As this is the fourth time you've been suspended for high load, I would like to know what steps exactly you have taken to reduce your load so far?
-
Before you can deploy a .war file you must first go to https://johnny.heliohost.org:2083/frontend/paper_lantern/java/index.live.php and request java on your account. Please be aware that since you picked the Johnny server the wait to receive java is quite long. The wait to receive java on the Tommy server is generally only a few hours.
-
Mock 2.0.0 is now installed https://krydos2.heliohost.org/cgi-bin/modules36.py
-
You're on Tommy now. http://ilovehm.heliohost.org/ You can log in at https://www.heliohost.org/login/ It looks like you may have solved your load issues that got you banished from Tommy the first time, because you load on Johnny isn't bad. If you see a 404 error or a Johnny queued page please clear your browser cache and flush your os dns records. Thank you for you donation. We really appreciate it.
-
The .war deployment script is still in beta testing. Right now it's set really sensitive so it only deploys under the perfect conditions which sometimes don't happen very quickly. It also has hung up a couple times. I've got log files of everything it's been doing. I'm going to use the logged data to make some improvements sometime in the next few days. I can tell you right now that the changes I'm planning on implementing, if the filename remains the same as the previous deployment it will process it fastest. Some users change their filenames each time they deploy, example e2s-1.0.1.war, e2s-1.0.2.war, etc. Those types of deployments will take much longer to go through. Based on the log files you've been using the same filename each time so it should be quick for you.
-
We accept donations of $1.00 USD or more. If people try to donate less than that we just refund their donation because Paypal takes too large of a percentage. We've received quite a few large donations as much as $100.00 a bunch of times. We always recommend people donate what they think our service is worth to them. You can donate at https://www.heliohost.org/donate/ If you use paypal or skrill let us know the transaction ID. Johnny's load has been stabilized http://heliohost.grd.net.pl/monitor/archive/?2017-11-20 and everything should be working again. Let us know if you're still having any issues.
-
[Solved] Can't Login Even With Right Credentials
Krydos replied to moonland's topic in Suspended and Queued Accounts
Johnny's load has been stabilized http://heliohost.grd.net.pl/monitor/archive/?2017-11-20 and everything should be working again. Let us know if you're still having any issues. -
Johnny's load has been stabilized http://heliohost.grd.net.pl/monitor/archive/?2017-11-20 and everything should be working again. Let us know if you're still having any issues.
-
Does it work now?
-
Can you provide a link so we can test it?
-
Your account was suspended for inactivity, because you haven't logged into your account in the last 30 days. To reactivate your account, please visit http://www.heliohost.org/renew. To prevent this from happening in the future please remember to visit https://heliohost.org/ to log into your account at least once every 30 days. If you are still seeing the Account Suspended page after renewing your account, please clear your cache.
-
There you go https://krydos.heliohost.org/cgi-bin/modules36.py
-
It's not reference. We have seven different versions of python on three different servers. Knowing which one they are actually using is important.
-
Php Is There Any Way To Convert From \\r\\n To \r\n
Krydos replied to ridoy's topic in Website Management and Coding
That's exactly what it's supposed to do. Remove everything that isn't lowercase letters, uppercase letters, or spaces. $input = preg_replace("/\\\\r\\\\n/", "\r\n", $_POST["input"]); !!!WARNING!!!: THE ABOVE CODE DOES NOT SANITIZE PROPERLY TO PREVENT SQL INJECTION! That might do what you want. It hasn't been tested. -
Php Is There Any Way To Convert From \\r\\n To \r\n
Krydos replied to ridoy's topic in Website Management and Coding
The code I posted will remove \r\n. -
Php Is There Any Way To Convert From \\r\\n To \r\n
Krydos replied to ridoy's topic in Website Management and Coding
Well, sanitizing your mysql data is a really necessary thing to get in the practice of doing. Figure out what the minimum number of characters that you want people to be able to use, and then do something like this: $input = preg_replace("/[^a-zA-Z ]+/", "", $_POST["input"]); What that does is deletes anything that is not lowercase letters, uppercase letters, or spaces. Relevant xkcd: https://xkcd.com/327/ -
Php Is There Any Way To Convert From \\r\\n To \r\n
Krydos replied to ridoy's topic in Website Management and Coding
# is a linux root command prompt (not that you need root privileges to do this, I just happen to be using root right now), and those are commands on the prompt. cat is a command that prints the contents of files to the console. sed is a nifty little command that uses regex to change ouput, in this case a file. -
Php Is There Any Way To Convert From \\r\\n To \r\n
Krydos replied to ridoy's topic in Website Management and Coding
# cat lineendings.txt text\\r\\n this doesn't look right\\r\\n # sed -i 's/\\\\r\\\\n/\\r\\n/g' lineendings.txt # cat lineendings.txt text\r\n this doesn't look right\r\n # The -i flag means "in place" so it overwrites the original file. The comical number of slashes (and backslahes) is because you need to escape each \ in regex. -
The django wiki page http://wiki.helionet.org/Django has an example of two static resources directories: media and admin_media. RewriteEngine On RewriteBase / RewriteRule ^(media/.*)$ - [L] RewriteRule ^(admin_media/.*)$ - [L] RewriteRule ^(hello/dispatch\.wsgi/.*)$ - [L] RewriteRule ^(.*)$ hello/hello/dispatch.wsgi/$1 [QSA,PT,L] The [L] means last so when that rule is matched it stop going down the line. Since it stops before it forces everything to be processed through dispatch.wsgi it is served statically. Likewise if your request already has dispatch.wsgi in it it doesn't tack another dispatch.wsgi on there. Finally everything else is forced to go through dispatch.wsgi. To add another static directory just copy the media or admin_media line and replace it with the name of your directory.
-
Did you add the projects directory to the .htaccess file to prevent it from processing it through dispatch.wsgi?
-
Example url?
-
Https versus http shouldn't affect django in the slightest. Most likely you have conflicting .htaccess resulting in an infinite loop like I told you somewhere else on the forums.
-
Does this work better for you? https://www.helionet.org/index/topic/27585-django-on-tommy/?p=126077
-
[Solved] Oparachr Suspended
Krydos replied to chibuik.opara's topic in Suspended and Queued Accounts
Your account is not suspended. If you're seeing the suspended page please clear your cache.