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: Limit simultaneous requests per user on apache?
Author
dke



Joined: 13 Jul 2007
Posts: 61
Location: sweden

PostPosted: Wed 22 Aug '07 22:49    Post subject: Limit simultaneous requests per user on apache? Reply with quote

Hi,

I've noticed that on Apache with mpm_winnt (windows NT) each user is limited to 4 requests simultaneously. Is there way to change this value?

I'd like to lower it as my server can barely handle over 20 requests at an efficient rate (high MS problems above that) and each user getting 4 requests simultaneously is a disaster, load time for pages with thumbs would be slower with 1 request, but it would at least be a solid progress.

I've tried google and the apache documentation without any luck, so i hope you guys can help me!

Thanks in advance.

EDIT: Found out this was related to Keepalive, turned it off and i only have 1 request per user now simultaneously, i guess this setting is good for pages with REAL high load, but for my page with so much dynamic stuff it seems better to leave it off.
Back to top
tdonovan
Moderator


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

PostPosted: Thu 23 Aug '07 20:41    Post subject: re: simultaneous requests per user Reply with quote

Usually it is the browser which limits the simultaneous requests per user - not Apache.
RFC 2068 and RFC 2616 recommend two for HTTP 1.1:
    A single-user client SHOULD maintain AT MOST 2 connections with any server or proxy.
but many HTTP 1.0 browsers use four connections.

Turning keepalive off causes the connection to be closed after each request, so it will usually appear to be one simultaneous request unless you look at the exact instant that two requests are being served.

If this is still Coppermine you are discussing, it might be better to keep it all in your original post for continuity.

Out of curiosity I downloaded Coppermine and gave it a try. I see pretty much the same performance issues as you do. I'll post the details as a reply to your original post.

-tom-
Back to top


Reply to topic   Topic: Limit simultaneous requests per user on apache? View previous topic :: View next topic
Post new topic   Forum Index -> Apache