Re: Cimprovagt idle timeout
Prajakta Phadke <[email protected]> Tue, 30 Jan 2018 08:53:45 +0000
| Newsgroups | gmane.network.open-pegasus.general |
|---|---|
| Message-ID | <CY1PR07MB1462FA385C0E64EFCED9F436CAE40@CY1PR07MB1462.namprd07.prod.outlook.com> |
--_000_CY1PR07MB1462FA385C0E64EFCED9F436CAE40CY1PR07MB1462namp_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable I agree. We should not control cimprovagt. Also, fixing memory leak is the = solution. But keeping cimprovagt idle timeout configurable will be good def= ensive approach whenever needed. Right now, it=92s 8 to 10 minutes. I didn=92t find any timeval or time enti= ty where it is set to 8 or 10 minutes to clean up idle threads from ThreadP= ool. But it happens. Where does that magic number picked up from? Thanks Prajakta Phadke Prajakta Phadke ________________________________ From: Devchandra L Meetei <[email protected]> Sent: Monday, January 29, 2018 9:49:39 PM To: Prajakta Phadke Cc: Kirk Augustin; [email protected] Subject: Re: Cimprovagt idle timeout Hi I thought I have opened a bug ticket when I was working on Pegasus to intro= duce a config option to control this. But could not find any. Yes, your observation is correct and it is not supported as of now. On Tue, Jan 30, 2018 at 4:55 AM, Prajakta Phadke <[email protected]<mailto= :[email protected]>> wrote: This won=92t keep cimprovagt running long for my provider. It will avoid me= mory growth happening due to memory leak. I tried setting idleConnectionTimeout. It reflects value in cimserver comma= nd arguments. But it doesn=92t affect cimprovagt. It will be great if I can stop cimprovagt instance for my provider. Thanks, Prajakta. From: Kirk Augustin <[email protected]<mailto:[email protected]= >> Reply-To: Kirk Augustin <[email protected]<mailto:kirk_augustin@yahoo= .com>> Date: Monday, January 29, 2018 at 2:00 PM To: "[email protected]<mailto:[email protected]>" <pegasus-l@op= engroup.org<mailto:[email protected]>>, Prajakta Phadke <pphadke@tint= ri.com<mailto:[email protected]>> Subject: Re: Cimprovagt idle timeout First tell us why you want to cause Cimprovagt to unload? It hardly has much overhead, and if there is any sort of activity ongoing, = you most certainly would be better off having in already loaded. In fact there is no reason for it ever to unload these days, with all the r= esources computers have. Changing idleShutdownTimeout through cimconfig should not have an immediate= effect, but only after the next time it is loaded. Kirk & Trish Augustin 1003 Mountain Valley Rd<https://maps.google.com/?q=3D1003+Mountain+Valley+R= d&entry=3Dgmail&source=3Dg>. , Tijeras, NM, 87059 Trish Cell: 503-333-8470 Kirk Cell: 505-504-1658 Home: 505-407-8337 On Monday, January 29, 2018, 1:38:09 PM MST, Prajakta Phadke <pphadke@tintr= i.com<mailto:[email protected]>> wrote: Hi, I am trying to configure cimprovagt idle timeout. Changing idleShutdownTimeout through cimconfig didn=92t help. Cimprovagt is invoked through ProviderAgent and uses ThreadPool. ThreadPool cleans up idle threads at interval. I have observed that cimprovagt idle timeout is around 10 minutes. I want to reduce this timeout to unload cimprovagt. Is there any workaround= /solution? Thanks, Prajakta Phadke. -- Warm Regards --Dev OpenPegasus Developer "I'm one of those people that think Thomas Edison and the light bulb change= d the world more than Karl Marx ever did,=94 Steve Jobs --_000_CY1PR07MB1462FA385C0E64EFCED9F436CAE40CY1PR07MB1462namp_ Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable <html> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DWindows-1= 252"> <meta content=3D"text/html; charset=3Dutf-8"> </head> <body> <div id=3D"compose-container" itemscope=3D"" itemtype=3D"https://schema.org= /EmailMessage" style=3D"direction:ltr"> <span itemprop=3D"creator" itemscope=3D"" itemtype=3D"https://schema.org/Or= ganization"><span itemprop=3D"name"></span></span> <div> <div> <div style=3D"direction:ltr">I agree. We should not control cimprovagt. Als= o, fixing memory leak is the solution. But keeping cimprovagt idle timeout = configurable will be good defensive approach whenever needed. </div> <div style=3D"direction:ltr">Right now, it=92s 8 to 10 minutes. I didn=92t = find any timeval or time entity where it is set to 8 or 10 minutes to clean= up idle threads from ThreadPool. But it happens. Where does that magic num= ber picked up from?</div> <div><br> </div> <div style=3D"direction:ltr">Thanks</div> <div style=3D"direction:ltr">Prajakta Phadke </div> </div> <div><br> </div> <div class=3D"acompli_signature"> <div>Prajakta Phadke</div> </div> </div> </div> <hr tabindex=3D"-1" style=3D"display:inline-block; width:98%"> <div id=3D"divRplyFwdMsg" dir=3D"ltr"><font face=3D"Calibri, sans-serif" co= lor=3D"#000000" style=3D"font-size:11pt"><b>From:</b> Devchandra L Meetei &= lt;[email protected]><br> <b>Sent:</b> Monday, January 29, 2018 9:49:39 PM<br> <b>To:</b> Prajakta Phadke<br> <b>Cc:</b> Kirk Augustin; [email protected]<br> <b>Subject:</b> Re: Cimprovagt idle timeout</font> <div> </div> </div> <div> <div dir=3D"ltr">Hi <div>I thought I have opened a bug ticket when I was working on Pegasus to = introduce a config option to control this. But could not find any.</div> <div><br> </div> <div>Yes, your observation is correct and it is not supported as of now.&nb= sp;</div> </div> <div class=3D"gmail_extra"><br> <div class=3D"gmail_quote">On Tue, Jan 30, 2018 at 4:55 AM, Prajakta Phadke= <span dir=3D"ltr"> <<a href=3D"mailto:[email protected]" target=3D"_blank">pphadke@tintri.= com</a>></span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex; border-left:1= px #ccc solid; padding-left:1ex"> <div bgcolor=3D"white" lang=3D"EN-US"> <div class=3D"m_2347356069799305089WordSection1"> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:"C= alibri",sans-serif">This won=92t keep cimprovagt running long for my p= rovider. It will avoid memory growth happening due to memory leak.<u></u><u= ></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:"C= alibri",sans-serif">I tried setting idleConnectionTimeout. It reflects= value in cimserver command arguments. But it doesn=92t affect cimprovagt.<= u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:"C= alibri",sans-serif">It will be great if I can stop cimprovagt instance= for my provider.<u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:"C= alibri",sans-serif"><u></u> <u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:"C= alibri",sans-serif">Thanks,<u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:"C= alibri",sans-serif">Prajakta.<u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:"C= alibri",sans-serif"><u></u> <u></u></span></p> <div style=3D"border:none; border-top:solid #b5c4df 1.0pt; padding:3.0pt 0i= n 0in 0in"> <p class=3D"MsoNormal"><b><span style=3D"font-family:"Calibri",sa= ns-serif; color:black">From: </span></b><span style=3D"font-family:"Calibri",sans-serif; color= :black">Kirk Augustin <<a href=3D"mailto:[email protected]" target= =3D"_blank">[email protected]</a>><br> <b>Reply-To: </b>Kirk Augustin <<a href=3D"mailto:[email protected]= m" target=3D"_blank">[email protected]</a>><br> <b>Date: </b>Monday, January 29, 2018 at 2:00 PM<br> <b>To: </b>"<a href=3D"mailto:[email protected]" target=3D"_blan= k">[email protected]</a>" <<a href=3D"mailto:pegasus-l@opengr= oup.org" target=3D"_blank">[email protected]</a>>, Prajakta Phadke= <<a href=3D"mailto:[email protected]" target=3D"_blank">pphadke@tintri= .com</a>><br> <b>Subject: </b>Re: Cimprovagt idle timeout<u></u><u></u></span></p> </div> <div> <div class=3D"h5"> <div> <p class=3D"MsoNormal"><u></u> <u></u></p> </div> <div> <div> <div> <p class=3D"MsoNormal"><span style=3D"font-family:"Helvetica Neue"= ;,sans-serif">First tell us why you want to cause Cimprovagt to unload?<u><= /u><u></u></span></p> </div> <div> <p class=3D"MsoNormal"><span style=3D"font-family:"Helvetica Neue"= ;,sans-serif">It hardly has much overhead, and if there is any sort of acti= vity ongoing, you most certainly would be better off having in already load= ed.<u></u><u></u></span></p> </div> <div> <p class=3D"MsoNormal"><span style=3D"font-family:"Helvetica Neue"= ;,sans-serif">In fact there is no reason for it ever to unload these days, = with all the resources computers have.<u></u><u></u></span></p> </div> <div> <p class=3D"MsoNormal"><span style=3D"font-family:"Helvetica Neue"= ;,sans-serif"><u></u> <u></u></span></p> </div> <div> <p class=3D"MsoNormal"><span style=3D"font-family:"Helvetica Neue"= ;,sans-serif">Changing </span><span style=3D"font-size:11.0pt; font-fa= mily:"Helvetica Neue",sans-serif">idleShutdownTimeout through cim= config should not have an immediate effect, but only after the next time it is loaded.</span><span style=3D"font-family:"Helvetica N= eue",sans-serif"><u></u><u></u></span></p> </div> <div> <p class=3D"MsoNormal"><span style=3D"font-family:"Helvetica Neue"= ;,sans-serif"><u></u> <u></u></span></p> </div> <div> <p class=3D"MsoNormal"><span style=3D"font-family:"Helvetica Neue"= ;,sans-serif">Kirk & Trish Augustin<br> <a href=3D"https://maps.google.com/?q=3D1003+Mountain+Valley+Rd= &entry=3Dgmail&source=3Dg">1003 Mountain Valley Rd</a>. , Tijeras, = NM, 87059<br> Trish Cell: 503-333-8470<br> Kirk Cell: 505-504-1658 <u></u><u></u></span></p> <div> <p class=3D"MsoNormal"><span style=3D"font-family:"Helvetica Neue"= ;,sans-serif">Home: 505-407-8337<u></u><u></u></span></= p> </div> </div> </div> <div> <p class=3D"MsoNormal"><span style=3D"font-family:"Helvetica Neue"= ;,sans-serif"><u></u> <u></u></span></p> </div> <div> <p class=3D"MsoNormal"><span style=3D"font-family:"Helvetica Neue"= ;,sans-serif"><u></u> <u></u></span></p> </div> <div id=3D"m_2347356069799305089ydpcacc1a42yahoo_quoted_7292414224"> <div> <div> <p class=3D"MsoNormal"><span style=3D"font-size:10.0pt; font-family:"H= elvetica Neue",sans-serif; color:#26282a">On Monday, January 29, 2018,= 1:38:09 PM MST, Prajakta Phadke <<a href=3D"mailto:[email protected]" = target=3D"_blank">[email protected]</a>> wrote: <u></u><u></u></span></p> </div> <div> <p class=3D"MsoNormal"><span style=3D"font-size:10.0pt; font-family:"H= elvetica Neue",sans-serif; color:#26282a"><u></u> <u></u></span><= /p> </div> <div> <p class=3D"MsoNormal"><span style=3D"font-size:10.0pt; font-family:"H= elvetica Neue",sans-serif; color:#26282a"><u></u> <u></u></span><= /p> </div> <div> <div id=3D"m_2347356069799305089ydpcacc1a42yiv4094580482"> <div> <div> <p class=3D"m_2347356069799305089ydpcacc1a42yiv4094580482msonormal"><span s= tyle=3D"font-size:11.0pt; font-family:"Helvetica Neue",sans-serif= ; color:#26282a">Hi,</span><span style=3D"font-size:10.0pt; font-family:&qu= ot;Helvetica Neue",sans-serif; color:#26282a"><u></u><u></u></span></p= > <p class=3D"m_2347356069799305089ydpcacc1a42yiv4094580482msonormal"><span s= tyle=3D"font-size:11.0pt; font-family:"Helvetica Neue",sans-serif= ; color:#26282a"> </span><span style=3D"font-size:10.0pt; font-family:= "Helvetica Neue",sans-serif; color:#26282a"><u></u><u></u></span>= </p> <p class=3D"m_2347356069799305089ydpcacc1a42yiv4094580482msonormal"><span s= tyle=3D"font-size:11.0pt; font-family:"Helvetica Neue",sans-serif= ; color:#26282a">I am trying to configure cimprovagt idle timeout. </span><span style=3D"font-size:10.0pt; font-family:"Helvetica Neue&qu= ot;,sans-serif; color:#26282a"><u></u><u></u></span></p> <p class=3D"m_2347356069799305089ydpcacc1a42yiv4094580482msonormal"><span s= tyle=3D"font-size:11.0pt; font-family:"Helvetica Neue",sans-serif= ; color:#26282a">Changing idleShutdownTimeout through cimconfig didn=92t he= lp. </span><span style=3D"font-size:10.0pt; font-family:"Helvetica Neue&qu= ot;,sans-serif; color:#26282a"><u></u><u></u></span></p> <p class=3D"m_2347356069799305089ydpcacc1a42yiv4094580482msonormal"><span s= tyle=3D"font-size:11.0pt; font-family:"Helvetica Neue",sans-serif= ; color:#26282a">Cimprovagt is invoked through ProviderAgent and uses Threa= dPool.</span><span style=3D"font-size:10.0pt; font-family:"Helvetica N= eue",sans-serif; color:#26282a"><u></u><u></u></span></p> <p class=3D"m_2347356069799305089ydpcacc1a42yiv4094580482msonormal"><span s= tyle=3D"font-size:11.0pt; font-family:"Helvetica Neue",sans-serif= ; color:#26282a">ThreadPool cleans up idle threads at interval. </span><span style=3D"font-size:10.0pt; font-family:"Helvetica Neue&qu= ot;,sans-serif; color:#26282a"><u></u><u></u></span></p> <p class=3D"m_2347356069799305089ydpcacc1a42yiv4094580482msonormal"><span s= tyle=3D"font-size:11.0pt; font-family:"Helvetica Neue",sans-serif= ; color:#26282a">I have observed that cimprovagt idle timeout is around 10 = minutes.</span><span style=3D"font-size:10.0pt; font-family:"Helvetica= Neue",sans-serif; color:#26282a"><u></u><u></u></span></p> <p class=3D"m_2347356069799305089ydpcacc1a42yiv4094580482msonormal"><span s= tyle=3D"font-size:11.0pt; font-family:"Helvetica Neue",sans-serif= ; color:#26282a"> </span><span style=3D"font-size:10.0pt; font-family:= "Helvetica Neue",sans-serif; color:#26282a"><u></u><u></u></span>= </p> <p class=3D"m_2347356069799305089ydpcacc1a42yiv4094580482msonormal"><span s= tyle=3D"font-size:11.0pt; font-family:"Helvetica Neue",sans-serif= ; color:#26282a">I want to reduce this timeout to unload cimprovagt. Is the= re any workaround/solution?</span><span style=3D"font-size:10.0pt; font-fam= ily:"Helvetica Neue",sans-serif; color:#26282a"><u></u><u></u></s= pan></p> <p class=3D"m_2347356069799305089ydpcacc1a42yiv4094580482msonormal"><span s= tyle=3D"font-size:11.0pt; font-family:"Helvetica Neue",sans-serif= ; color:#26282a"> </span><span style=3D"font-size:10.0pt; font-family:= "Helvetica Neue",sans-serif; color:#26282a"><u></u><u></u></span>= </p> <p class=3D"m_2347356069799305089ydpcacc1a42yiv4094580482msonormal"><span s= tyle=3D"font-size:11.0pt; font-family:"Helvetica Neue",sans-serif= ; color:#26282a">Thanks,</span><span style=3D"font-size:10.0pt; font-family= :"Helvetica Neue",sans-serif; color:#26282a"><u></u><u></u></span= ></p> <p class=3D"m_2347356069799305089ydpcacc1a42yiv4094580482msonormal"><span s= tyle=3D"font-size:11.0pt; font-family:"Helvetica Neue",sans-serif= ; color:#26282a">Prajakta Phadke.</span><span style=3D"font-size:10.0pt; fo= nt-family:"Helvetica Neue",sans-serif; color:#26282a"><u></u><u><= /u></span></p> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </blockquote> </div> <br> <br clear=3D"all"> <div><br> </div> -- <br> <div class=3D"gmail_signature"> <div dir=3D"ltr"> <div>Warm Regards<br> --Dev<br> OpenPegasus Developer<br> <br> "I'm one of those people that think Thomas Edison and the light bulb c= hanged the world more than Karl Marx ever did,=94 Steve Jobs<br> </div> </div> </div> </div> </div> </body> </html> --_000_CY1PR07MB1462FA385C0E64EFCED9F436CAE40CY1PR07MB1462namp_--