4D Remote hanging at 3am after upgrading to Hi Sierra.

2017-10-27 Thread Perkins, Bradley D via 4D_Tech
We had to update a machine to Mac OS X Hi Sierra this week (cybersecurity mandate) on Tuesday of this week. This machine runs as a web 'client' on 4D 15.4. I have long standing controls in place to monitor the 4D application and keep it running. Since the OS update, 4D is hanging at 3am every mor

Re: 4D Remote hanging at 3am after upgrading to Hi Sierra.

2017-10-27 Thread Chip Scheide via 4D_Tech
since it is at the same time - There are a couple of possibilities: - anti virus software (either update, or scan) - cron job - specifically the daily 'cleanup' routines run by OS X - some other specific timed action setup by(?) IT, the end user(s)? Chip On Fri, 27 Oct 2017 16:22:36 +, Perkin

Re: 4D Remote hanging at 3am after upgrading to Hi Sierra.

2017-10-27 Thread Perkins, Bradley D via 4D_Tech
Chip, Except for the OS Upgrade nothing changed. This problem didn't exist under Sierra. The machine has AV installed (IT policy mandates that too) but it has never been a problem in the past. I'm the only end user of the machine. As noted I do have a 3am job, but that has run fine in the past

Re: 4D Remote hanging at 3am after upgrading to Hi Sierra.

2017-10-27 Thread JBellos via 4D_Tech
Try turning on the debug/request log in 4D to see what's firing in your application at that time, if anything.. Also, look at the Mac Console log to see what's happening at 3 AM, if there's anything unique running there that's not happening earlier. -- Sent from: http://4d.1045681.n5.nabble.co

Re: 4D Remote hanging at 3am after upgrading to Hi Sierra.

2017-10-27 Thread Chip Scheide via 4D_Tech
here is a link about the cron jobs/scripts http://thexlab.com/faqs/maintscripts.html I do not really know what they do, only that they exist, I only quickly scanned the article. the article at the above link says they (may) run at 3:15am of course, the underlying OS changed (Sierra to High Sierr

Re: 4D Remote hanging at 3am after upgrading to Hi Sierra.

2017-10-27 Thread Perkins, Bradley D via 4D_Tech
Chip, /var/log/daily.out exists Since the OS is newly updated no weekly or monthlies have run yet. I can see that the daily OS X cleanup scripts are running at ~22:15 local time. That rules these out. Thanks, Brad Perkins On 10/27/17, 12:25 PM, "Chip Scheide" <4d_o...@pghrepository.org> wrot

Re: 4D Remote hanging at 3am after upgrading to Hi Sierra.

2017-10-27 Thread Perkins, Bradley D via 4D_Tech
I have grep'd everything in /var/log --- the files the the console displays -- and haven't found anything that is running at 3am. That is assuming of course that any system level activity would be logged. The closest entry is at 3:01 and that is when my monitoring script emails me the first of m

RE: 4D Remote hanging at 3am after upgrading to Hi Sierra.

2017-10-30 Thread Epperlein, Lutz (agendo) via 4D_Tech
Brad, you wrote in your first posting, you saw a 4D error message very shortly. But you weren't able to read it. So it would be really helpful if a 4D Server would not show such messages only, they should also be logged into a file (or in system log) regardless of my settings, at least during t

Re: 4D Remote hanging at 3am after upgrading to Hi Sierra.

2017-10-30 Thread Jim Medlen via 4D_Tech
One thing you might try is changing the time that the script runs. If the the script runs successfully at 2:00 AM and the computer hangs at 3:00 AM then the problem is probably not the script. If the computer hangs at the new scheduled time for the script and not 3:00AM then that would lead me

Re: 4D Remote hanging at 3am after upgrading to Hi Sierra.

2017-10-30 Thread Perkins, Bradley D via 4D_Tech
I think I found the problem. When I upgraded the server OS on Tuesday I had a second GUI login session open for the admin user as I needed to sudo to fix some permissions, etc (aka fast user switching). When I checked on the application early Saturday AM I realized I had left that user logged in

Re: 4D Remote hanging at 3am after upgrading to Hi Sierra. Need logging advice.

