httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aurélien Terrestris <aterrest...@gmail.com>
Subject Re: [users@httpd] Howto accept only one connection
Date Fri, 19 Feb 2016 14:49:20 GMT
Jim,

-X stops with a seg-fault after servicing the request, at least on my
server. I suppose that we need to keep the server alive.





2016-02-19 14:02 GMT+01:00 Dr James Smith <js5@sanger.ac.uk>:

> Can you not just go into debug mode -X?
>
>
>
> On 19/02/2016 12:52, Aurélien Terrestris wrote:
>
> Richard, is this a config that you tried successfully ? On my server,
> "prefork MPM" will put requests in the backlog (waiting), and "event MPM"
> is not designed for such behaviours because of its multi-threading model (I
> did not try "hybrid MPM" since it is supposed to be multi-threaded as well)
>
>
>
> 2016-02-19 13:46 GMT+01:00 Richard <lists-apache@listmail.innovate.net>:
>
>>
>>
>> > Date: Friday, February 19, 2016 13:32:02 +0100
>> > From: Oliver Graute <oliver.graute@gmail.com>
>> >
>> > On 19/02/16, Jim Jagielski wrote:
>> >> Just one connection? By that do you mean one concurrent user or
>> >> actually one request or actually one connection?
>> >>
>> >> A connection is a socket opened between the client and the server.
>> >> A request is a HTTP request on that connection.
>> >
>> > my requirement is:
>> >
>> >  "The Apache server listens on port 443i (https). It must accept
>> > only one connection at a time on this port"
>> >
>> > so its one socket opened between the client and the server.
>> >
>> > Best Regards,
>> >
>> > Oliver
>> >
>>
>> Other than humoring a customer, who may not understand what they are
>> asking for, what is the goal of trying to do this?
>>
>> I don't think the server will be very usable -- basically you want
>> to set "startservers" to 1, "spareservers" to 0 and "maxclients" to
>> 1.
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: <users-help@httpd.apache.org>
>> users-help@httpd.apache.org
>>
>>
>
>
> -- The Wellcome Trust Sanger Institute is operated by Genome Research
> Limited, a charity registered in England with number 1021457 and a company
> registered in England with number 2742969, whose registered office is 215
> Euston Road, London, NW1 2BE.
>

Mime
View raw message