Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Tue Dec 27, 2011 10:55 am 
Offline
Senior Newbie

Joined: Fri Dec 23, 2011 9:52 am
Posts: 18
Hi everybody,
according to the Apache MaxClients directive connection attempts over the MaxClients limit will normally be queued, up to a number based on the ListenBacklog directive.

How could I monitor the size of this queue?

thank you :roll:


Top
   
 Post subject:
PostPosted: Tue Dec 27, 2011 12:17 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
I'm guessing they would show in 'netstat -nt' as being in state SYN_RECV.


Top
   
 Post subject:
PostPosted: Tue Dec 27, 2011 12:48 pm 
Offline
Senior Newbie

Joined: Fri Dec 23, 2011 9:52 am
Posts: 18
Quote:
I'm guessing they would show in 'netstat -nt' as being in state SYN_RECV


Perfect, thus decreasing the maximum number of Apache clients I should see the queue growing, right?


Top
   
 Post subject:
PostPosted: Tue Dec 27, 2011 2:35 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
You will probably see the number of ESTABLISHED sockets approach MaxClients (+/- a few), then the number of SYN_RECV will creep up from there. You'll also get a notice in Apache's error log when it hits MaxClients.

And when it happens because someone didn't use CDN URLs in a newsletter, :shock:


Top
   
 Post subject:
PostPosted: Thu Dec 29, 2011 10:37 am 
Offline
Senior Newbie

Joined: Fri Dec 23, 2011 9:52 am
Posts: 18
thank you for your clarifications, they were really helpful


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group