-
Posts
24,867 -
Joined
-
Last visited
-
Days Won
886
Everything posted by Krydos
-
Could you put your 6M test .sql file in your home directory on Ricky so I can use it to test mysql? Here is a benchmark on Ricky simulating 50 users connecting simultaneously and doing some inserts/selects/etc Benchmark Average number of seconds to run all queries: 0.271 seconds Minimum number of seconds to run all queries: 0.182 seconds Maximum number of seconds to run all queries: 0.375 seconds Number of clients running queries: 50 Here is the identical benchmark with the same queries/data on Tommy Benchmark Average number of seconds to run all queries: 0.150 seconds Minimum number of seconds to run all queries: 0.073 seconds Maximum number of seconds to run all queries: 0.291 seconds Number of clients running queries: 50 Obviously, Tommy is better, but I don't think Ricky is performing too badly...
-
If you had read the link I posted there is an example of setting the from header: <?php $to = "somebody@example.com"; $subject = "My subject"; $txt = "Hello world!"; $headers = "From: webmaster@example.com" . "\r\n" . "CC: somebodyelse@example.com"; mail($to,$subject,$txt,$headers);
-
I just blocked them in the firewall. I did not check what they were connected to.
-
Yeah, it looks like I got it fixed. If anyone is curious 54.183.177.45 and 54.183.43.24 had like 6,000 open connections to Ricky. He's actually quite a trooper to have performed as well as he was with that many open connections.
-
There you go http://mo2017ad.heliohost.org/ This new archival process is fairly new so let us know if you encounter any bugs or anything strange.
-
http://terhaarb.heliohost.org/cgi-bin/python_firstrun.py The only thing that was wrong is I changed the permissions from 777 to 755.
-
The domain rechn.io should now be available to add to your new account. If you have any trouble adding it let me know your username.
-
Your site loads fine for me. What makes you think it's suspended?
-
What shebang are you using?
-
https://www.w3schools.com/php/func_mail_mail.asp
-
The domain helia.heliohost.org is available to create a new account, and your email address is freed up. You'll need to use a different username though. Let us know if you have any problems creating your new account.
-
Deployed. http://gagrwl.heliohost.org/web/
-
Your account has been unarchived and you should now be able to log in at https://www.heliohost.org/login/ Let us know if you're unable to log in. Your website should be active again within a few hours. To prevent this from happening in the future just remember to log in at least once every 30 days otherwise your account is flagged as inactive.
-
Well, the best free subdomain is yourname.heliohost.org because we don't play any games and we won't randomly steal your domain from you and hold it ransom like freenom does. If you don't mind them possibly stealing your domain and putting malware ads on it and demanding you pay them $20 to get it back then check out http://freenom.com/ You can register .tk and .ga and .ml and .cf and .gq domains there. They are such scammers though. If you want to spend a little bit of money, which I recommend, check out https://www.namecheap.com/?aff=102467 You can get a ton of TLD's for only 88 cents per year. .website and .site and .space and .press and .us and .bid and .trade and .accountant and .faith and .win and .download etc etc. Make sure you use our affiliate link https://www.namecheap.com/?aff=102467 if you do end up buying a domain so we get some money from it too. Thanks!
-
I Can't Create Directory Or File Using Jsp Script.
Krydos replied to vaninf's topic in Customer Service
The user that Tomcat runs as doesn't have permission to create directories for security because this is a shared host. Just create your folder manually, or create it with PHP. PHP is allowed to create directories because it runs as SuPHP which means it runs with the same permissions as your main user account. There is no such thing as SuJSP so Tomcat has to run all users with the same tomcat user with the same permissions. -
See http://www.helionet.org/index/topic/28406-my-cron-job-doesnt-work/?p=129898
-
I talked to him on IRC chat and his command was /home/deep958/public_html/cron.php which doesn't do anything because it needs to be something like php /home/deep958/public_html/cron.php
-
Multiple Update Simultaneously On A Single Cell
Krydos replied to deep958's topic in Website Management and Coding
That shouldn't really be possible while using sql strictly. If two mysql queries happen simultaneously the mysql server will pick one, and execute it first and the second one that happened at exactly the same time will have to wait a millisecond or two queued up to go next. However, if your code is to blame then it could be possible: $con = new mysqli($db_host, $db_user, $db_pass, $db_data); $sql = "select views from video_table where id = '$video'"; $result = $con->query($sql); $row = $result->fetch_assoc(); $views = $row['views']; $views++; // here is where another process could check the viewcount and get the same value $sql = "update video_table set views = '$views' where id = '$video'"; $con->query($sql); So, with that code several php processes could query for the current value, and get the same number, say 50, and all increment it in the php and put 51 back in the database. If you use wolstech SQL query above then you shouldn't lose data. -
What is the error message?
-
You can prevent your account from becoming inactive by logging in at https://www.heliohost.org/login/ at least once every 30 days.
-
Let us know if you would like any links to sources. Anyone is able to create the article and anyone can edit it. https://en.wikipedia.org/w/index.php?title=HelioHost&action=edit&redlink=1
-
We have a 728x90 banner for you to use on your site if you want. It looks like this: Just put this code on your page so we can see how many people view the banner and how many clicks it gets: <ins data-revive-zoneid="1" data-revive-id="321e1cec4956204a54bd86da12deea5b"></ins><script async src="//krydos.heliohost.org/a/www/delivery/asyncjs.php"></script> Let us know if there is a certain size banner that would work better for you and we can create one for you.
-
What kind of bitcoin wallet would you suggest?
-
Yay!