Mirror and backup

2018-06-08 Thread Chuck Miller via 4D_Tech
Hi All, I am just writing and testing code to have a mirror server and have a few questions 1. I assume that we will be backing up mirror on a daily basis? Does this cause any problems? 2. If we try and integrate a log file when backup is running what happens? 3. If we are integrating a log

Re: Mirror and backup

2018-06-08 Thread Jeffrey Kain via 4D_Tech
You will want to protect these two operations from interfering with each other via semaphores. Don't try to integrate if a backup is in progress, and don't let On Backup Start complete until any integrations are finished. > On Jun 8, 2018, at 1:01 PM, Chuck Miller via 4D_Tech

Re: Losing memory on 4D web application

2018-06-08 Thread Dani Beaubien via 4D_Tech
Hi Brad, Are you using ObjectTools? We have a similar setup and we were leaking mysteriously. I did a bunch of research and I landed on that ObjectTools was the issue. I switched everything away to C_OBJECTS (no other changes) and the memory issues went away. ObjectTools is pretty heavily

Losing memory on 4D web application

2018-06-08 Thread Olson, Brad via 4D_Tech
I have a large 4D web intranet application that, over the course of a week, runs out of memory. It is running 4D Server 16R4 on Windows Server 2012, with 16GB RAM, and no other applications are running on it. This application does a lot of calls to a middleware server that returns large

Re: Mirror and backup

2018-06-08 Thread Balinder Walia via 4D_Tech
Chuck, Backup are not really required when mirroring is setup and working correctly. Monitor if mirroring fails for any reason...restart from square one. Mirror is your back up. If you want to BACKUP on mirror 4D will wait until Integrate log process is finished before starting Back up process

Tab Control Issue

2018-06-08 Thread Kenneth Geiger via 4D_Tech
Hi All, 4D v16.2, Windows I’ve got a Tab Control located on Page 0 of an Input Form. I setup the Object Method exactly as per the docs: ARRAY TEXT(arrPages;7) Case of : (Form event=On Load) LIST TO ARRAY(“Tabs”;arrPages) : (Form event=On Clicked) FORM GOTO PAGE(arrPages)

Re: Mirror and backup

2018-06-08 Thread Jeffrey Kain via 4D_Tech
Like everything in life, nothing lasts forever, including your mirrors. By backing your mirror up you get restore points from which you can integrate subsequent journals in case of a problem. > On Jun 8, 2018, at 1:21 PM, Balinder Walia wrote: > > Backup are not really required when

Re: v13+ Progress component, and other components

2018-06-08 Thread Kirk Brooks via 4D_Tech
Chip, Keep in mind that if you call the Progress methods from the component they run in the context of the component. Which means they aren't sharing memory space with the host db. On Fri, Jun 8, 2018 at 3:27 PM Chip Scheide via 4D_Tech < 4d_tech@lists.4d.com> wrote: > I am referencing Progress

v13+ Progress component, and other components

2018-06-08 Thread Chip Scheide via 4D_Tech
I am referencing Progress (4D natively installed component), in a component. I wrap Progress calls in my own methods, including the call to New Progress where I install my own callback method to execute on user close of the progress thermometer. I am getting an error when the user tries to

Re: Tab Control Issue

2018-06-08 Thread Chip Scheide via 4D_Tech
you have what appears to be the right code, but maybe not in the right place(s) In the form method: Case of :(form event = on load) // populate the tab control ARRAY TEXT(arrPages;7) LIST TO ARRAY(“Tabs”;arrPages) end case Tab control method: case of :(form event = on clicked) goto