Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

SafetyNet GIANT log files

Featured Replies

I just migrated to a new server (as part of the upgrade to  FMS 17) and as such had to reinstall SafetyNet. This morning the FMS process terminated abnormally because I ran out of free space. In diagnosing that I found that SafetyNet created 46GB of log files in the 6 days that it's been installed. Each day is progressively larger than the previous: 1.1GB, 4.5GB, 6.8GB, 9.1GB, 11.3GB, and 13.6GB.

I'm sure that some of this is likely because I was accidentally including 13.6GB in external container storage files in the backups (can't wait to see that AWS bill) but that log progression still seems crazy.

Is this a bug or just a side effect of my mistake?

Edited by merlyn383

Hi merlyn383,

That large amount if files could definitely cause a lot more logging that normal. The backups run every 5 minutes so if SafetyNet has to parse through all of those files, I could see the logging being quite verbose. I assume you have already deleted the log and removed the external container storage from the backup. Do the logs seem to be growing that much now?

  • Author

Hi Ryan,

I haven't had a chance to get SafetyNet to run yet. When the disk filled up the FMS DB process terminated in some weird way that hosed the FMS installation. So I reinstalled that, reinstalled SafetyNet and MirrorSync, and am currently getting errors from SafetyNet about database lock acquisition failures

Offsite backup failed while getting list of remote files: java.sql.SQLException: Database lock acquisition failure: lockFile: org.hsqldb.persist.LockFile@1a9bc3ad[file =C:\Program Files\360Works\SafetyNet2_data\SyncData\safetynet_hsql.lck, exists=true, locked=false, valid=false, ] method: checkHeartbeat read: 2018-06-28 20:04:49 heartbeat - read: -6781 ms.

Back to the logs, are those informative logs or necessary for operation? If informative, any chance for an option to reduce verbosity?

There is a logging.properties file that controls the logging level but there are 4 different components that each have their own logging level and without seeing which component(s) is the reason for the excessive logging, I can't tell you which one(s) to turn down. Of course you could always turn off all logging but I would not recommend that because if you run into any issues, we wouldn't be able to trouble shoot without logs. Once SafetyNet is back up and running I would be curious to see if the issue happens again and if so take a look at the logs. If you can grab them before they get overly huge, they should compress to a much smaller size.

As for the file locking stuff, I suspect there might be some residual effects from the HD filling up during a backup that has cause some issues in the SafetyNet sync data. Delete the .lck file that is referenced in the file path in the error message and see if that clears the issue.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.