Dear Phil McGuinness:
On Wednesday, February 2, 2022 at 2:15:46 AM UTC-7, Phil McGuinness wrote:
> Jamal, Wolfgang
>
> Have it working [but it] crashes it seems randomly. I am not sure is
> DBServer thread safe. I simply want a subset of data, open as
> DBSERVER and do some slow process to REST service.
> The crash seems relate totally to a field in Dbserver.
Imagine a "blind" "vanilla" VO application, that looks for an "instruction file" in its working directory, renames it to an "in process" name (assuming it gets to, file is not locked or still being written to), does what is in the instruction file, and then renames it to a "completed" name. It can be run at startup of the machine, as others have suggested.
VO is "free and easy" with stacks, and creating and freeing memory within its domain. So you are NOT going to have success, unless you change how you code to prevent it doing this, possibly even accessing data files will be impossible, as a "thread". Let it run as a standalone.
You can check status on assigned tasks, by checking the file names, and dates.
David A. Smith (not a VO programmer, but an earlier sister programmer)