4.1rc2

Discussion in 'LSWS 4.1 Release' started by mistwang, Nov 6, 2009.

  1. DraCoola

    DraCoola Member

    That's would be great!
    But... is it safe to use another php version which that different than php version in Cpanel list?
  2. mistwang

    mistwang LiteSpeed Staff

    Just use the same PHP version.
    easiest way is to overwrite the /home/cpeasyapache/ls.src/php-5.xxxx/sapi/litespeed

    with the new code,

    Then type command "make" under /home/cpeasyapache/ls.src/php-5.xxxx

    copy php-5.xxxx/sapi/litepseed/php to lsws/fcgi-bin/lsphp-5.xxxx
  3. DraCoola

    DraCoola Member

    Seems cool....
    Many thanks for your instruction, George.
    I will do it now!
  4. DraCoola

    DraCoola Member

    Already done as your instructed.
    But nothing happen :confused:
    Still showing for lsws only on top command and whm Main >> Server Status >> CPU/Memory/MySQL Usage.
    Did I should still rebuild php again from litespeed whm main screen?
  5. DraCoola

    DraCoola Member

    I thought I know what I am missing :

    Code:
    root@xxx [/home/cpeasyapache/ls.src/php-5.2.11/sapi/litespeed]# cp php /usr/local/lsws/fcgi-bin/lsphp-5.2.11
    cp: overwrite `/usr/local/lsws/fcgi-bin/lsphp-5.2.11'? y
    cp: cannot create regular file `/usr/local/lsws/fcgi-bin/lsphp-5.2.11': Text file busy
    
    How to copy that actually?

    Thank you so very much :)
  6. DraCoola

    DraCoola Member

    UPDATE :

    It is worked!!!
    I have to switch lsws to apache first :p
    Some scripts running under php are showed now.

    Awesome, but still nearly perfect...
    Using top and then type c will show php process under the user :
    Code:
    lsphp5: /home/username/public_html/folder/index.php
    Not all of lsphp5 pid bring the output like that above, but this is seriously help much :)
  7. colorprint

    colorprint New Member

    Any progress on the 4.1 ? :)
  8. mistwang

    mistwang LiteSpeed Staff

    Still working on it.
  9. robdiablo

    robdiablo New Member


    The Release Candidates have been working fine for us so far so we are in no hurry to see the final 4.1. I'd rather have you finish it without bugs and being complete than introduce a product that could set us back some. ;) However, you should keep your customers informed on status updates even if you don't have a time line set just so they know you are still hard at work! Thanks for taking the time to create a great product.
  10. anewday

    anewday Moderator

    Don't release another RC until the the Apache-style real-time stats are done. :p
  11. Grzegorz Derebecki

    Grzegorz Derebecki New Member

    freebsd version has problem with libpthread.so

    i have fbsd 7 when i try use libpthread.so from that system it wont works (in 4.0 it wasn't needed)
    (after adding alias in libmap.conf

    root@core2:~/lsws-4.1RC2# cat /etc/libmap.conf
    libcrypt.so.3 libcrypt.so.4
    libm.so.4 libm.so.5
    libc.so.6 libc.so.7
    libpthread.so.2 libpthread.so

    (other libs works ok becous they are used in litespeed 4.0)

    /libexec/ld-elf.so.1: /usr/lib/libpthread.so: version LIBTHREAD_1_0 required by bin/lshttpd not found



    When i install freebsd6 librares it still don't works
    /libexec/ld-elf.so.1: /usr/local/lib/compat/libpthread.so.2: Undefined symbol "__malloc_lock"


    Maby it is time to litespeed for 7.0 fbsd? there is arledy freebsd 8.0
  12. colorprint

    colorprint New Member

    try to install compat6x port
  13. Grzegorz Derebecki

    Grzegorz Derebecki New Member

    "When i install freebsd6 librares it still don't works"

    /usr/ports/misc/compat6x/ installed :p
  14. colorprint

    colorprint New Member

    strange. it work fine for me on FreeBSD 8.0
    But I have not libmap.conf file...
  15. Grzegorz Derebecki

    Grzegorz Derebecki New Member

    ok i removed libmap (works fine for litespeed 4.0 - not needed compact then) and it works.
  16. Grzegorz Derebecki

    Grzegorz Derebecki New Member

    hight cpu usage.

    I'm testing new ls 4.1rc2 and wondering why there is big cpu usage:

    Code:
      PID USERNAME PRI NICE   SIZE    RES STATE   C   TIME   WCPU COMMAND
    47764 www      105    0 18764K 12428K CPU1    1   0:00 40.48% lshttpd.4.1RC2
    47764 www       20    0 18764K 12428K kserel  1   0:00 37.79% lshttpd.4.1RC2
    47764 www       20    0 18764K 12428K kserel  0   0:00 28.86% lshttpd.4.1RC2
    47764 www        4    0 18764K 12428K CPU0    2   0:00 27.88% lshttpd.4.1RC2
    47764 www        4    0 18764K 12428K CPU2    0   0:00 27.88% lshttpd.4.1RC2
    
    
    (this is THREAD view mode).

    I have only 50 req/s
    Last edited: Feb 3, 2010
  17. mistwang

    mistwang LiteSpeed Staff

    Please ktrace or truss the process see what is going on. Have you enabled AIO?
  18. Grzegorz Derebecki

    Grzegorz Derebecki New Member

  19. mistwang

    mistwang LiteSpeed Staff

    truss output is not helpful at all, too many unknown syscalls.
    Can you try ktrace/kump?
  20. Grzegorz Derebecki

    Grzegorz Derebecki New Member

Share This Page