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.

In-Depth Followup to the cPanel/WHM Admin Essentials 30-Minute Webinar

Discussion in 'cPanel Announcements' started by cPanelDavidG, Sep 13, 2010.

  1. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    We understand you may have questions that cannot be swiftly answered in just a minute during the Question and Answer session of the cPanel/WHM Admin Essentials 30-Minute Webinar. This forum thread is a venue where you can ask longer, more in-depth questions.
     
  2. daniel_onnet

    daniel_onnet Registered

    Joined:
    Sep 15, 2010
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    server load troubleshoot using sysstat


    If it's allright with you, I'll break this out into it's own thread and respond to this in a day or so; it's a pretty in-depth question (and a good one). Thanks!
     
    #2 daniel_onnet, Sep 15, 2010
    Last edited by a moderator: Sep 15, 2010
  3. free-admin

    free-admin Member

    Joined:
    Jan 16, 2009
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    Os

    The best OS for you to use is the one you are most comfortable with. If you're very familiar with FreeBSD, then by all means use that. If you're more familiar with Linux, then it's probably your best choice. With that said, Linux (CentOS/RedHat) seems to be the most popular platform with cPanel/WHM, so that may factor into your decision (the more people that run software with a particular configuration, the larger your peer support pool).
     
  4. Datcrack

    Datcrack Well-Known Member

    Joined:
    Dec 31, 2006
    Messages:
    47
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Istanbul / TURKEY
    cPanel Access Level:
    Root Administrator
    How can we limit PHP Memory usage. Some scripts create a loop and eat up servers memory which causes swap and eventually high server load.
     
  5. BWS

    BWS Active Member

    Joined:
    Nov 20, 2003
    Messages:
    42
    Likes Received:
    0
    Trophy Points:
    6
    I've had some in-depth discussions this week about using cloudlinux (cloudlinux.com) to limit resources on a per account basis (almost like a VPS but at a cPanel account level). Is this recommended or do you have any views on it?

    Specifically this would be to stop one users processes overloading the system?
     
  6. Alejandro P

    Alejandro P Well-Known Member

    Joined:
    Apr 6, 2007
    Messages:
    53
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Regarding a high WA, would spread accounts on additional disk reduce the server load?
     
  7. agudiel

    agudiel Member

    Joined:
    Sep 1, 2005
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    CPanel users

    Is there a way to create a limited CPanel user, with access only to email and ftp accounts but not to databases and content?
     
    #7 agudiel, Sep 15, 2010
    Last edited: Sep 15, 2010
  8. agudiel

    agudiel Member

    Joined:
    Sep 1, 2005
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    I would suggest checking this on WHM:
    Main >> Service Configuration >> PHP Configuration Editor
    - max_execution_time and memory_limit
     
  9. Metro2

    Metro2 Well-Known Member

    Joined:
    May 24, 2006
    Messages:
    376
    Likes Received:
    10
    Trophy Points:
    18
    Location:
    USA
    cPanel Access Level:
    Root Administrator
    IO Wait issues with user backups while WHM is running nightly backup

    In the webinar you mentioned I/O waits are one of the bigger issues in performance, and that's in the neighborhood of my question / concern.

    I have disabled (hidden) the Backup and Backup Wizard icons in all customer cPanels because of the fact that I have WHM set to run a nightly backup (to secondary hard drive in each server), and I'm concerned about users deciding to run their own Backup from cPanel at the same time that WHM nightly backups are already running from main disk to second disk.

    Obviously the nightly backup puts forth I/O load spike during that time all by itself, so the main question for me is:

    How safe is it to re-enable the Backup icons in cPanel for my customers, knowing that some of them with large accounts will tend to run their own Backup from cPanel at the same time while WHM is running it's nightly backups of their account at the same time?

    My secondary question to that would be; if I do enable to Backup icons and a large account user decides to run a full backup of their account while WHM is already in the process of backing up their account to the second drive, does WHM/cPanel already know how to intuitively balance that out or can that scenario cause a potential serious problem (in addition I/O "spike and crawl") , or is there a better way to avoid the clash between the two?

    I'm really sorry for the long question but I don't know how to put it into better words.

    Thanks for the Webinar this morning, greatly appreciated!
     
  10. Mario-cPanel

    Mario-cPanel Administrator
    Staff Member

    Joined:
    Oct 4, 2007
    Messages:
    72
    Likes Received:
    50
    Trophy Points:
    8
    Location:
    Houston, Texas, United States
    cPanel Access Level:
    Website Owner
    Keep the questions coming

    We appreciate all the questions that are coming in, we will also be posting the recording of the webinar along with presentation slides to the webinar section

    We will be working on getting through your questions asap, keep the questions coming in.
     
  11. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    PHP offers a means of limiting how much memory can be consumed via the memory_limit setting that can be accessed via WHM's PHP Configuration Editor (WHM -> Service Configuration -> PHP Configuration Editor). This is defaulted to 32M.
     
  12. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    At this time, we do not yet support CloudLinux (a CentOS-based distribution). You can view a list of supported distros at System Requirements - cPanel Inc. - as a result, we do not currently recommend CloudLinux. However, many of our customers do use CloudLinux, including its ability to limit a user's ability to consume server resources, successfully with cPanel/WHM.
     
  13. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    High WA essentially reflects that processes are waiting to use some Input/Output (IO) resource. Almost always on a web hosting server this will be the Hard Disk, the slowest IO resource on a contemporary server.

    There are scenarios where spreading accounts across multiple disks would reduce IO wait, and others where it would not. This is why analysis of the processes or scripts causing the high IO wait is important.

    For example, if there are many scripts reading a flat-file database contained within their home directory, then having multiple home mount points across multiple physical hard disks can reduce load caused by IO wait since you're essentially spreading the IO requests across multiple physical disks.

    However, if IO wait is being caused by reading data from a centralized resource like the Mailman archives on /usr or MySQL databases on /var, then having multiple home mount points does nothing to alleviate the situation since the IO wait is not being caused by anything reading from or writing to the home mount points.
     
  14. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    You can remove functionality of the cPanel interface from specific cPanel users by using Feature Manager. First, go to WHM -> Packages -> Feature Manager and create a new "Feature List." Then edit your Feature List, unchecking anything you do not want to offer (e.g. the MySQL icons). You can then apply this to an existing hosting package by editing it, or create a new hosting package and setting the "Feature List" setting for that package to be the Feature List you created. You would then assign this package to the cPanel user.

    The WHM interface does not provide a means of assigning a Feature List directly to a cPanel user, that is why the Feature List must be assigned to a Package, then a Package assigned to that user.
     
  15. daniel_onnet

    daniel_onnet Registered

    Joined:
    Sep 15, 2010
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    I am fine by it. Go ahead. However, please advice the new thread and where to find it in this forum as I am new here. Thanks.
     
  16. alankru

    alankru Member

    Joined:
    Jan 2, 2006
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Please could you tell me when the recording of this webinar will be available? I missed it unfortunately, but I really want to catch up on this topic.

    Thanks!
     
  17. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    You can watch the webinar via: http://go.cpanel.net/adminessentials
     
  18. agudiel

    agudiel Member

    Joined:
    Sep 1, 2005
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    I just found a BUG in this option. When I remove features like phpMyAdmin, the Icon for phpMyAdmin disapears from the account's C-Panel but if you know the path (3rdparty/phpMyAdmin/index.php) you can access it anyway. How can I make sure it's safe to use the features option to remove access to certain features for an account?

    Tnx.
     
  19. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Are there any features that do not have a path of 3rdparty/ (phpMyAdmin and phpPgAdmin have this) that you are able to reproduce this on?

    I have filed a report on 3rdparty/ since I was able to reproduce that issue, but not for cPanel features that do not rely on 3rd party apps.
     

Share This Page