Re: How often do you bounce your apps?
Re: How often do you bounce your apps?
- Subject: Re: How often do you bounce your apps?
- From: Hugi Thordarson via Webobjects-dev <email@hidden>
- Date: Thu, 6 Aug 2020 08:28:38 +0000
I'd like to add a disclaimer to my EOF comment; I now recall I was invoking a
method as a workaround for something. Can't for the life of me remember what it
was or why (snapshots were getting GCd too early or something so I had to
invoke snapshotReferenceCountingSomethingElseOrOther()) but if memory serves me
right it might as well have been called
"beAwareYouAreNowExplicitlyLeakingMemory()".
So—I was being unfair and my leaky EOF was probably because of me doing
something stupid :).
- hugi
> On 6 Aug 2020, at 05:33, Stefan Gärtner via Webobjects-dev
> <email@hidden> wrote:
>
> We never bounce, but every few weeks we have an update, which certainly
> starts a new instance.
> We heavily use EOF. I never had the feeling that there is any memory leak, at
> least in our scenario.
>
>
>> Am 06.08.2020 um 00:56 schrieb D Tim Cummings via Webobjects-dev
>> <email@hidden <mailto:email@hidden>>:
>>
>> Daily for us. Once every few months we get an instance hanging and it is
>> clear at the start of the day that it has hung because it hasn’t restarted
>> overnight.
>>
>> Tim
>>
>>> On 6 Aug 2020, at 05:37, Lon Varscsak via Webobjects-dev
>>> <email@hidden <mailto:email@hidden>>
>>> wrote:
>>>
>>> We don't bounce our apps unless we do a release or if there's an instance
>>> that hangs.
>>>
>>> -Lon
>>>
>>> On Wed, Aug 5, 2020 at 9:09 AM Theodore Petrosky via Webobjects-dev
>>> <email@hidden <mailto:email@hidden>>
>>> wrote:
>>> My apps upload pdfs. As Java keeps the temp file that was uploaded until
>>> the app that did the upload quits, I bounce my apps every night to clean
>>> things up.
>>>
>>> Ted
>>>
>>>> On Aug 5, 2020, at 10:37 AM, Ken Anderson via Webobjects-dev
>>>> <email@hidden <mailto:email@hidden>>
>>>> wrote:
>>>>
>>>> I never bounce them - even with EOF ;)
>>>>
>>>>> On Aug 5, 2020, at 07:07, Jesse Tayler via Webobjects-dev
>>>>> <email@hidden <mailto:email@hidden>>
>>>>> wrote:
>>>>>
>>>>> What do you use to keep an eye on memory? JAVA has such an old-school
>>>>> approach with the VM I use AWS and really don’t have any good automated
>>>>> visualizing report on how instances or JAVA is running under the hood.
>>>>>
>>>>> My apps seem to run for a long time as a few times my scheduler has
>>>>> failed and they racked up 10X or even 100X normal sessions, but who knows
>>>>> what the user patterns were really — I have had to increase my JAVA VM
>>>>> and set memory stuff from JavaMonitor to keep things sane.
>>>>>
>>>>>
>>>>>
>>>>>> On Aug 5, 2020, at 3:35 AM, Jérémy DE ROYER via Webobjects-dev
>>>>>> <email@hidden <mailto:email@hidden>>
>>>>>> wrote:
>>>>>>
>>>>>> Hi Aaron,
>>>>>>
>>>>>> (I’m still using EOF) and, for the main apps, I bounce every morning.
>>>>>>
>>>>>> After updates I sometimes forget to activate the schedules without any
>>>>>> problems… but I’m used to do it in the pasts where I had a lot of meomry
>>>>>> leaks so I still do it.
>>>>>>
>>>>>> Jérémy
>>>>>>
>>>>>>> Le 5 août 2020 à 00:04, Hugi Thordarson via Webobjects-dev
>>>>>>> <email@hidden
>>>>>>> <mailto:email@hidden>> a écrit :
>>>>>>>
>>>>>>> Never. Uptime on my apps is usually weeks or months.
>>>>>>>
>>>>>>> Cycled regularly when I used EOF though. That thing leaks.
>>>>>>>
>>>>>>> - hugi
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>> On 4 Aug 2020, at 21:31, Aaron Rosenzweig via Webobjects-dev
>>>>>>>> <email@hidden
>>>>>>>> <mailto:email@hidden>> wrote:
>>>>>>>>
>>>>>>>> Personally I feel better bouncing my .woa instances daily. Even if it
>>>>>>>> is a small site I have at least two instances and I gracefully cycle
>>>>>>>> them on a daily schedule. I feel better knowing that it is fresh every
>>>>>>>> morning for the new day.
>>>>>>>>
>>>>>>>> On the other hand, I could see an argument that a java app shouldn’t
>>>>>>>> have any memory leaks. The garbage collector should get everything. If
>>>>>>>> it cannot do so, then you’ve got something messed up in your app that
>>>>>>>> you should track down and rectify. So maybe it’s better to just leave
>>>>>>>> your .woa instances running forever until the next redeployment to get
>>>>>>>> new features.
>>>>>>>>
>>>>>>>> What does the community do? Do you cycle often (daily, twice per day,
>>>>>>>> or once per week) or do you leaving your instances running without a
>>>>>>>> scheduled restart?
>>>>>>>>
>>>>>>>> Thanks to all those who chime in :-)
>>>>>>>> _______________________________________________
>>>>>>>> Do not post admin requests to the list. They will be ignored.
>>>>>>>> Webobjects-dev mailing list (email@hidden
>>>>>>>> <mailto:email@hidden>)
>>>>>>>> Help/Unsubscribe/Update your Subscription:
>>>>>>>>
>>>>>>>>
>>>>>>>> This email sent to email@hidden <mailto:email@hidden>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Do not post admin requests to the list. They will be ignored.
>>>>>>> Webobjects-dev mailing list (email@hidden
>>>>>>> <mailto:email@hidden>)
>>>>>>> Help/Unsubscribe/Update your Subscription:
>>>>>>>
>>>>>>>
>>>>>>> This email sent to email@hidden
>>>>>>> <mailto:email@hidden>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Do not post admin requests to the list. They will be ignored.
>>>>>> Webobjects-dev mailing list (email@hidden
>>>>>> <mailto:email@hidden>)
>>>>>> Help/Unsubscribe/Update your Subscription:
>>>>>>
>>>>>>
>>>>>> This email sent to email@hidden <mailto:email@hidden>
>>>>> _______________________________________________
>>>>> Do not post admin requests to the list. They will be ignored.
>>>>> Webobjects-dev mailing list (email@hidden
>>>>> <mailto:email@hidden>)
>>>>> Help/Unsubscribe/Update your Subscription:
>>>>>
>>>>>
>>>>> This email sent to email@hidden <mailto:email@hidden>
>>>> _______________________________________________
>>>> Do not post admin requests to the list. They will be ignored.
>>>> Webobjects-dev mailing list (email@hidden
>>>> <mailto:email@hidden>)
>>>> Help/Unsubscribe/Update your Subscription:
>>>>
>>>> This email sent to email@hidden <mailto:email@hidden>
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list (email@hidden
>>> <mailto:email@hidden>)
>>> Help/Unsubscribe/Update your Subscription:
>>>
>>>
>>> This email sent to email@hidden <mailto:email@hidden>
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list (email@hidden
>>> <mailto:email@hidden>)
>>> Help/Unsubscribe/Update your Subscription:
>>>
>>>
>>> This email sent to email@hidden <mailto:email@hidden>
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list (email@hidden
>> <mailto:email@hidden>)
>> Help/Unsubscribe/Update your Subscription:
>>
>>
>> This email sent to email@hidden
>
>
>
> --
> Mit freundlichen Grüßen
>
> Stefan Gärtner
> /// IT/Software-Entwicklung ///
>
> NUREG GmbH ///
> Dorfäckerstraße 31 | 90427 Nürnberg | Germany
> Tel.: +49-911-32002-183 | Fax: +49-911-32002-299
> Nürnberg HRB 22653 | USt.ID DE 814 685 653
> Geschäftsführer: Michael Schmidt, Stefan Boas
> www.nureg.de <http://www.nureg.de/>
>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden