logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Apache 2.2 queue
Author
Jijun



Joined: 09 Nov 2006
Posts: 7

PostPosted: Mon 20 Nov '06 1:16    Post subject: Apache 2.2 queue Reply with quote

I am doing an experiment with Apache2.2's worker mpm module.

What I need to know is how to set the queue length of pending connections of Apache2.2. For example, a request arrives. But the server is busy (all threads are busy), and the queue is full, then this request should be discarded.

I did a little bit search online, seems "ListenBacklog" is designed for this purpose. The problem is when I do my experiment with ListenBacklog be set, the new request was not be discarded.

Any idea? What did I do wrong?

Thanks,
Jijun
Back to top
tdonovan
Moderator


Joined: 17 Dec 2005
Posts: 611
Location: Milford, MA, USA

PostPosted: Mon 20 Nov '06 2:55    Post subject: Reply with quote

Presumably you are running on Linux or Unix, since worker mpm doesn't run (and wouldn't make much sense to run) on Windows.

Apache just passes ListenBacklog along as the second argument to the underlying OS's socket listen function.

Try man listen to see how it is handled by your OS.

-tom-
Back to top
Jijun



Joined: 09 Nov 2006
Posts: 7

PostPosted: Mon 20 Nov '06 4:02    Post subject: Reply with quote

Hi Tom,

Thanks for your reply. I think that's the kind of information I need...

Best,
Jijun
Back to top


Reply to topic   Topic: Apache 2.2 queue View previous topic :: View next topic
Post new topic   Forum Index -> Apache