Just don't ask what inspired it :lol:
Printable View
Just don't ask what inspired it :lol:
That's what I hope ... not just free hosts, all servers have no good reason to exceed their resource limits, often when servers are under too much pressure more goes wrong than meets the eye ( disk read/write errors eventually break equipment ). Everyone knows, a computer, any computer, has a limit and you should enforce it, if your load average is too high then you should simply stop serving requests untill it goes down, it's only fair to all your users to do so ... and now you can ....
Agreed. Nice contribution!
Dropped in on 8 servers -- guess we can see real fast how well it works :P
I have also installed it on spacesocket.com it's working well there :)
Something I forgot to mention, don't change redirect for a php page, because you will cause an infinite loop of redirection, make it an image like decker or a static html page like http://spacesocket.com/loadavg.html
After i've installed ASP.NET on this CentOS Server I'll get busy with this.
That doesn't work so well johnny, decker has that installed and I messed with it a little, it's not really usable for full on applications and in my opinion is a huge waste of resources in itself. Mono is a great project, but the facts are that asp.net/C# is closed source so they'll never be able to emulate it properly .... probably in a few years time they will have studied it so much that it will be usable, but right now, not so much .... if you wanna learn/offer asp.net hosting, then get a windows box ( it shames me to say ) ....
OK, well I installed mono, but to get the ASP installed it was some other things stringed onto it. They reported dependencies which reported the dependencies of which I'm trying to install if your with me :P
I'll get onto your project now.
I've installed it now, i've added it in the php.ini but I don't know if it's loaded.
Check PHP Version here:
http://kwix-host.com/status/index.php?action=phpinfo
PS. When you add new extensions to php.ini you have to httpd restartPHP Code:<?php
echo "<pre>";
print_r( get_loaded_extensions( ) );
echo "</pre>";
?>
I did, just forgot to mention it in my post ;)
http://kwix-host.com/cpaddon/extensions.php
It doesn't look to be there, I posted exactly what you said to add to your php ini. Would it be a different path though.
show me the output from the make and make install command .... and also, try ...
PHP Code:<?php
dl("loadavg.so");
echo "<pre>";
print_r( get_loaded_extensions( ) );
echo "</pre>";
?>
http://kwix-host.com/cpaddon/extensions.php
Got an error.
I haven't got the make and make install logs, but they did install fine without no errors.
pm me with an ftp login for that server so I can have a look please ... the only thing I can think of is that you have put a ; infront of the extension line by accident ...
With Joe on this one Jonny, he has a 'privilaged spot' on a server and adding mono sent resouce usage up by about 1% on one CPU with no activity on it, not a problem as it's a well heavy resourced server to start with.
It is a great project but a PITA, and I'm confused as to why you should have to make any changes other than the standard install?
Honestly get a window box (get it Windows Box :D ) asp/net is MS orientated so far, I'm bloody impressed at Joe getting anything to work under it on a *nix box to be honest :)
Still no luck with loadavg johnny ?? 10 people installed it in the last 24 hours so I know it's not the code ... it even compiles for php6 ( that's what I tested it with ) ...