tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Asankha C. Perera" <asan...@apache.org>
Subject Re: Handling requests when under load - ACCEPT and RST vs non-ACCEPT
Date Fri, 09 Nov 2012 05:12:11 GMT
On 11/09/2012 02:16 AM, Pid wrote:
> On 08/11/2012 15:03, Asankha C. Perera wrote:
>> Hi Mark
>>>>> what happens if some other process grabs the port in the meantime:
>>>>> what is Tomcat supposed to do then?
>>>> In reality I do not know of a single client production deployment that
>>>> would allocate the same port to possibly conflicting services, that may
>>>> grab another's port when its suffering under load.
>>> Just because it wouldn't cause a problem for a limited subset of Tomcat
>>> users - your clients - does not mean that it would not cause problems
>>> for other Tomcat users.
>>>> I cannot see any other issues of turning off accepting - and I am
>>>> curious to know if anyone else could share their views on this -
>>>> considering real production deployments
>>> The problems have already been explained to you. Another process could
>>> use the port.
>> I would consider such production deployment as a risk - a Tomcat crash,
>> or even a restart might end up in a soup if another process starts using
>> the port in the mean time..
> It is not uncommon for monitoring tools to attempt to (re)start a
> service when it is observed not to be listening on its designated port.
But that could happen even now, if the backlog fills and connections are 
being reset as seen currently

cheers
asankha

-- 
Asankha C. Perera
AdroitLogic, http://adroitlogic.org

http://esbmagic.blogspot.com




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message