LiteSpeed is not runing!!!!!!

Discussion in 'Install/Configuration' started by tachra, Aug 19, 2010.

  1. tachra

    tachra New Member

    Hi , i really wanna kill myself!
    i just installed LSWS trial on a VPS to see if it will work!
    that VPS is for download purposes and it has about 1000 active requests!
    6.17 requests/sec - 83.9 MB/second - 13.6 MB/request
    1029 requests currently being processed, 16 idle workers


    after i installed litespeed sites does not open and we will face Timeout problems!
    and i can see not lshttpd process is runing just one command named litespeed is runing!
    can u pease help me?
  2. [cwh]

    [cwh] New Member

  3. tachra

    tachra New Member

    HI
    as i said it is Trial License of enterprise edition!
    i do not think it has limit on it!
  4. NiteWave

    NiteWave Administrator

    can you try 1-CPU license to see any difference?
  5. tachra

    tachra New Member

    i tried 4-CPU license but no luck :(
    LSWS will stop working (showing as runing but do not resond to any request) after a few minutes!
  6. meto

    meto New Member

    Can you show us output of "vmstat 5 30"
  7. tachra

    tachra New Member

    procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------
    r b swpd free buff cache si so bi bo in cs us sy id wa st
    1 2 0 8066044 0 0 0 0 1161 424 0 81 1 1 64 34 0
    0 2 0 8066032 0 0 0 0 1415 2 0 3065 2 0 62 37 0
    1 1 0 8055040 0 0 0 0 1747 812 0 2041 3 1 58 38 0
    1 2 0 8043568 0 0 0 0 3165 3 0 4850 10 2 68 20 0
    0 2 0 8047860 0 0 0 0 4152 2 0 3569 8 1 72 19 0
    0 1 0 8051088 0 0 0 0 3722 0 0 3491 5 1 75 19 0
    1 0 0 8065700 0 0 0 0 7306 10 0 3934 10 1 61 28 0
    1 1 0 8065700 0 0 0 0 7226 1 0 3251 11 1 54 34 0
    0 2 0 8061588 0 0 0 0 3322 288 0 3291 5 1 68 26 0
    0 1 0 8065672 0 0 0 0 3946 10 0 4871 6 1 67 26 0
    0 3 0 8064580 0 0 0 0 1762 7 0 2796 2 0 69 29 0
    0 2 0 8065624 0 0 0 0 1376 2 0 3289 1 0 62 36 0
    0 2 0 8065140 0 0 0 0 310 3 0 3706 0 0 70 29 0
    0 3 0 8065624 0 0 0 0 542 2 0 2159 1 0 75 24 0
    0 3 0 8065624 0 0 0 0 858 799 0 2797 1 1 77 21 0
    0 2 0 8065624 0 0 0 0 1219 6 0 2688 1 0 69 30 0
    0 2 0 8065624 0 0 0 0 1126 4 0 2173 1 0 51 48 0
    0 2 0 8065624 0 0 0 0 1154 3 0 3707 1 0 55 44 0
    0 2 0 8053712 0 0 0 0 1688 0 0 3612 2 0 45 52 0
    0 2 0 8053712 0 0 0 0 655 2 0 2741 1 0 51 48 0
    0 2 0 8058552 0 0 0 0 39 801 0 1957 0 0 50 50 0
    0 2 0 8058552 0 0 0 0 810 4 0 3027 1 0 52 47 0
    0 2 0 8058552 0 0 0 0 1438 2 0 3619 2 0 51 47 0
  8. meto

    meto New Member

    Your IOwait is too big in my mind (wa), frequently around 50%. It's killing your VPS, not LSWS.
  9. tachra

    tachra New Member

    Dude as i said this is Download Server :)
    it works well with apache (but load avg is more than 30 )
  10. meto

    meto New Member

    Which version of lsws are you running? Do you have AIO enabled?
  11. tachra

    tachra New Member

    4.0.16 , where is it? :D
  12. meto

    meto New Member

    Config > Server > Tuning > Use Asynchronized disk I/O (AIO) Try to set it to yes.
  13. mistwang

    mistwang LiteSpeed Staff

    Only 4.1RC2 or 4.1RC3 support AIO. check the 4.1RC discussion on the forum.
    You can try "strace -tt -T -p <pid>" litespeed processes, see what it is doing. I think it is stalled because high I/O wait. AIO will work better.
  14. tachra

    tachra New Member

    But AIO options is in its config :D
    what do you think for it?
  15. mistwang

    mistwang LiteSpeed Staff

    It should be removed from 4.0.x releases.

Share This Page