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.

How high do You usually set memory limit ?

Discussion in 'CloudLinux' started by bejbi, Nov 20, 2012.

  1. bejbi

    bejbi Well-Known Member

    Joined:
    Jan 20, 2006
    Messages:
    75
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Czestochowa, Poland
    cPanel Access Level:
    DataCenter Provider
    What memory limit do You set in LVE ?

    In my observation:

    I have one customer which has about 800 unique visitor per day. Website is based on joomla 1.5

    He has about 9-10 php processes, and each of them has memory usage:

    30 MB real memory, and 440 virtual memory

    So the sum of virtual memory is ~4GB !!

    The standard limit of LVE z cPanel is 1GB of virtual memory ... How high do You raise memory limit on Your hosting ?
     
  2. iseletsk

    iseletsk Well-Known Member

    Joined:
    Mar 3, 2010
    Messages:
    163
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Princeton, New Jersey, United States
    On CL6 -- you should really use just physical memory and disable vitual memory at all (by setting it to 0). As soon as we push the new CL5 kernel with physical memory support, we will make it default.
     
  3. tiff2342

    tiff2342 Well-Known Member

    Joined:
    Apr 20, 2012
    Messages:
    140
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    whats the dif between physical and virtual and why disable virtual?
     
  4. iseletsk

    iseletsk Well-Known Member

    Joined:
    Mar 3, 2010
    Messages:
    163
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Princeton, New Jersey, United States
    Physical memory corresponds to RES column in top. Virtual memory -- corresponds to VIRT column.
    Per top man page:
    VIRT -- Virtual Image (kb)
    The total amount of virtual memory used by the task. It
    includes all code, data and shared libraries plus pages that
    have been swapped out and pages that have been mapped but not
    used.

    RES -- Resident size (kb)
    The non-swapped physical memory a task has used.

    I don't know how to explain what virtual memory is in non-technical terms. Here is the pretty good technical explanation: Solaris Troubleshooting and Performance Tuning.

    Physical memory on the other hand is the most reasonable way to account for actual memory used.
     
  5. sahostking

    sahostking Well-Known Member

    Joined:
    May 15, 2012
    Messages:
    300
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Cape Town, South Africa
    cPanel Access Level:
    Root Administrator
    Limit memory via LVE as needed. But also ensure you set the PHP memory limit as required to a decent level.
     
Loading...
Similar Threads - high usually set
  1. 4u123
    Replies:
    1
    Views:
    1,997

Share This Page