Luigi123 Posted July 29, 2017 Author Posted July 29, 2017 A cron executes https://edge-gamers.heliohost.org/scripts/script-for-sourcebans.php every 5 minutes now.How can I add a cron for every 5 mins to make the script running?
wolstech Posted July 29, 2017 Posted July 29, 2017 He added it for you. It's external, so you won't see it in cpanel. You don't need to do anything.
Luigi123 Posted July 29, 2017 Author Posted July 29, 2017 Alright. Let me try to restart all of my Game Servers and see if I'm able to join again.
Luigi123 Posted July 29, 2017 Author Posted July 29, 2017 I still can't join the server because of the max_user_connections for luigi123_sb.
Krydos Posted July 30, 2017 Posted July 30, 2017 That probably means that your software requires more than four simultaneously open persistent connections. That is some spectacularly poorly written code you've got there. Can you access the source or is this all compiled binaries?
Luigi123 Posted July 30, 2017 Author Posted July 30, 2017 I can only access the files, but not the source.
Krydos Posted July 31, 2017 Posted July 31, 2017 Convince the author to rewrite his software.Rewrite the software yourself.Switch to better written software that does the same thing.Write your own software that does the same thing.Host the mysql database somewhere where you can have 150 persistent connections.
Luigi123 Posted July 31, 2017 Author Posted July 31, 2017 Is there any free web hosting that has 150 persistent connections?
wolstech Posted August 1, 2017 Posted August 1, 2017 Probably not, seeing that needing that many is absurd. Even most paid hosts have such limits (I manage a site for a client on a paid host, their limit is 2 [!!!]). You'd probably need to run your own mysql server just for that software. You should find replacement software, not a replacement web host. For what it's worth, any software requiring this ridiculous amount of persistent connections is almost certainly terribly written junk that should be fixed or replaced. Can't you just run the game server without this software (it appears to be an extension of some sort)? I'm sure there are hosts without this limit, but nearly all free hosts are going to have this problem, and I've never used a paid one in this capacity, so I can't recommend such a service that will meet these requirements.
Krydos Posted August 1, 2017 Posted August 1, 2017 You could also just buy a VPS and run your own mysql server, or maybe have a computer at home that runs constantly with mysql on it too. Really the only way you're going to get 150 simultaneous persistent connections is if you run the mysql server yourself.
Recommended Posts