2017-11-04 Thread Perkins, Bradley D via 4D_Tech
x27;ve never used them. What would I need to do to enable 4D to log between 2:45 and 3:15 AM? Thanks, Brad ____ From: Perkins, Bradley D Sent: Monday, October 30, 2017 9:08 AM To: 4d_tech@lists.4d.com Subject: Re: 4D Remote hanging at 3am after upgrading to Hi Sierra. I

Re: 4D Remote hanging at 3am after upgrading to Hi Sierra. Need logging advice.

2017-11-05 Thread Jim Crate via 4D_Tech
On Nov 4, 2017, at 3:32 PM, Perkins, Bradley D via 4D_Tech <4d_tech@lists.4d.com> wrote: > I believe I've done everything I can using the pmset command to prevent > sleep, standby etc. It isn't clear if you can totally turn power management > off everywhere though. In researching this problem I

Re: 4D Remote hanging at 3am after upgrading to Hi Sierra. Need logging advice.

2017-11-05 Thread Keisuke Miyako via 4D_Tech
Hello, I am an avid user of caffeinate (it's a great name, by the way), to keep my mac awake. there are several modes (assertions) to pick and choose, caffeinate -dimu is the most aggressive, dprevent display from sleep iprevent system from sleep sprevent display from sleep (but not if running

Re: 4D Remote hanging at 3am after upgrading to Hi Sierra. Need logging advice.

2017-11-05 Thread Keisuke Miyako via 4D_Tech
typo, s if for system, not display. enter "man caffeinate" in terminal for details. > 2017/11/06 5:00、Keisuke Miyako via 4D_Tech <4d_tech@lists.4d.com> のメール: > sprevent display from sleep (but not if running on battery) ** 4D

Re: 4D Remote hanging at 3am after upgrading to Hi Sierra. Need logging advice.

2017-11-05 Thread Perkins, Bradley D via 4D_Tech
didn't prevent the 3am sleep. I grep'd all of my logs and could not find anything notable happening between 2:57 and 3:01. Thanks, Brad Perkins > >------------------ > >Message: 5 >Date: Sun, 5 Nov 2017 12:07:43 -0500 >From: Jim Crate >To: 4D iNug Technical <4d_tec

Re: 4D Remote hanging at 3am after upgrading to Hi Sierra. Need logging advice.

2017-11-05 Thread Jim Crate via 4D_Tech
On Nov 5, 2017, at 4:25 PM, Perkins, Bradley D via 4D_Tech <4d_tech@lists.4d.com> wrote: > saw no value in running Apple's Server App. Even under OS X Server, I > always ran Apache manually. I found that the Mac OS X Server's UI for > managing web sites would often overwrite our custom configurat

Re: 4D Remote hanging at 3am after upgrading to Hi Sierra. Need logging advice.

2017-11-05 Thread John DeSoi via 4D_Tech
You may have said so earlier, but is the machine set to never sleep in the Energy control panel? RE: caffeinate If you launch 4D using caffeinate /path/to/4d, the machine should not go to sleep until 4D quits. See also the -w option where you can have 4D set it up after it has started. John D

Re: 4D Remote hanging at 3am after upgrading to Hi Sierra. Need logging advice.

2017-11-11 Thread Perkins, Bradley D via 4D_Tech
Some more information on my problem. As I mentioned before I couldn't find anything in the various system logs on the local machine that would correlate a 3am event. I'd also moved the one 3am local job to 2am and that didn't move the problem time. Earlier this week I remembered that 4D Backup run

Re: 4D Remote hanging at 3am after upgrading to Hi Sierra. Need logging advice.

2017-11-11 Thread Timothy Penner via 4D_Tech
Is this a Mac? If so, have you tried running a PURGE from the OS in On Backup Shutdown? http://kb.4d.com/assetid=77831 http://kb.4d.com/assetid=75978 -Tim Sent from my Verizon, Samsung Galaxy smartphone ** 4D Internet Users G

Re: 4D Remote hanging at 3am after upgrading to Hi Sierra. Need logging advice.

2017-11-11 Thread Jim Crate via 4D_Tech
> On Nov 11, 2017, at 11:26, Timothy Penner via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Is this a Mac? > > If so, have you tried running a PURGE from the OS in On Backup Shutdown? > > http://kb.4d.com/assetid=77831 > http://kb.4d.com/assetid=75978 > > -Tim Do the backup database methods

Re: 4D Remote hanging at 3am after upgrading to Hi Sierra. Need logging advice.

2017-11-11 Thread Keisuke Miyako via 4D_Tech
The thinking behind this recommendation, as I understand it, goes like this: macOS has its own cache system. backup creates a large file. the system cache the large file to improve access speed the next time (which typically never happens, by the way). free system memory runs out. 4D Server asks

Re: 4D Remote hanging at 3am after upgrading to Hi Sierra. Need logging advice.

2017-11-11 Thread Perkins, Bradley D via 4D_Tech
Tim, The 4D Remote which is hanging is a Mac which was recently upgraded to High Sierra, but the backup is running on a Windows 2008r2 Server. The hang times are consistent with when the backup is running. First it was 3am. I changed the backup to run at 5am and not the hang happens at 5am. This o

Re: 4D Remote hanging at 3am after upgrading to Hi Sierra. Need logging advice.

2017-11-12 Thread Jim Crate via 4D_Tech
> On Nov 11, 2017, at 18:00, Perkins, Bradley D via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > The hang times are consistent with when the backup is running. First it > was 3am. I changed the backup to run at 5am and not the hang happens at > 5am. This only started happening after the client ma

Re: 4D Remote hanging at 3am after upgrading to Hi Sierra. Need logging advice.

2017-11-12 Thread Tim Nevels via 4D_Tech
On Nov 12, 2017, at 1:00 PM, 4d_tech-requ...@lists.4d.com wrote: > The 4D Remote which is hanging is a Mac which was recently upgraded to > High Sierra, but the backup is running on a Windows 2008r2 Server. > The hang times are consistent with when the backup is running. First it > was 3am. I chan

Re: 4D Remote hanging at 3am after upgrading to Hi Sierra. Need logging advice.

2017-11-13 Thread Jeffrey Kain via 4D_Tech
Sorry, I haven't really been following the thread, but have you tried protecting the backup and your 3 a.m. code with a semaphore? Or turned on detailed logging on the 4D Remote side to see what it's trying to do? -- Jeffrey Kain jeffrey.k...@gmail.com On Nov 12, 2017, at 11:09 PM, Tim Nevels v

Re: 4D Remote hanging at 3am after upgrading to Hi Sierra. Need logging advice.

2017-11-13 Thread Perkins, Bradley D via 4D_Tech
The good news is that the problem hasn't occurred the last 2 nights. I haven't had time to check if the backups didn't run though. It is possible that the database didn't change over the weekend and backups were skipped. Friday was a federal holiday. Now that people are back at work I'll be surpr

Re: 4D Remote hanging at 3am after upgrading to Hi Sierra. Need logging advice.

2017-11-13 Thread Jim Crate via 4D_Tech
On Nov 13, 2017, at 2:39 PM, Perkins, Bradley D via 4D_Tech <4d_tech@lists.4d.com> wrote: > Also, I saw Jim Crate's suggestion to have a script take a screen shot. > I'd already considered that. The problem is that during times when the > client was down and not rebooting via scripts, I've logg

Re: 4D Remote hanging at 3am after upgrading to Hi Sierra. Need logging advice.

2019-01-02 Thread Tim Daniels via 4D_Tech
For what it's worth, I have been having the same issue where on most nights the backup never starts until I connect to the server via Screen Sharing. In most cases, when I do connect the server crashes. When I reopen the server the backup completes as normal. Yesterday I changed a setting and the

Re: 4D Remote hanging at 3am after upgrading to Hi Sierra. Need logging advice.

2019-01-03 Thread Keisuke Miyako via 4D_Tech
F.Y.I. ACI0098967 fixes the App Nap slowdown which could apply to a 4D Server with no active user interface (i.e. Admin Window). this is v17 build 230086 from 23rd Nov. https://bugs.4d.fr/fixedbugslist?branch=17 for other versions I offer https://github.com/miyako/4d-plugin-prevent-app-nap >