Apache Tomcat communication problems. Performance is exteme slow Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Come Celebrate our 10 Year Anniversary!Apache+Tomcat having problems communicating. Unclear error messages. Bringing down websites hosted under TomcatHow can I set use mod_proxy_ajp with Apache and Tomcat?tomcat 5.5 + apache Configure a group app inside tomcatApache forwarding everything to Tomcat except webmailStale Network connections to Tomcat AJP portApache problems in performance test with mod_reqtimeoutSimple proxy reverse Apache-TomcatCommunication from Tomcat to Apache Web ServerApache Cluster + Tomcat websocketWhy tomcat AJP connector need to send GET_BODY_CHUNK message to Apache mod_jk

What order were files/directories output in dir?

malloc in main() or malloc in another function: allocating memory for a struct and its members

How much damage would a cupful of neutron star matter do to the Earth?

Is multiple magic items in one inherently imbalanced?

Simple Line in LaTeX Help!

How were pictures turned from film to a big picture in a picture frame before digital scanning?

How can I prevent/balance waiting and turtling as a response to cooldown mechanics

What does it mean that physics no longer uses mechanical models to describe phenomena?

Co-worker has annoying ringtone

What does the writing on Poe's helmet say?

Sally's older brother

Is openssl rand command cryptographically secure?

What would you call this weird metallic apparatus that allows you to lift people?

Google .dev domain strangely redirects to https

Found this skink in my tomato plant bucket. Is he trapped? Or could he leave if he wanted?

I can't produce songs

Can two people see the same photon?

Does the Mueller report show a conspiracy between Russia and the Trump Campaign?

Weaponising the Grasp-at-a-Distance spell

After Sam didn't return home in the end, were he and Al still friends?

Constant factor of an array

Moving a wrapfig vertically to encroach partially on a subsection title

Is there any word for a place full of confusion?

If Windows 7 doesn't support WSL, then what is "Subsystem for UNIX-based Applications"?



Apache Tomcat communication problems. Performance is exteme slow



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
Come Celebrate our 10 Year Anniversary!Apache+Tomcat having problems communicating. Unclear error messages. Bringing down websites hosted under TomcatHow can I set use mod_proxy_ajp with Apache and Tomcat?tomcat 5.5 + apache Configure a group app inside tomcatApache forwarding everything to Tomcat except webmailStale Network connections to Tomcat AJP portApache problems in performance test with mod_reqtimeoutSimple proxy reverse Apache-TomcatCommunication from Tomcat to Apache Web ServerApache Cluster + Tomcat websocketWhy tomcat AJP connector need to send GET_BODY_CHUNK message to Apache mod_jk



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








1















Apache Version 2.4.34 (Win64)
Apache Tomcat 6.0.44
Windows Server 2016 Standard
Version 1607



After a certain period (1-2 hours). Application Performance becomes extremely poor and some time leads to Maintenance (Service Temporarily Unavailable) page.



In Tomcat logs i cannot find any problem. In Apache logs:



[Mon Apr 15 08:41:49.585041 2019] [proxy_ajp:error] [pid 3880:tid 1044] (OS 10060)A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. : AH01030: ajp_ilink_receive() can't receive header
[Mon Apr 15 08:41:49.585041 2019] [proxy_ajp:error] [pid 3880:tid 1044] [client 1.2.3.4:50880] AH00992: ajp_read_header: ajp_ilink_receive failed, referrer ...


Apart from the above given logs. Logs are full with following entries



[Mon Apr 15 08:41:20.131907 2019] [proxy_balancer:error] [pid 3880:tid 1092] [client 80.114.182.213:54316] AH01167: balancer://ajaxbalancer: All workers are in error state for route (ajaxB), referer: https://url here


Analysis:



Database has been ruled out as a problem since there are no locks and query execution time is also normal and db Server is in optimal health.



Setup :



There are 2 Servers running in Cluster Environment using Load balancer.



Tomcat configuration on both the servers is same:



<Connector port="8109" protocol="AJP/1.3" redirectPort="8443" maxConnections="-1" connectionTimeout="300000" keepAliveTimeout="300000" />


Apache Configuration:



ProxyErrorOverride Off
ProxyTimeout 120
Timeout 120
ProxyPass /static_html !

<Proxy balancer://ajaxbalancer/>
BalancerMember ajp://127.0.0.1:8109/app route=Srv1 loadfactor=10 ttl=90
BalancerMember ajp://127.0.0.1:8109/app route=Srv1 loadfactor=10 ttl=90
ProxySet stickysession=JSESSIONID|jsessionid scolonpathdelim=On nofailover=On
#ProxySet lbmethod=bybusyness
ProxySet lbmethod=byrequests
</Proxy>

<Location "/swingApp/">
ProxyPass balancer://ajaxbalancer/
ProxyPassReverse balancer://ajaxbalancer/
ProxyPreserveHost On
SetEnv keepalive=on
</Location>


I request you to help me the topic. If any further information is required please let me know.










share|improve this question









New contributor




lesnar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Please add your OS, Apache and Tomcat version.

    – Freddy
    Apr 15 at 7:28











  • @Freddy i have updated the versions

    – lesnar
    Apr 15 at 8:06











  • Your Tomcat is quite old. I would upgrade Tomcat first before investing time to fix an outdated server. I know, that doesn't fix your problem, but might be worth a try.

    – Freddy
    Apr 15 at 8:35











  • Unfortunately updating tomcat is not an option for me.

    – lesnar
    Apr 15 at 8:36

















1















Apache Version 2.4.34 (Win64)
Apache Tomcat 6.0.44
Windows Server 2016 Standard
Version 1607



After a certain period (1-2 hours). Application Performance becomes extremely poor and some time leads to Maintenance (Service Temporarily Unavailable) page.



In Tomcat logs i cannot find any problem. In Apache logs:



[Mon Apr 15 08:41:49.585041 2019] [proxy_ajp:error] [pid 3880:tid 1044] (OS 10060)A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. : AH01030: ajp_ilink_receive() can't receive header
[Mon Apr 15 08:41:49.585041 2019] [proxy_ajp:error] [pid 3880:tid 1044] [client 1.2.3.4:50880] AH00992: ajp_read_header: ajp_ilink_receive failed, referrer ...


Apart from the above given logs. Logs are full with following entries



[Mon Apr 15 08:41:20.131907 2019] [proxy_balancer:error] [pid 3880:tid 1092] [client 80.114.182.213:54316] AH01167: balancer://ajaxbalancer: All workers are in error state for route (ajaxB), referer: https://url here


Analysis:



Database has been ruled out as a problem since there are no locks and query execution time is also normal and db Server is in optimal health.



Setup :



There are 2 Servers running in Cluster Environment using Load balancer.



Tomcat configuration on both the servers is same:



<Connector port="8109" protocol="AJP/1.3" redirectPort="8443" maxConnections="-1" connectionTimeout="300000" keepAliveTimeout="300000" />


Apache Configuration:



ProxyErrorOverride Off
ProxyTimeout 120
Timeout 120
ProxyPass /static_html !

<Proxy balancer://ajaxbalancer/>
BalancerMember ajp://127.0.0.1:8109/app route=Srv1 loadfactor=10 ttl=90
BalancerMember ajp://127.0.0.1:8109/app route=Srv1 loadfactor=10 ttl=90
ProxySet stickysession=JSESSIONID|jsessionid scolonpathdelim=On nofailover=On
#ProxySet lbmethod=bybusyness
ProxySet lbmethod=byrequests
</Proxy>

<Location "/swingApp/">
ProxyPass balancer://ajaxbalancer/
ProxyPassReverse balancer://ajaxbalancer/
ProxyPreserveHost On
SetEnv keepalive=on
</Location>


I request you to help me the topic. If any further information is required please let me know.










share|improve this question









New contributor




lesnar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Please add your OS, Apache and Tomcat version.

    – Freddy
    Apr 15 at 7:28











  • @Freddy i have updated the versions

    – lesnar
    Apr 15 at 8:06











  • Your Tomcat is quite old. I would upgrade Tomcat first before investing time to fix an outdated server. I know, that doesn't fix your problem, but might be worth a try.

    – Freddy
    Apr 15 at 8:35











  • Unfortunately updating tomcat is not an option for me.

    – lesnar
    Apr 15 at 8:36













1












1








1








Apache Version 2.4.34 (Win64)
Apache Tomcat 6.0.44
Windows Server 2016 Standard
Version 1607



After a certain period (1-2 hours). Application Performance becomes extremely poor and some time leads to Maintenance (Service Temporarily Unavailable) page.



In Tomcat logs i cannot find any problem. In Apache logs:



[Mon Apr 15 08:41:49.585041 2019] [proxy_ajp:error] [pid 3880:tid 1044] (OS 10060)A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. : AH01030: ajp_ilink_receive() can't receive header
[Mon Apr 15 08:41:49.585041 2019] [proxy_ajp:error] [pid 3880:tid 1044] [client 1.2.3.4:50880] AH00992: ajp_read_header: ajp_ilink_receive failed, referrer ...


Apart from the above given logs. Logs are full with following entries



[Mon Apr 15 08:41:20.131907 2019] [proxy_balancer:error] [pid 3880:tid 1092] [client 80.114.182.213:54316] AH01167: balancer://ajaxbalancer: All workers are in error state for route (ajaxB), referer: https://url here


Analysis:



Database has been ruled out as a problem since there are no locks and query execution time is also normal and db Server is in optimal health.



Setup :



There are 2 Servers running in Cluster Environment using Load balancer.



Tomcat configuration on both the servers is same:



<Connector port="8109" protocol="AJP/1.3" redirectPort="8443" maxConnections="-1" connectionTimeout="300000" keepAliveTimeout="300000" />


Apache Configuration:



ProxyErrorOverride Off
ProxyTimeout 120
Timeout 120
ProxyPass /static_html !

<Proxy balancer://ajaxbalancer/>
BalancerMember ajp://127.0.0.1:8109/app route=Srv1 loadfactor=10 ttl=90
BalancerMember ajp://127.0.0.1:8109/app route=Srv1 loadfactor=10 ttl=90
ProxySet stickysession=JSESSIONID|jsessionid scolonpathdelim=On nofailover=On
#ProxySet lbmethod=bybusyness
ProxySet lbmethod=byrequests
</Proxy>

<Location "/swingApp/">
ProxyPass balancer://ajaxbalancer/
ProxyPassReverse balancer://ajaxbalancer/
ProxyPreserveHost On
SetEnv keepalive=on
</Location>


I request you to help me the topic. If any further information is required please let me know.










share|improve this question









New contributor




lesnar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












Apache Version 2.4.34 (Win64)
Apache Tomcat 6.0.44
Windows Server 2016 Standard
Version 1607



After a certain period (1-2 hours). Application Performance becomes extremely poor and some time leads to Maintenance (Service Temporarily Unavailable) page.



In Tomcat logs i cannot find any problem. In Apache logs:



[Mon Apr 15 08:41:49.585041 2019] [proxy_ajp:error] [pid 3880:tid 1044] (OS 10060)A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. : AH01030: ajp_ilink_receive() can't receive header
[Mon Apr 15 08:41:49.585041 2019] [proxy_ajp:error] [pid 3880:tid 1044] [client 1.2.3.4:50880] AH00992: ajp_read_header: ajp_ilink_receive failed, referrer ...


Apart from the above given logs. Logs are full with following entries



[Mon Apr 15 08:41:20.131907 2019] [proxy_balancer:error] [pid 3880:tid 1092] [client 80.114.182.213:54316] AH01167: balancer://ajaxbalancer: All workers are in error state for route (ajaxB), referer: https://url here


Analysis:



Database has been ruled out as a problem since there are no locks and query execution time is also normal and db Server is in optimal health.



Setup :



There are 2 Servers running in Cluster Environment using Load balancer.



Tomcat configuration on both the servers is same:



<Connector port="8109" protocol="AJP/1.3" redirectPort="8443" maxConnections="-1" connectionTimeout="300000" keepAliveTimeout="300000" />


Apache Configuration:



ProxyErrorOverride Off
ProxyTimeout 120
Timeout 120
ProxyPass /static_html !

<Proxy balancer://ajaxbalancer/>
BalancerMember ajp://127.0.0.1:8109/app route=Srv1 loadfactor=10 ttl=90
BalancerMember ajp://127.0.0.1:8109/app route=Srv1 loadfactor=10 ttl=90
ProxySet stickysession=JSESSIONID|jsessionid scolonpathdelim=On nofailover=On
#ProxySet lbmethod=bybusyness
ProxySet lbmethod=byrequests
</Proxy>

<Location "/swingApp/">
ProxyPass balancer://ajaxbalancer/
ProxyPassReverse balancer://ajaxbalancer/
ProxyPreserveHost On
SetEnv keepalive=on
</Location>


I request you to help me the topic. If any further information is required please let me know.







windows apache-2.4 tomcat ajp






share|improve this question









New contributor




lesnar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




lesnar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited Apr 15 at 9:03







lesnar













New contributor




lesnar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked Apr 15 at 7:19









lesnarlesnar

62




62




New contributor




lesnar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





lesnar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






lesnar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • Please add your OS, Apache and Tomcat version.

    – Freddy
    Apr 15 at 7:28











  • @Freddy i have updated the versions

    – lesnar
    Apr 15 at 8:06











  • Your Tomcat is quite old. I would upgrade Tomcat first before investing time to fix an outdated server. I know, that doesn't fix your problem, but might be worth a try.

    – Freddy
    Apr 15 at 8:35











  • Unfortunately updating tomcat is not an option for me.

    – lesnar
    Apr 15 at 8:36

















  • Please add your OS, Apache and Tomcat version.

    – Freddy
    Apr 15 at 7:28











  • @Freddy i have updated the versions

    – lesnar
    Apr 15 at 8:06











  • Your Tomcat is quite old. I would upgrade Tomcat first before investing time to fix an outdated server. I know, that doesn't fix your problem, but might be worth a try.

    – Freddy
    Apr 15 at 8:35











  • Unfortunately updating tomcat is not an option for me.

    – lesnar
    Apr 15 at 8:36
















Please add your OS, Apache and Tomcat version.

– Freddy
Apr 15 at 7:28





Please add your OS, Apache and Tomcat version.

– Freddy
Apr 15 at 7:28













@Freddy i have updated the versions

– lesnar
Apr 15 at 8:06





@Freddy i have updated the versions

– lesnar
Apr 15 at 8:06













Your Tomcat is quite old. I would upgrade Tomcat first before investing time to fix an outdated server. I know, that doesn't fix your problem, but might be worth a try.

– Freddy
Apr 15 at 8:35





Your Tomcat is quite old. I would upgrade Tomcat first before investing time to fix an outdated server. I know, that doesn't fix your problem, but might be worth a try.

– Freddy
Apr 15 at 8:35













Unfortunately updating tomcat is not an option for me.

– lesnar
Apr 15 at 8:36





Unfortunately updating tomcat is not an option for me.

– lesnar
Apr 15 at 8:36










0






active

oldest

votes












Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "2"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);






lesnar is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f963070%2fapache-tomcat-communication-problems-performance-is-exteme-slow%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes








lesnar is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















lesnar is a new contributor. Be nice, and check out our Code of Conduct.












lesnar is a new contributor. Be nice, and check out our Code of Conduct.











lesnar is a new contributor. Be nice, and check out our Code of Conduct.














Thanks for contributing an answer to Server Fault!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f963070%2fapache-tomcat-communication-problems-performance-is-exteme-slow%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

RemoteApp sporadic failureWindows 2008 RemoteAPP client disconnects within a matter of minutesWhat is the minimum version of RDP supported by Server 2012 RDS?How to configure a Remoteapp server to increase stabilityMicrosoft RemoteApp Active SessionRDWeb TS connection broken for some users post RemoteApp certificate changeRemote Desktop Licensing, RemoteAPPRDS 2012 R2 some users are not able to logon after changed date and time on Connection BrokersWhat happens during Remote Desktop logon, and is there any logging?After installing RDS on WinServer 2016 I still can only connect with two users?RD Connection via RDGW to Session host is not connecting

How to write a 12-bar blues melodyI-IV-V blues progressionHow to play the bridges in a standard blues progressionHow does Gdim7 fit in C# minor?question on a certain chord progressionMusicology of Melody12 bar blues, spread rhythm: alternative to 6th chord to avoid finger stretchChord progressions/ Root key/ MelodiesHow to put chords (POP-EDM) under a given lead vocal melody (starting from a good knowledge in music theory)Are there “rules” for improvising with the minor pentatonic scale over 12-bar shuffle?Confusion about blues scale and chords

Esgonzo ibérico Índice Descrición Distribución Hábitat Ameazas Notas Véxase tamén "Acerca dos nomes dos anfibios e réptiles galegos""Chalcides bedriagai"Chalcides bedriagai en Carrascal, L. M. Salvador, A. (Eds). Enciclopedia virtual de los vertebrados españoles. Museo Nacional de Ciencias Naturales, Madrid. España.Fotos