Litespeed + cPanel + Cloudlinux

Discussion in 'General' started by DataOne, Mar 13, 2010.

  1. DanEZPZ

    DanEZPZ New Member

    I'll give it a try but the tests we conducted were with Apache and haven't yet switched to Litespeed.
  2. iseletsk

    iseletsk New Member

    Sorry, that wasn't meant to say that user killed the server due to that. As you said before -- user just hit the IO. We cannot stop that yet.
  3. mistwang

    mistwang LiteSpeed Staff

    Please download 4.0.14 package again, it has been updated with fix to this issue.
  4. iseletsk

    iseletsk New Member

    Is everyone happy how LiteSpeed works with CloudLinux now? Any feedback?
  5. gigapros

    gigapros New Member

    [Resolved] CloudLinux Installation Problem

    Hello iseletsk,

    I am facing an issue with running CloudLinux. I already have a server running CentOS + CPanel + LiteSpeed. Then I converted CentOS to CL using the process as shown in section Switch From CentOS to CloudLinux today at -- <http:>cloudlinux.com/downloads/index.php

    However, after following the 3 steps as shown in the above link, the command "lveps" does NOT work and gives error "-bash: lveps: command not found". Aby idea what am I doing wrong?
    Last edited by a moderator: Jun 8, 2010
  6. iseletsk

    iseletsk New Member

    Did you get any errors while running centos2cl?
    when you do uname -a: do you see cloudlinux kernel?
    what is the result of rpm -qa|grep lve?
  7. iseletsk

    iseletsk New Member

  8. gigapros

    gigapros New Member

    Thanks iseletsk, for your fast response. Let me contact you right away at your cloudlinux.com mailbox. Once this gets resolved, I will post the resolution here.
  9. gigapros

    gigapros New Member

    My issue have been resolved. Thanks a LOT to "iseletsk" for his AWESOME help.
    To resolve my problem, the following was done...

    1) Edit file: /etc/yum.conf
    2) Append this line to the above file: plugins=1

    After that, the normal setup process just worked fine. Thanks again to "iseletsk". :)
  10. QuantumNet

    QuantumNet New Member



    They say that Disk IO protection will be in future versions of Cloudlinux
  11. gigapros

    gigapros New Member

    Until this gets implemented, a simple workaround will be to use "ionice" to de-prioritize the high IO processes. Run a cronjob every 1-minute to detect high IO process and apply ionice to them. Just my 2 cents. :rolleyes:
  12. cmanns

    cmanns New Member

    Hi does your CL have any benefit besides resource control?

    We have client who has php processes that max out all cores time to time, how would ths be controled?
  13. DanEZPZ

    DanEZPZ New Member

    Make yourself some extra money and upgrade them to a dedi? Tell them to fix their code?
  14. cmanns

    cmanns New Member

    Well enabling PHP caching again solved it mostly and limiting php processes. Wordpress eats a lot

    We only use litespeed due to better memory management I honestly don't feel quicker page loads, bout same as apache under load before it'd hang up. However the loads are smooth, no matter what the req/sec it's solid and from the munin graph it looks rock solid so I'm beginning to find LiteSpeed worth the cost already.

    Enabling PHP caching again stopped the high cpu loads randomly (PHP proc's of wordpress love to just spike to 60/90 even 99/101%) so if some client's get a burst and their blog is running like crap :rolleyes:

    XCache knocked the CPU usage down amazingly :D, didn't eralize how much benefit it was since I've used it for 3 years straight, our box would just swap though so obviously LiteSpeed does somthing right with PHP :cool:
    Last edited: Jun 13, 2010
  15. cmanns

    cmanns New Member

    What I also mean is any site like wordpress etc can spike up a good ammount of CPU usage, getting it limited would be nice, I only want people able to use 150% in total from PHP for example, that'll stretch our 4 cores further, then when we pop another cpu in even further.
  16. iseletsk

    iseletsk New Member

    This is exactly what we are controlling when we say that we control resources.
    We will not allow client's PHP processes to use more CPU resources that you set the limit too. As the result, he will not be able to affect any of your other clients.
    This is also the reason we started with CPU/entry processes -- this limits are the most commonly bridged in shared hosting.
  17. optize

    optize New Member

    [fixed]

    It seems Litespeed now has the ability to turn on/off CL. I turned mine 'on' in the admin panel, but it doesn't seem to be working.

    Has anyone had any issues with 4.0.16 Litespeed and CL?
    Last edited by a moderator: Aug 14, 2010
  18. mistwang

    mistwang LiteSpeed Staff

    Try a force reinstall to make sure using the latest build. there are LVE related log entries in stderr.log, you need to enable PHP suEXEC.
  19. optize

    optize New Member

    I installed it today, nothing in stderr.log for lve
  20. mistwang

    mistwang LiteSpeed Staff

    Every time you start LSWS, there should be a LVE log entry in stderr.log

    check pid of lscgid,
    lsof -p <pid_of_lscgid>

    it should list liblve library and /dev/lve there.

Share This Page