What is actually happening behind the curtain?

I’ve found that once the external action fails to call a windows command, no 
other commands work without a reboot.

The error is:

File: testbat.taf
Position: External
Class: Internal
Main Error Number: -101
General error during data source operation.

If I understand what is happening in the code (version 5.5) I can identify what 
is wrong and add a layer to watch for it and perhaps clear the issue.

The  volume of requests to the external action went up significantly in a 
recent change to the application. I’d like to fix this or make a workaround 
without having to upgrade the entire system at this time.

Thanks Robert,

Peter


Peter Dobbs
President | ENGINESS | P: 416.901.6151<tel:416.901.6151;118> | F: 
416.901.6150<tel:416.901.6150> | 
www.enginess.io<applewebdata://8216EA48-43EA-4400-A4E3-F4C824DFF588/www.enginess.io>


From: Robert Shubert <rshub...@tronics.com> on behalf of Robert Shubert 
<rshub...@tronics.com>
Reply-To: "TeraScript-Talk@terascript.com" <TeraScript-Talk@terascript.com>
Date: Thursday, July 12, 2018 at 5:23 PM
To: "TeraScript-Talk@terascript.com" <TeraScript-Talk@terascript.com>
Subject: RE: TeraScript-Talk: external action failing

I have had a suspicion that the external action can lock against itself under 
load. Years ago I was using a multi instance setup and found that the servers 
locked up in a way that you are describing. I went to a virtualized 
configuration with one instance per virtual and the problem went away. This was 
on TS 6. I also had a Witango 5.5 user complain of something similar. In that 
case, adding servers solved the issue.

Other than those experiences and a hunch about the root cause being related to 
the external action, I don’t have much more to go on.

One thing that I’ve done which I think helps is to write out a new batch file 
for each external call. This creates two situations:


  1.  Since I swap all the variable data in the file write, I don’t use 
environmental variables
  2.  Since I’m writing a uniquely named file, no two external calls access the 
same file

Furthering my hunch, I think the problem is tied into the environmental 
variables.

Since TS8 is completely rewritten in Java, and uses the Java Process system it 
won’t have any problems.

Robert

From: Peter Dobbs [mailto:pe...@enginess.io]
Sent: Thursday, July 12, 2018 8:31 AM
To: TeraScript-Talk@terascript.com
Subject: TeraScript-Talk: external action failing

Have you ever experienced a situation where external actions (cmd line windows) 
threw errors for no reason?

We have code that has been stable for many years. Recently we’ve begun to 
dramatically increase the number of cli interactions and it seems as though 
windows stops accepting requests from the app server.

Peter


________________________________
To unsubscribe from this list, please send an email to 
lists...@terascript.com<mailto:lists...@terascript.com> with "unsubscribe 
terascript-talk" in the body.

________________________________
To unsubscribe from this list, please send an email to 
lists...@terascript.com<mailto:lists...@terascript.com> with "unsubscribe 
terascript-talk" in the body.


----------------------------------------

To unsubscribe from this list, please send an email to lists...@terascript.com 
with "unsubscribe terascript-talk" in the body.

Reply via email to