Search results

  1. N

    [Resolved] lsphp: failed to map segment from shared object: Cannot allocate memory

    hmm ... 120M or so. how about "ulimit -a" ?
  2. N

    [Resolved] lsphp: failed to map segment from shared object: Cannot allocate memory

    lsphp itself has soft/hard limit: External App->lsphp5: Memory Soft Limit (bytes) Memory Hard Limit (bytes) increase these limit and see if it helps.
  3. N

    Litespeed Server Config Variables

    looks like only 3 variable available: SERVER_ROOT, VH_ROOT, VH_NAME can you be more specific on how you load balance web servers. will forward your question to other staff.
  4. N

    [self-solved]LSWS 4.0.17 and "hanging processes"

    I'd give a quick guess: xcache caused the problem. can you try disable xcache and see if the issue still exist.
  5. N

    [self-solved]LSWS 4.0.17 and "hanging processes"

    please check: lsof -p 9492
  6. N

    Variable containing document root

    assume php in suExec mode? since lsws 4.0.2: maybe just what you want.
  7. N

    [self-solved]LSWS 4.0.17 and "hanging processes"

    this is the problem ... most likely it's related to bug in php script. we can login your server to investigate, in case it really a bug of lsphp.
  8. N

    Litespeed Server Config Variables

    create a phpinfo() page, at the bottom, you can find all the server variables.
  9. N

    [self-solved]LSWS 4.0.17 and "hanging processes"

    what's result of pstree -p if lsphp5 process has no parent, then it's a runaway process, just kill it. you can strace the runaway process, what it is doing. a bug php script may cause dead lock and waiting for mutex etc forever.
  10. N

    Variable containing document root

    you can use php_flag php_admin_flag php_value php_admin_value to customize default system-wide php.ini for each virtual host. http://php.net/manual/en/configuration.changes.php this is a lsphp special feature, comparing with other php fastcgi implementation.
  11. N

    Regarding Apache & Performance

    how much memory of your VPS ? wordpress may need lsphp5. you are running lighttpd instead of apache ? if you only run your own wordpress, even no need to install kloxo+lighttpd,that will same memory. only lsws is needed. pstree -p also a utility to show what processes are running in...
  12. N

    Disable PHP in a directory

    can use rewrite rule to prevent it. in .htaccess at that directory: RewriteEngine on RewriteRule (.*)php$ - [F]
  13. N

    Regarding Apache & Performance

    1>just check if apache process is running ps -ef|grep httpd on centOS, service httpd stop chkconfig httpd off 3>CentOS is better than Debian as a server. Debian may be better than centOS as a desktop --- please google the difference of them to get the accurate answer. 4>there is a...
  14. N

    Error Pages

    not necessary. please try to add custom error page under apache + cPanel. if it works, should work under litespeed + cPanel.
  15. N

    Graphical interface to build php

    we have one: admin console-->Actions-->Compiler PHP
  16. N

    optimal opcode setup for large shared hosting plesk server

    yeah, network disk not recommended. We experienced very slow disk access when /tmp is NFS in a few customer's servers. using local disk, maybe a dedicated partition to store /tmp or for cache_dir only.
  17. N

    optimal opcode setup for large shared hosting plesk server

    then set cache_dir to /tmp/ea you can clean up /tmp/ea daily
Top