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!

memory allocating

Discussion in 'Security' started by scrotaye, Dec 3, 2005.

  1. scrotaye

    scrotaye Registered

    Joined:
    Nov 28, 2005
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    151
    I have my own server with cPanel installed as the control panel. I made myself an account (which is and will be the only account on there). Do I automatically get 100% usage of all the memory, or does cpanel do some sneaky thing where it divides up memory or something like that?

    noobish question, I know :-p
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    Linux and unix in general, doesn't allocate memory in such a manner. The resources on the server are at the disposal of any processes that run on it. That said, you can limit some of the resources that can be used. For example, if you set a disk quota on an account, that will limit the disk resources in terms of space available to a given account. Memory reosurces can be limited if you enable WHM > Shell fork/bomb protection, which attempts prevent non-root processes from consuming all resources should the process go into an infinite loop. Apache can also be tweaked to limit the resources (CPU and memory) that a given child process can use before it dies.

    However, in general, any account can use any amount of resources on a server unless deliberately restricted in doing so.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

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