I have a script running somewhere that is inserting information into a database, I cannot find where the script is located. Iv checked every component in the browser. Is there a way to check what is firing.
Ignition v8.1 has a "Running Scripts" page in the status section. I don't think it existed in v7.9. You will need to get a thread dump and carefully study it. (Non-trivial, sorry.) If you can't figure it out, post the complete thread dump here as an attachment.
There's a possibility that the script is very quick-running, so you may not catch it on a single thread dump.
Could this be it
Daemon Thread [gateway-scripts-pylib-watcher] id=164, (WAITING)
waiting for: java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@3b229f8e
sun.misc.Unsafe.park(Native Method)
java.util.concurrent.locks.LockSupport.park(Unknown Source)
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source)
java.util.concurrent.LinkedBlockingDeque.takeFirst(Unknown Source)
java.util.concurrent.LinkedBlockingDeque.take(Unknown Source)
sun.nio.fs.AbstractWatchService.take(Unknown Source)
com.inductiveautomation.ignition.gateway.SRContext$ThirdPartyScriptModulesChangeListener.run(SRContext.java:3414)
java.lang.Thread.run(Unknown Source)
And, it may not be happening in the project you have open. If there are other projects on the gateway, you may want to take a look through those, too.
only one project on the gateway.
That is a built in task that monitors your python external libraries for changes. So, no.
You could disable the database connection and see what breaks / errors ![]()
on that note, its the only thing inserting into that table, could remove that table. Then add another with the same name later. There isn't any critical information in it.