AGG Software Forums
September 19, 2024, 08:13:21 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome on our forum!
 
   Home   Help Search Login Register  

Pages: [1]
  Print  
Author Topic: What might cause the Script Execute module to stop running ?  (Read 12562 times)
jamesant
Jr. Member
**

Karma: +0/-0
Posts: 7


View Profile
« on: October 21, 2014, 06:08:56 PM »

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 ?


« Last Edit: October 21, 2014, 06:13:18 PM by jamesant » Logged
Arthur Grasin
Tech. Support
Administrator
Hero Member
*****

Karma: +0/-0
Posts: 806



View Profile WWW
« Reply #1 on: October 22, 2014, 06:32:42 AM »

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.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines