Search results

  1. M

    Just a question regarding wrapper script and cPanel

    You can rewrite the script in Perl. no problem. Call the original script should work fine was well. I prefer this as the wrapper script does not need to be updated even when cPanel script updated.
  2. M

    php 5 config tuning

    if the requests/second drops to very low number or zero occasionally, you probably need to optimize your SQL or MySQL, MySQL is blocking PHP. Adding more PHP process may not help the performance. "Running short of concurrent connections" means that you need to increase server maxConnections...
  3. M

    Just a question regarding wrapper script and cPanel

    I think we will change the restartsrv_httpd script to able restart both Apache and lsws by test which web server is running. for testing LSWS, just use kill -0 /tmp/lshttpd/lshttpd.pid if [ $? -eq 0 ]; then service lsws restart fi kill -0 <apache httpd.pid> if [ $? -eq 0 ]; then Original...
  4. M

    503 Service Unavilable After with to 3.3.10 , lsphp5 Fresh Installation

    did already. strace lsphp5 process to find out why, maybe the process crashed, or missing a required PHP module.
  5. M

    php 5 config tuning

    It does not really matter much.
  6. M

    entries in error_log

    seems 4.0b1 still has a bug with request rate throttling, do not use it in production yet.
  7. M

    Stray rails processes

    Please try our ruby-lsapi 3.2 release which using non-blocking listener socket, ruby process will not be blocked at accept() call any more.
  8. M

    entries in error_log

    Yeah, 4.0 beta 1 package has been updated as well.
  9. M

    php 5 config tuning

    Your LSAPI configurations are over tuned. Try the following LSAPI maxconns=150, PHP_LSAPI_MAX_REQUESTS=2000, PHP_LSAPI_CHILDREN=150, persistConn=1, pcKeepAliveTimeout=N/A, backlog=100, instances=1 if the "WaitQ" for the lsphp external app in the real time status report is constantly non-zero...
  10. M

    503 Service Unavilable After with to 3.3.10 , lsphp5 Fresh Installation

    I think this email is sent by lfd, 100 MB probably is a configuration for lfd script.
  11. M

    Just a question regarding wrapper script and cPanel

    I'd rather not doing that, instead, change the restartsrv_httpd to use "lswsctrl restart" is a better solution to me.
  12. M

    entries in error_log

    Please update to the latest 3.3.10 release package uploaded today, there might be a problem with request rate throttling.
  13. M

    503 Service Unavilable After with to 3.3.10 , lsphp5 Fresh Installation

    Memory soft/hard limit for lsphp5 external app. I am not sure it is limited by the system or not though. Also need to check why it use more than 100MB for a joomla site, allocate too much memory for opcode cache or something else.
  14. M

    503 Service Unavilable After with to 3.3.10 , lsphp5 Fresh Installation

    enabled suEXEC, and strace lsphp5 process to find out why, maybe the process crashed, or missing a required PHP module.
  15. M

    Setting up stats on a Load Balanced cluster?

    It looks pretty nice, looks more powerful than awstats.
  16. M

    Setting up stats on a Load Balanced cluster?

    I think either way should work. You probably need to manually setup awstats instead of using integrated awstats solution in LSWS. You can try writing access log to the same location on your storage server from two web servers, it might work. we have never tried that before.
  17. M

    3.3.10 installation

    I guess you have been playing with the chroot option, it will not work properly with cPanel. Forget it.
  18. M

    3.3.10 installation

    Please PM me a temp root login, I will take a look when I get a chance.
  19. M

    MySQL error after installing

    rebuild lsphp binary on your server or change 'mysql_socket' configuration in your php.ini
  20. M

    PHP mail problem

    http://www.postfix.org/faq.html#whoami change sendmail_path to /usr/sbin/sendmail -f user@domain -t -i should fix you problem.
Top