What volume of requests are you getting before it stalls?

You shouldn’t see the A4D_HTTPD_RequestHandler processes on the Windows server 
at all. They should only be on the client.

All the best,

  - Aparajita

> On Apr 20, 2017, at 7:09 AM, Perkins, Bradley D <bperk...@lanl.gov> wrote:
> 
> Yes, the Mac Mini is the client that is the Active4D web server. Initially
> we were having 'sleep' problems caused by Apple's built in power saving
> settings. I've resolved those.
> 
> I just arrived at work and can see that problems started ~4 am local time.
> It is still down. I do have debug logging on and am going to look at those
> shortly. I'll send you anything notable. I also want to see if I can
> correlate any problems with incoming HTTPD requests from the Apache logs.
> 
> The many A4D_HTTPD_RequestHandler processes were observed on the Windows
> server. With the way our web client user interface is programmed it is
> difficult to get to the Runtime environment but I'm going to try that too.
> 
> re: Did you update the A4D_NTKConfig list? I had another developer work on
> this. I'll need to find out if he did.
> 
> Thanks,
> 
> Brad
> 
> On 4/19/17, 5:34 PM, "Active4D-dev on behalf of Aparajita Fishman"
> <active4d-dev-boun...@aparajitaworld.com on behalf of
> aparaj...@aparajita.com> wrote:
> 
>> Just to be clear, the Mac Mini is a client that is the Active4D web
>> server?
>> 
>> Have you turned on Active4D debug logging and looked for anything
>> suspicious in the log?
>> 
>> When you say that many A4D_HTTPD_RequestHandler processes were on the
>> server, you mean the Mac Mini or the Windows server?
>> 
>> Did you update the A4D_NTKConfig list?
>> 
>> All the best,
>> 
>> - Aparajita
>> 
>>> On Apr 19, 2017, at 11:30 AM, Perkins, Bradley D <bperk...@lanl.gov>
>>> wrote:
>>> 
>>> I noticed something else:
>>> 
>>> On the production server the A4D_HouseKeeper process was of type "4D
>>> Client Database Process" yet on development it was type "4D Client
>>> Process".
>>> When I relaunched the production server there is no A4D_HouseKeeper at
>>> all.
>>> 
>>> Brad
>>> 
>>> From: Brad Perkins <bperk...@lanl.gov<mailto:bperk...@lanl.gov>>
>>> Date: Wednesday, April 19, 2017 at 12:16 PM
>>> To: 
>>> "Active4D-dev@aparajitaworld.com<mailto:Active4D-dev@aparajitaworld.com>"
>>> 
>>> <Active4D-dev@aparajitaworld.com<mailto:Active4D-dev@aparajitaworld.com>>
>>> Subject: Active4D Slowdown then Stall (weird A4D_HTTPD_RequestHandler_*
>>> behavior)
>>> 
>>> We upgraded a long running A4D-based system late last week and are
>>> noticing that Active4D will eventually become unresponsive. We can't
>>> serve for more than a day and web apps have been unresponsive the last
>>> two mornings. The old system would run for a long time without fail.
>>> 
>>> We went from
>>> 4D 14.2 to 4D15.4
>>> Active4D running on OS 10.11.latest to OS 10.12.4 (Sierra)
>>> Active4D is behind Apache. The Mac is a "client". Server runs on
>>> Windows.
>>> Replaced a 6+ year old Xserve with a Mac Mini (16 GB RAM)
>>> Upgraded to latest Active4D and latest NTK w/ necessary changes to
>>> Shell Code.
>>> 
>>> Admittedly a lot of changes, but this update was mandated by
>>> institutional cybersecurity group (Sierra was required). Sierra would
>>> not install on the Xserves. 15.4 is the only version close to certified
>>> for Sierra.
>>> 
>>> When this occurs I find:
>>> (a) Apache can still serve static content fine.
>>> (b) 4D is still running and responsive to user input.
>>> (c) I can see many A4D_HTTPD_RequestHandler_* processes on the server.
>>> Many are of type "4D Client Database Process" with num "0" and State
>>> "Running". That doesn't seem right to me.
>>> I'm currently observing both our production and development servers now
>>> and neither show any "4D Client Database Process" processes. I can force
>>> the creation of new processes by using ApacheBench to make many
>>> concurrent calls. All of the new process are client processes.
>>> 
>>> Can anyone suggest how those  "4D Client Database Process" are being
>>> created?
>>> 
>>> Thanks,
>>> 
>>> Brad Perkins
>>> 
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> Active4D-dev mailing list
>>> Active4D-dev@aparajitaworld.com
>>> http://list.aparajitaworld.com/listinfo/active4d-dev
>>> Archives: http://active4d-nabble.aparajitaworld.com/
>> 
>> _______________________________________________
>> Active4D-dev mailing list
>> Active4D-dev@aparajitaworld.com
>> http://list.aparajitaworld.com/listinfo/active4d-dev
>> Archives: http://active4d-nabble.aparajitaworld.com/
> 
> _______________________________________________
> Active4D-dev mailing list
> Active4D-dev@aparajitaworld.com
> http://list.aparajitaworld.com/listinfo/active4d-dev
> Archives: http://active4d-nabble.aparajitaworld.com/


_______________________________________________
Active4D-dev mailing list
Active4D-dev@aparajitaworld.com
http://list.aparajitaworld.com/listinfo/active4d-dev
Archives: http://active4d-nabble.aparajitaworld.com/

Reply via email to