The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Ruby and load server

Discussion in 'General Discussion' started by webstyler, Nov 3, 2008.

  1. webstyler

    webstyler Well-Known Member

    Joined:
    Nov 20, 2003
    Messages:
    432
    Likes Received:
    0
    Trophy Points:
    16
    Hello

    We have a customer that have a dedicated with 1 account

    This site have really low traffic and use Ruby

    The load average server is ever over 1 .. ever

    I see:

    Pid Owner Priority Cpu % Mem % Command
    16573 customersite 0 262 0.7 /usr/bin/ruby /usr/bin/rails .

    ..

    Also when there is traffic 0 the load is over 1 .. why ??

    Thanks
     
  2. sirotex

    sirotex Well-Known Member

    Joined:
    Jul 10, 2008
    Messages:
    121
    Likes Received:
    0
    Trophy Points:
    16
    Hello,

    It is probably a poorly coded script.

    I've had a few customers who have ran poorly coded scripts and have used heaps of CPU %
     
  3. webstyler

    webstyler Well-Known Member

    Joined:
    Nov 20, 2003
    Messages:
    432
    Likes Received:
    0
    Trophy Points:
    16

    hello

    Uhm.. seems there are procedure and function that run also when there aren't visitor on the site.. possible with ruby ??
     
Loading...

Share This Page