errors in connection

Discussion in 'General' started by m-mehdipoor, Dec 28, 2012.

  1. m-mehdipoor

    m-mehdipoor New Member

    Hello
    I see this error in my litespeed webserver control panel:
    ===============================
    2012-12-28 11:50:38.070 WARN [65.49.68.183:28314-0#APVH_dl.download.greenskin.ir] Running short of concurrent connections.
    2012-12-28 11:50:38.071 WARN [213.207.224.130:11116-0#APVH_bo2music15.2daydownload.com] Running short of concurrent connections.
    2012-12-28 11:50:38.071 WARN [2.184.89.115:50282-0#APVH_dl.flashkhor.com] Running short of concurrent connections.
    2012-12-28 11:50:38.072 WARN [213.207.224.130:11117-0#APVH_bo2music15.2daydownload.com] Running short of concurrent connections.
    2012-12-28 11:50:38.072 WARN [2.176.18.3:57544-0#APVH_dl.download.greenskin.ir] Running short of concurrent connections.
    2012-12-28 11:50:38.072 WARN [159.20.108.14:50209-0#_AdminVHost] Running short of concurrent connections.
    2012-12-28 11:50:38.081 WARN [2.180.95.202:11129-0#APVH_dl.download.greenskin.ir] Running short of concurrent connections.
    2012-12-28 11:50:38.089 WARN [2.185.125.40:51153-0#APVH_dl.songsara.net] Running short of concurrent connections.
    2012-12-28 11:50:38.102 WARN [151.232.57.116:44492-0#APVH_bombmusic.ir] Running short of concurrent connections.
    2012-12-28 11:50:38.103 WARN [213.207.224.130:11118-0#APVH_bo2music15.2daydownload.com] Running short of concurrent connections.
    ======================================
    I use Litespeed Web Server Enterprise v4.2.1 , how can I fix this problem and increase the connections on my webserver?
    the server includes :
    dual E5-2670 processors
    64 Gig of memory.
  2. NiteWave

    NiteWave Administrator

    increase
    lsws admin console->Server->Tuning->Max Connections
  3. m-mehdipoor

    m-mehdipoor New Member

    thank you.
    I increased it , there is no error in my admin console now , but the websites are slow yet.
    would you mind to mention what are the other things that I should check for increasing the speed of the websites in webserver?
    my server's load average is > 5.82, 6.38, 5.93 ( of 32 ).
  4. NiteWave

    NiteWave Administrator

    you can post a screenshot of real-time stat, there are many info there

    may find out some issues by just viewing it.
  5. m-mehdipoor

    m-mehdipoor New Member

    I attached a screen shot .
    thank you.

    Attached Files:

  6. NiteWave

    NiteWave Administrator

    the real-time stat looks normal.
    can you give more detail about the "slow"?

    one unusual thing on the real-time stat is that there are many "Req in Processing" on quite some websites. if the website is for video or file downloading, then that's normal since one request need long time to complete.

    another question: have you changed the default setting of
    lsws admin console->Server->Security ?

    if changed, please paste the screen shot here.
  7. m-mehdipoor

    m-mehdipoor New Member

    it takes long time to open a website in compare with other websites .
    it takes long time to start loading a website.
    and it takes long time to finish loading a website in compare with other websites.
    yes thats true. some of the websites of this server are for file downloading .

    I attached 2 screen shots of it ,
    thank you.

    Attached Files:

  8. NiteWave

    NiteWave Administrator

    it's a bit strange about the slowness by looking at the real-time stats.
    may be iowait high ? please paste the "top -c" result here.
  9. m-mehdipoor

    m-mehdipoor New Member

    top - 14:04:07 up 19 days, 12:33, 2 users, load average: 5.42, 5.81, 6.02
    Tasks: 767 total, 12 running, 755 sleeping, 0 stopped, 0 zombie
    Cpu(s): 19.9%us, 6.2%sy, 0.0%ni, 73.0%id, 0.7%wa, 0.0%hi, 0.3%si, 0.0%st
    Mem: 65923176k total, 64881084k used, 1042092k free, 2843740k buffers
    Swap: 20971512k total, 159136k used, 20812376k free, 55926680k cached

    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    10717 mysql 10 -10 7463m 656m 7556 S 292.3 1.0 12029:37 /usr/sbin/mysqld -
    26426 mobileir 20 0 361m 43m 7336 R 100.0 0.1 0:03.41 lsphp5:/home/mobil
    25660 songsara 20 0 272m 52m 8044 R 43.0 0.1 0:24.74 lsphp5:/home/songsa
    26266 daydownl 20 0 339m 24m 7464 S 41.7 0.0 0:14.19 lsphp5
    26393 mihangra 20 0 267m 46m 7828 R 39.1 0.1 0:01.68 lsphp5:me/mihangra/
    26445 khafando 20 0 255m 35m 7656 S 29.1 0.1 0:00.88 lsphp5
    26279 jurbajur 20 0 246m 26m 7688 R 28.8 0.0 0:03.65 lsphp5:/home/jurbaj
    26134 fun20 20 0 277m 54m 7992 R 26.5 0.1 0:07.21 lsphp5:/home/fun20/
    26389 ariapato 20 0 337m 22m 8176 R 17.9 0.0 0:01.37 lsphp5:home/ariapat
    26213 songsara 20 0 277m 56m 7876 R 17.5 0.1 0:08.53 lsphp5:/home/songsa
    6603 nobody 1 -19 275m 159m 76m S 16.9 0.2 6:21.64 litespeed (lshttpd)
    26305 moviefa 20 0 242m 21m 7524 S 16.9 0.0 0:03.15 lsphp5
    26071 songsara 20 0 277m 56m 7852 R 16.2 0.1 0:12.52 lsphp5:/home/songsa
    26215 songsara 20 0 276m 56m 7872 S 15.6 0.1 0:06.08 lsphp5:/home/songsa
    26367 shabnava 20 0 255m 35m 7944 S 11.6 0.1 0:00.77 lsphp5
    26412 daydownl 20 0 332m 16m 7424 S 10.3 0.0 0:00.73 lsphp5
    26446 celebba1 20 0 255m 34m 7620 R 9.3 0.1 0:00.28 lsphp5:/home/celebb


    =========================
    here you are.
  10. NiteWave

    NiteWave Administrator

    looks like your server's bottle-neck is mysql database: 292.3% CPU

    to verify this, you can put a phpinfo.php page under a slow site's document root, when you feel the site slow, access phpinfo.php, see if it's fast. this is because phpinfo.php has no access to database; if phpinfo.php is fast then problem is not at web server, most likely mysql database slow down the whole site.
  11. m-mehdipoor

    m-mehdipoor New Member

    hi
    but you know I check the HTML websites with no data base, but they are also slow in compare with websites hosted on another servers...
  12. NiteWave

    NiteWave Administrator

    please PM me the 2 websites' name so I can test
  13. m-mehdipoor

    m-mehdipoor New Member

    check your Inbox please...
  14. NiteWave

    NiteWave Administrator

    3 pure html websites are very fast; websites built by CMS (so with mysql) sometime very slow. this confirmed this server's bottleneck is mysql database.

Share This Page