LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > errors in connection

Reply
 
Thread Tools Display Modes
  #1  
Old 12-28-2012, 12:23 AM
m-mehdipoor m-mehdipoor is offline
Member
 
Join Date: Dec 2012
Posts: 15
Default errors in connection

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.
Reply With Quote
  #2  
Old 12-28-2012, 02:15 AM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,291
increase
lsws admin console->Server->Tuning->Max Connections
Reply With Quote
  #3  
Old 12-28-2012, 03:29 AM
m-mehdipoor m-mehdipoor is offline
Member
 
Join Date: Dec 2012
Posts: 15
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 ).
Reply With Quote
  #4  
Old 12-28-2012, 05:10 AM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,291
you can post a screenshot of real-time stat, there are many info there

may find out some issues by just viewing it.
Reply With Quote
  #5  
Old 12-28-2012, 07:08 AM
m-mehdipoor m-mehdipoor is offline
Member
 
Join Date: Dec 2012
Posts: 15
Quote:
Originally Posted by NiteWave View Post
you can post a screenshot of real-time stat, there are many info there

may find out some issues by just viewing it.
I attached a screen shot .
thank you.
Attached Images
File Type: jpg lsws.jpg (96.9 KB, 6 views)
Reply With Quote
  #6  
Old 12-28-2012, 07:33 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,291
the real-time stat looks normal.
Quote:
the websites are slow yet
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.
Reply With Quote
  #7  
Old 12-28-2012, 11:50 PM
m-mehdipoor m-mehdipoor is offline
Member
 
Join Date: Dec 2012
Posts: 15
Quote:
can you give more detail about the "slow"?
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.
Quote:
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.
yes thats true. some of the websites of this server are for file downloading .

Quote:
another question: have you changed the default setting of
lsws admin console->Server->Security ?
I attached 2 screen shots of it ,
thank you.
Attached Images
File Type: jpg lsws1.jpg (85.3 KB, 3 views)
File Type: jpg lsws2.jpg (78.4 KB, 2 views)
Reply With Quote
  #8  
Old 12-31-2012, 02:29 AM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,291
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.
Reply With Quote
  #9  
Old 12-31-2012, 02:34 AM
m-mehdipoor m-mehdipoor is offline
Member
 
Join Date: Dec 2012
Posts: 15
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.
Reply With Quote
  #10  
Old 12-31-2012, 04:15 AM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,291
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.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 04:19 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.