2009/5/12 André Warnier <a...@ice-sa.com>:
> Michael Biebl wrote:
>>>>>>
>>>>>> ...
>>>>>>      ProxyRequests Off
>>>>>>      ProxyVia On
>>>>>>      ProxyPass /t/ ajp://localhost:8009/barcooServer/t/
>>>>>>      ProxyPass /ws/ ajp://localhost:8009/barcooServer/ws/
>>>>>>      ProxyPass /reports/ ajp://localhost:8009/barcooServer/reports/
>>>>>>      ProxyPass / ajp://localhost:8009/barcooWebsite/
>>>>>>      ProxyPassReverse / ajp://localhost:8009/barcooWebsite/
>>>>>>      ProxyPassReverseCookiePath /barcooWebsite /
>>>>>> ...
>>>>>>
>>
>> As you can see, I have 4 ProxyPass directives. Does that mean that I
>> will get 4 ajp connections from apache to tomcat per user request, ie.
>> if say 200 users are online I have 800 connections open?
>>
> I don't think so.  I assume the first matching one will immediately cause
> the proxying to happen for this request.
>
>> Is it correct, that apache uses ipv6 for the ajp connection (as the
>> log is talking about tcpv6)?
>>
> Dunno.  I presume that this is because port 8009 is just by default opened
> as IPv6.  Though since that whole area is not very clear to me yet, I may be
> talking nonsense here.
>
>>> And it is not Tomcat complaining, it is some other system component that
>>> writes to kernel.log.
>>
>> I know, it's the kernel that is dropping the connections.
>
> So, /what/ in the kernel is dropping connections, and after how many
> connections ?
> I mean, if it is 5000 connections, that "thing" may be right, but maybe this
> limit is set ridicuously low.

Does anyone know, what the actual kernel limits are? Is that an
absolute number or connection attempts / per timeframe?
Is there a way to tweak this settings (e.g. via sysctl)?

>
>> I'm wondering if there is  a limit of open ajp connections?
>
> There is obvously a limit set by /something/ as to the number of requests
> for *new* connections to port 8009 within a certain timeframe.
>
> I run a numer of Linux Debian systems, some of them Lenny.  I have never
> seen this message before.
> My systems use mod_jk as a connector though, not mod_proxy_ajp.
>
> So maybe you should try mod_jk for a while ?  If the problem suddenly
> disappears, then at least you've got a clue.
>
> You should also re-read Rainer's answer.  He's THE mod_jk expert on this
> forum.

I somehow had the impression from reading docs and tutorial on the
web, that mod_proxy_ajp is favored nowadays over mod_jk.
(being more actively developed, more flexible and easier to integrate
into apache)

Is that impression wrong?

>
> What about this :
>>>
>>> Other than that, is there any log facility available in mod_proxy_ajp,
>>> which
>>> you could set to "debug" for a while to see what is really going on from
>>> that side ?
>>
> It would be interesting to know how many connections mod_ajp *tries* to
> create.

I'll try to get more solid numbers.

Thanks for the hints so far,

Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

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

Reply via email to