Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Accounting.php.inc CPU Useage?

Discussion in 'General Discussion' started by Twirp, Feb 19, 2006.

  1. Twirp

    Twirp Registered

    Joined:
    Dec 23, 2005
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    151
    I was using Accounting.php.inc today,
    and when the script ran to create an account, the server usage shot up for a minute...
    The part of the code is simply:
    Code:
    $info = createacct($host,$wuser,$hash,0,$domain,$username,$password,$plan);
    echo str_replace("\n","<br />",$info);
    
    the other part just get's the variables.
    So I was kindof confused...
    Is it because I might have an old Accounting.php.inc or something?
     
  2. webignition

    webignition Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    1,880
    Likes Received:
    0
    Trophy Points:
    166
    Accounting.php.inc is just a PHP script - it won't use much resources.

    However the createacct function will call server-side functions so as to create an account - it's not impossible that this will spike the load just a little.

    Do you notice any load spike when creating an account through WHM? If you do, you're probably going to find the same when using the createacct function as it basically does the same thing.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice