Search results

  1. Z

    [Resolved] Cannot Start lsws

    Thanks mistwang. Actually, I managed to fix the problem. It was a corrupted license file. I replaced it with the one from last night backup and it's fine.
  2. Z

    [Resolved] Cannot Start lsws

    I'm unable to start LiteSpeed due to the following message. I should mention that LS is being hosted in a OpenVZ container. I'm not too concerned about the first message regarding /proc/irq. It's the following messages that worry me. LS crashed due to a disk space issue which has been...
  3. Z

    Litespeed Ubuntu

    executing "sudo /usr/local/lsws/bin/litespeed" doesn't reply with anything. I checked to see if it might have started a process, but nothing. It's very strange. I've never had any issues with litespeed installs under RHEL or CENTOS.
  4. Z

    Litespeed Ubuntu

    Same deal - below is the output. sudo /usr/local/lsws/bin/lswsctrl start /usr/local/lsws/bin/lswsctrl: 70: /usr/local/lsws/bin/lswsctrl: ./litespeed: not found [ERROR] Failed to start litespeed! litespeed: no process found /usr/local/lsws/bin/lswsctrl: 70...
  5. Z

    Litespeed Ubuntu

    Yes, working directory /usr/local/lsws/bin drwxr-xr-x 2 root root 4096 Jul 4 17:26 . drwxr-xr-x 15 root root 4096 Jul 4 17:02 .. lrwxrwxrwx 1 root root 13 Jul 4 17:26 httpd -> lscgid.4.1.13 lrwxrwxrwx 1 root root 7 Jul 4 17:26 litespeed -> lshttpd lrwxrwxrwx 1...
  6. Z

    Litespeed Ubuntu

    Do I need to do something special to get litespeed running on Ubuntu Server? When I attempt to start using "sudo ./lswsctrl start" I get the following error. ./lswsctrl: 70: ./lswsctrl: ./litespeed: not found [ERROR] Failed to start litespeed! Everything compiled fine and I'm not using a...
  7. Z

    503 Errors

    I seem to be getting lot's of 503 errors which requires me to restart the LiteSpeed webserver. I'm not sure why it's happening. At first I thought it might be a php memory leak, now I'm wondering if it's a configuration issue. Thoughts? Max Connections: 20 PHP_LSAPI_MAX_REQUESTS=60...
  8. Z

    Source Control

    Can anyone tell me if LiteSpeed supports mod_svn?
  9. Z

    Preventing Log Rotation

    In case some needs to know how to prevent the logs from rotating you do need to set "Keep Days" to "Not Set" and set the log size to something big ie: 1G
  10. Z

    Preventing Log Rotation

    I'm trying to prevent LiteSpeed from rotating the logs by setting the rolling size to 2G and the keep days to 0. The reason for preventing LiteSpeed from rotating the logs is to address a problem with awstats in LiteSpeed. Therefore, I'm running awstats as a cron job and use logrotate to...
  11. Z

    streaming flv video help

    espoon, I'll answer your question about using LSAPI in PHP. If you are running PHP and want to gain the max performance then I would recommend using the LiteSpeed LSAPI for PHP.
  12. Z

    Performance Tuning

    Yes there is a global setting at the Server level for the CPU Limits. However, the global settings (below) seem to be acceptable. CPU Soft Limit (sec): 300 CPU Hard Limit (sec): 600 Using a soft limit of 300 seconds of CPU time for an external application should be okay in my situation.
  13. Z

    Performance Tuning

    anewday, The Server Level settings for "External Application Resource" are as follows. CPU Soft Limit (sec): 300 CPU Hard Limit (sec): 600 Memory Soft Limit (bytes): 250M Memory Hard Limit (bytes): 300M Process Soft Limit: 400 Process Hard Limit: 450 I'm not sure if these values...
  14. Z

    Performance Tuning

    I'm trying to determine what would be a good configuration for a site getting on avg 12000 hits per day. I'm running on a VPS with 2GB memory with the LiteSpeed Enterprise version. Are the settings below acceptable? Max Connections: 500 PHP_LSAPI_MAX_REQUESTS=500 PHP_LSAPI_CHILDREN=50...
  15. Z

    Apache Style Configurations

    mistwang, You are correct! I completely missed the fact the $VH_ROOT contained the /www portion. Therefore the template would have been trying to create the file in directory /www/www which doesn't exist. Thanks for spotting it! It's amazing how something so simple can be easily missed.
  16. Z

    Apache Style Configurations

    mistwang, Same deal for the error_log. I created a test php file with a parse error which is displayed when I access the script. However. I don't get a php_errors.log file. Based on the following admin values it should have created the file. php_admin_value error_log...
  17. Z

    Apache Style Configurations

    mistwang, I'm using the variable at the vhost template level. The value for $VH_ROOT at the template level is /www/$VH_NAME. Then I have the following Apache Style Configurations for the VHOST template. php_admin_value open_basedir /usr/share/pear:/www/$VH_ROOT:/tmp php_admin_value...
  18. Z

    Apache Style Configurations

    mistwang, When I made the request I was running 3.3.15. Prior to the official release of 3.3.16 I was able to download 3.3.16 and upgrade. I was sure this version (3.3.16) was patched to allow $VH_ROOT var within the Apache Style Configuration.
  19. Z

    Apache Style Configurations

    Mistwang, I've tried all the way back to 3.3.16 when I first reported it. The following fails to work correctly. php_admin_value open_basedir /usr/share/pear:/www/$VH_ROOT:/tmp php_admin_value error_log /www/$VH_ROOT/logs/php_errors.log However, if I replace $VH_ROOT with $VH_NAME it seems...
  20. Z

    Apache Style Configurations

    Seems this ability got removed from 3.3.18. I can not longer use the variable $VH_ROOT in the Apache Style Configurations.
Top