What might cause the Script Execute module to stop running ?

Started by jamesant, October 21, 2014, 03:08:56 PM

Previous topic - Next topic

jamesant

We have got a server running where it

periodically receives packets of data and parses them,
then runs the script execute module to check the data is valid,
then writes an OK back if the data is alright,
or discards the packet if it was corrupt,
then if the packet was not discarded it writes the values into an SQL database.

But on some occasions the script execute module does not run, so the packet gets written to the SQL database without being checked by the script execute module. Then the same packet is received again (because no OK was sent last time) and the database gets lots of duplicate data.

Eventually (Maybe 5 or 10 minutes later) the script execute module starts running again, and all returns to normal.

What could be the cause of the script execute module not running - is it likely to be related to errors in the SQL write perhaps ?



Arthur Grasin

Hello,

I can't answer this question because I should review your whole configuration and see your data example.

I can only say that data are being sent to a database only after it was returned from the "Script execute" plugin.
If you like my work, please take a few seconds and add feedback about our site or our software [here]