Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 19
  1. #1
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

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

    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. #2
    Registered User
    Join Date
    Sep 2010
    Posts
    2

    Default server load troubleshoot using sysstat

    Quote Originally Posted by daniel_onnet View Post
    how do one make use of "sar" or "iostat" command, or sysstat utility in general, for debugging server load on a cPanel server.

    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!
    Last edited by cPanelJamyn; 09-15-2010 at 11:20 AM. Reason: Replying to the question.

  3. #3
    Member
    Join Date
    Jan 2009
    Posts
    16

    Default Os

    Quote Originally Posted by free-admin View Post
    What is the best OS for WHM (Linux or freebsd)?
    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. #4
    Member
    Join Date
    Dec 2006
    Location
    Istanbul / TURKEY
    Posts
    43
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    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. #5
    BWS
    BWS is offline
    Member
    Join Date
    Nov 2003
    Posts
    36

    Default

    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. #6
    Member
    Join Date
    Apr 2007
    Posts
    47

    Default

    Regarding a high WA, would spread accounts on additional disk reduce the server load?

  7. #7
    Member
    Join Date
    Sep 2005
    Posts
    5

    Default 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?
    Last edited by agudiel; 09-15-2010 at 10:15 AM.
    Alejandro Gudiel

  8. #8
    Member
    Join Date
    Sep 2005
    Posts
    5

    Default

    Quote Originally Posted by Datcrack View Post
    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.
    I would suggest checking this on WHM:
    Main >> Service Configuration >> PHP Configuration Editor
    - max_execution_time and memory_limit
    Alejandro Gudiel

  9. #9
    Member
    Join Date
    May 2006
    Posts
    271
    cPanel/Enkompass Access Level

    Root Administrator

    Default 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. #10
    cPanel Staff mario-cPanel's Avatar
    Join Date
    Oct 2007
    Location
    Houston, Texas, United States
    Posts
    68
    cPanel/Enkompass Access Level

    Website Owner

    Default 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.
    Mario Rodriguez
    cPanel.net
    Strategic Partner Manager
    mario@cPanel.net
    415-894-5882 / aim: cpanelmario

  11. #11
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by Datcrack View Post
    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.
    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. #12
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by BWS View Post
    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?
    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. #13
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by Alejandro P View Post
    Regarding a high WA, would spread accounts on additional disk reduce the server load?
    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. #14
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by agudiel View Post
    Is there a way to create a limited CPanel user, with access only to email and ftp accounts but not to databases and content?
    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. #15
    Registered User
    Join Date
    Sep 2010
    Posts
    2

    Default

    Quote Originally Posted by daniel_onnet View Post
    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!
    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.

Similar Threads & Tags
Similar threads

  1. Replies: 0
    Last Post: 12-15-2010, 09:40 AM
  2. cPanel Plans Webinar Series
    By cPanelDavidG in forum cPanel Announcements
    Replies: 0
    Last Post: 03-04-2010, 02:41 PM
  3. cPanel Plans Webinar Series
    By cPanelDavidG in forum cPanel Announcements
    Replies: 0
    Last Post: 03-04-2010, 02:41 PM
  4. cPanel Essentials
    By php4ever in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 09-06-2006, 11:30 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube