Re: Apps not showing in adaptor info but are in WOMonitor
Re: Apps not showing in adaptor info but are in WOMonitor
- Subject: Re: Apps not showing in adaptor info but are in WOMonitor
- From: bob--- via Webobjects-dev <email@hidden>
- Date: Sat, 5 Sep 2020 21:27:57 -0400
So my predecessor did the compiling of the adaptor but in Wonder I found that
Utilities/Adaptors/Adaptor/config.h had the following line
#define WA_MAX_APP_INSTANCE_COUNT 128 /* maximum number of instances
of a single application the adaptor can keep track of */
Now I just have to try tweaking that and recompiling to see if it fixes things.
> On Sep 5, 2020, at 21:12, Jesse Tayler <email@hidden> wrote:
>
> No, but the number is obviously suspect as a "limit" and so just google that,
> repair and go on about your day...
>
>> On Sep 5, 2020, at 9:04 PM, email@hidden wrote:
>>
>> So I believe all the apps are running but I don’t think the Apache WOAdaptor
>> believes that. I just noticed that It shows 128 running instances instead of
>> the proper 180. 128 seems like a suspicious number does anyone know if there
>> is some limit set in place X to number of running instances the adaptor
>> will allow?
>>
>>
>>
>>> On Sep 5, 2020, at 20:52, Jesse Tayler <email@hidden> wrote:
>>>
>>> Well, I don’t know but each app has a port assigned and you should see that
>>> in monitor and in ps -axww or whatever you should be able to see which
>>> instances are which.
>>>
>>> You should be able to hit instances specifically using a URL with the
>>> woport somehow on the URL, perhaps someone recalls or you can look that up.
>>>
>>> But from the sound of it, those tools should tell you what instances are in
>>> the load balance or not.
>>>
>>>
>>>> On Sep 5, 2020, at 8:44 PM, bob--- via Webobjects-dev
>>>> <email@hidden> wrote:
>>>>
>>>> Hi I would really appreciate any help you have to offer.
>>>>
>>>> I’m looking for help debugging why the Adaptor does not show all the
>>>> instances that monitor shows as running. I believe this is causing users
>>>> not to hit many instances that are running.
>>>>
>>>> I have a single webserver with 6 appservers. I have 2 applications all
>>>> them A and B, A is configured for 25 instances per server B has 10 per
>>>> server. A has the complication that there are Odd/Even week executables so
>>>> there are actually 50 configured but only 25 running at a time.
>>>> Everything looks fine in WOMonitor and the apps do launch. I enabled
>>>> adaptorInfo so I could see more about my problem.
>>>>
>>>> I am able to hit instances of B and WOStats seems to show that users are
>>>> spread across B. However Users are not hitting all the instances of A. I
>>>> see the A’s are all running as expected, The A logs look fine and do show
>>>> that noone is hitting them. I looked in the Adaptor info and found that
>>>> servers 6,7 don’t show up in the Adaptor info.
>>>>
>>>> I had been using named host 1085 style for WebObjectsConfig
>>>>
>>>> I changed to the XML file and didn’t see any change in the adaptor.
>>>>
>>>> I worried that maybe all the not running A instances were somehow
>>>> interfering since the config.xml file did have ALL the instances not just
>>>> the running ones. So I manually removed 1/2 of the A entries to only have
>>>> the running ones. No change.
>>>>
>>>> B does have fewer total instances but they all show up in the adaptor
>>>> info.
>>>>
>>>> Would really appreciate any thoughts on how to get the apps to show up for
>>>> the adaptor so users can actually hit them.
>>>>
>>>> _______________________________________________
>>>> 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