Page 2 of 4 FirstFirst 1234 LastLast
Results 16 to 30 of 52

Thread: For decker ( and anyone else with massive resource usages soley because of one user )

  1. #16
    Officially Old! Decker's Avatar
    Join Date
    Dec 2003
    Location
    West Yorkshire, Englandshire
    Posts
    10,157
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Just don't ask what inspired it
    /\__/\ We Do Not Forgive!
    (- o *) We Do Not Forget!
    (")_(") Expect Us!
    IT Help for everyone @ Scotia-IT.com - when it's finished

  2. #17
    stop staring krakjoe's Avatar
    Join Date
    May 2006
    Location
    UK
    Posts
    3,619
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Jonny` View Post
    That could really come into play for people like us, running free hosts. Cheers Joe once again.
    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 ....
    (\__/) Joe Watkins
    (='.'=) Software Architect
    (")_(") http://pthreads.org
    Copy and paste bunny into your sig, help him gain world domination.

  3. #18
    ServerOrigin.Com serverorigin's Avatar
    Join Date
    Jun 2006
    Location
    Oxford, MS
    Posts
    1,158
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Agreed. Nice contribution!

    Dropped in on 8 servers -- guess we can see real fast how well it works
    Last edited by serverorigin; November 16th, 2007 at 00:58.
    • ServerOrigin.Com • ethProxy™ DDoS Mitigation • Protect your current server in minutes! •
    [Intrusion Detection • CDN • DDoS Protected VPS • DDoS Cloud Hosting • 99.99% SLA • AnyCast IP Services]
    [Enterprise-Class DDoS Protection • Automated Datacenter Failover • Serving more than 1 million domains!]

  4. #19
    stop staring krakjoe's Avatar
    Join Date
    May 2006
    Location
    UK
    Posts
    3,619
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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
    (\__/) Joe Watkins
    (='.'=) Software Architect
    (")_(") http://pthreads.org
    Copy and paste bunny into your sig, help him gain world domination.

  5. #20
    The Hosting Tool JonnyH's Avatar
    Join Date
    Oct 2006
    Location
    UK
    Posts
    2,616
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    After i've installed ASP.NET on this CentOS Server I'll get busy with this.
    ~ The Hosting Tool ~ cPanel WHM/DA Support! cP Creator Importer! Post 2 Host! Fully Automated! ~ thehostingtool.com

  6. #21
    stop staring krakjoe's Avatar
    Join Date
    May 2006
    Location
    UK
    Posts
    3,619
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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 ) ....
    (\__/) Joe Watkins
    (='.'=) Software Architect
    (")_(") http://pthreads.org
    Copy and paste bunny into your sig, help him gain world domination.

  7. #22
    The Hosting Tool JonnyH's Avatar
    Join Date
    Oct 2006
    Location
    UK
    Posts
    2,616
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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
    I'll get onto your project now.
    ~ The Hosting Tool ~ cPanel WHM/DA Support! cP Creator Importer! Post 2 Host! Fully Automated! ~ thehostingtool.com

  8. #23
    The Hosting Tool JonnyH's Avatar
    Join Date
    Oct 2006
    Location
    UK
    Posts
    2,616
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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
    ~ The Hosting Tool ~ cPanel WHM/DA Support! cP Creator Importer! Post 2 Host! Fully Automated! ~ thehostingtool.com

  9. #24
    stop staring krakjoe's Avatar
    Join Date
    May 2006
    Location
    UK
    Posts
    3,619
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    PHP Code:
    <?php
    echo "<pre>";
    print_rget_loaded_extensions( ) );
    echo 
    "</pre>";
    ?>
    PS. When you add new extensions to php.ini you have to httpd restart
    Last edited by krakjoe; November 17th, 2007 at 03:40.
    (\__/) Joe Watkins
    (='.'=) Software Architect
    (")_(") http://pthreads.org
    Copy and paste bunny into your sig, help him gain world domination.

  10. #25
    The Hosting Tool JonnyH's Avatar
    Join Date
    Oct 2006
    Location
    UK
    Posts
    2,616
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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.
    ~ The Hosting Tool ~ cPanel WHM/DA Support! cP Creator Importer! Post 2 Host! Fully Automated! ~ thehostingtool.com

  11. #26
    stop staring krakjoe's Avatar
    Join Date
    May 2006
    Location
    UK
    Posts
    3,619
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    show me the output from the make and make install command .... and also, try ...

    PHP Code:
    <?php
    dl
    ("loadavg.so");
    echo 
    "<pre>";
    print_rget_loaded_extensions( ) );
    echo 
    "</pre>";
    ?>
    (\__/) Joe Watkins
    (='.'=) Software Architect
    (")_(") http://pthreads.org
    Copy and paste bunny into your sig, help him gain world domination.

  12. #27
    The Hosting Tool JonnyH's Avatar
    Join Date
    Oct 2006
    Location
    UK
    Posts
    2,616
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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.
    ~ The Hosting Tool ~ cPanel WHM/DA Support! cP Creator Importer! Post 2 Host! Fully Automated! ~ thehostingtool.com

  13. #28
    stop staring krakjoe's Avatar
    Join Date
    May 2006
    Location
    UK
    Posts
    3,619
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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 ...
    (\__/) Joe Watkins
    (='.'=) Software Architect
    (")_(") http://pthreads.org
    Copy and paste bunny into your sig, help him gain world domination.

  14. #29
    Officially Old! Decker's Avatar
    Join Date
    Dec 2003
    Location
    West Yorkshire, Englandshire
    Posts
    10,157
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    With Joe on this one Jonny, he has a 'privilaged spot' on a server and adding mono sent resouce usage up by about 1&#37; 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 ) 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
    /\__/\ We Do Not Forgive!
    (- o *) We Do Not Forget!
    (")_(") Expect Us!
    IT Help for everyone @ Scotia-IT.com - when it's finished

  15. #30
    stop staring krakjoe's Avatar
    Join Date
    May 2006
    Location
    UK
    Posts
    3,619
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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 ) ...
    (\__/) Joe Watkins
    (='.'=) Software Architect
    (")_(") http://pthreads.org
    Copy and paste bunny into your sig, help him gain world domination.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •