[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-httpd-users
Subject:    RE: [users@httpd] How to keep httpd balancer scoreboard persistant when MaxConnectionsPerChild set t
From:       "Chen, Mengchang" <mengchang.chen () jpmchase ! com ! INVALID>
Date:       2019-03-12 14:03:34
Message-ID: ce463364203749afbe6a70a6691df302 () SEGEX098 ! exchad ! jpmchase ! net
[Download RAW message or body]

[Attachment #2 (text/plain)]

We have tried this directive, BalancerPersist set to On, but it doesn't solve our \
problem.  Our issue is when httpd child process recycled, the data associated with \
load balancing algorithm are lost and reset.

From: Yann Ylavic [mailto:ylavic.dev@gmail.com]
Sent: Tuesday, March 12, 2019 8:28 AM
To: users@httpd.apache.org
Subject: Re: [users@httpd] How to keep httpd balancer scoreboard persistant when \
MaxConnectionsPerChild set to non-zero?

On Tue, Mar 12, 2019 at 2:01 PM Chen, Mengchang
<mengchang.chen@jpmchase.com<mailto:mengchang.chen@jpmchase.com>.invalid> wrote:
> 
> Isn't it the mod_proxy_balancer using mod_slotmem_shm to share data regarding to \
> balancer within httpd processes?  If httpd child process \
> recycled(MaxConnectionsPerChild set to non-zero), why is data related to balancer \
> lost?

You may want: https://httpd.apache.org/docs/2.4/en/mod/mod_proxy.html#balancerpersist< \
https://secureweb.jpmchase.net/readonly/https:/httpd.apache.org/docs/2.4/en/mod/mod_proxy.html#balancerpersist>


Regards,
Yann.

---------------------------------------------------------------------
To unsubscribe, e-mail: \
users-unsubscribe@httpd.apache.org<mailto:users-unsubscribe@httpd.apache.org> For \
additional commands, e-mail: \
users-help@httpd.apache.org<mailto:users-help@httpd.apache.org>

This message is confidential and subject to terms at: \
https://www.jpmorgan.com/emaildisclaimer including on confidentiality, legal \
privilege, viruses and monitoring of electronic messages. If you are not the intended \
recipient, please delete this message and notify the sender immediately. Any \
unauthorized use is strictly prohibited.


[Attachment #3 (text/html)]

<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40"> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:SimSun;
	panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:"\@SimSun";
	panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-reply;
	font-family:"Calibri",sans-serif;
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D">We \
have tried this directive, BalancerPersist set to On, but it doesn't solve our \
problem.&nbsp; Our issue is when httpd child process recycled, the data associated  \
with load balancing algorithm are lost and reset. <o:p></o:p></span></p> <p \
class="MsoNormal"><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
 <p class="MsoNormal"><b><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">From:</span></b><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"> Yann Ylavic \
[mailto:<a href="mailto:ylavic.dev@gmail.com">ylavic.dev@gmail.com</a>] <br>
<b>Sent:</b> Tuesday, March 12, 2019 8:28 AM<br>
<b>To:</b> <a href="mailto:users@httpd.apache.org">users@httpd.apache.org</a><br>
<b>Subject:</b> Re: [users@httpd] How to keep httpd balancer scoreboard persistant \
when MaxConnectionsPerChild set to non-zero?<o:p></o:p></span></p> <p \
class="MsoNormal"><o:p>&nbsp;</o:p></p> <p class="MsoNormal" \
style="margin-bottom:12.0pt"><span style="font-family:&quot;Courier \
New&quot;">On&nbsp;Tue,&nbsp;Mar&nbsp;12,&nbsp;2019&nbsp;at&nbsp;2:01&nbsp;PM&nbsp;Chen,&nbsp;Mengchang<br>
 &lt;<a href="mailto:mengchang.chen@jpmchase.com">mengchang.chen@jpmchase.com</a>.invalid&gt;&nbsp;wrote:<br>
 &gt;<br>
&gt;&nbsp;Isn't&nbsp;it&nbsp;the&nbsp;mod_proxy_balancer&nbsp;using&nbsp;mod_slotmem_s \
hm&nbsp;to&nbsp;share&nbsp;data&nbsp;regarding&nbsp;to&nbsp;balancer&nbsp;within&nbsp; \
httpd&nbsp;processes?&nbsp;&nbsp;If&nbsp;httpd&nbsp;child&nbsp;process&nbsp;recycled(M \
axConnectionsPerChild&nbsp;set&nbsp;to&nbsp;non-zero),&nbsp;why&nbsp;is&nbsp;data&nbsp;related&nbsp;to&nbsp;balancer&nbsp;lost?<br>
 <br>
You&nbsp;may&nbsp;want:&nbsp;<a \
href="https://httpd.apache.org/docs/2.4/en/mod/mod_proxy.html#balancerpersist">https://httpd.apache.org/docs/2.4/en/mod/mod_proxy.html#balancerpersist</a><br>
 <br>
Regards,<br>
Yann.<br>
<br>
---------------------------------------------------------------------<br>
To&nbsp;unsubscribe,&nbsp;e-mail:&nbsp;<a \
href="mailto:users-unsubscribe@httpd.apache.org">users-unsubscribe@httpd.apache.org</a><br>
 For&nbsp;additional&nbsp;commands,&nbsp;e-mail:&nbsp;<a \
href="mailto:users-help@httpd.apache.org">users-help@httpd.apache.org</a></span><o:p></o:p></p>
 </div>
<p>This message is confidential and subject to terms at: https://<a \
href="https://www.jpmorgan.com/emaildisclaimer">www.jpmorgan.com/emaildisclaimer</a> \
including on confidentiality, legal privilege, viruses and monitoring of electronic \
messages. If you are not the intended recipient, please delete this message and \
notify the sender immediately. Any unauthorized use is strictly prohibited.</p> \
</body> </html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic