Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 3193 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

I'm using a custom Plugin made with ScriptMaster 4 Advanced in Server-side scripti on FileMaker Server 13/14.

The Plugin logs the record in "360Plugins_ServerScripting64.log" file on every event, not only registration function but also all functions. So the size of the log gets huge. Is there any way to keep this file small or to stop logging?

  • 9 months later...
Posted (edited)

I'm also wondering about this, it got to 7gb and has grown to 50mb over a few hours.

(it is called every minute however)

Edited by sal88
Posted

Are you registering the plugin each time you call the server script??

This is the root of your problem afaik. There is no need as the JVM is bound to the Server. If gets reset when the script engine is restarted, and only then do you need to re-register any functions..

Posted

Ah yes that is correct, have disabled that script step. So would that mean I would have to register the plugin if the server/filemaker service is restarted? If so how?

Posted

Is there a way to check to see if the plugin is registered?

Posted

No, I think ( and have reported several l times ) that the SMgetregisteredModules bit of code only works the first time you call it after resetting the plugin, thereafter it returns nothing, so we have taken to creating a function SMisLoaded to be called and if it is then do not bother to go through re-loading everything.

I suggest the same approach here with built plug-in too. If your function is in registered then you do not need to redo the register steps. Even if this reduces down to needed to be refreshed once an hour, this is a 60fold decrease in teh need to wirte to your log file.

Woudl be really helpful to get a 360works answer here, as mine are purely anecdotal. When you close FileMaker it is then closed.. If you run a scirpt in teh server,filemaker doesnt close, but it does run the startup script each time you open a new session with a perform script on server. but as you can have two of these runnign simultaneously, then it makes no sense that the JVM required is some how multiplied, or trashed on completion....

 

john

  • Like 1
Posted

After a restart of the server I enabled the register script step in the start up script for the initial scheduled run. After that I disabled it. Now the log file is 140mb - that's over the space of 2.5 hours.

So even without the registration step the log file is growing very quickly.

  • 3 weeks later...
Posted

This is causing headaches now. The following log files have grown to 7gb over just a couple of weeks:

C:\Program Files\FileMaker\FileMaker Server\Logs\360Plugins_ServerScripting64.log
C:\Windows\Temp\360out1193738757296079708.log
There have been more than one in the Windows\Temp folder, but they were able to be deleted.

Both files are locked also. The register script step has been disabled. My other server plugin does not cause this problem.

Any ideas?

This topic is 3193 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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