In a message dated 09-25-99, Peter Knapper said to All about "Concurrent
sessions fail."
Hi Peter,
[snip]
PK>If I modify PRIMARY.CMD and insert a utility BETWEEN the 2
PK>Start commands that invokes a 2 second "SLEEP", then
PK>everything appears to start up fine.
The most likely cause of contention in your code with be the RxFuncAdd()
calls and the subsequent library registrations. These all require a mutex
that serializes the shared memory area for the REXX external functions
table. I suspect something in the REXX run-time just shuts down the process
if acquiring the mutex fails.
My best suggestion is to remove the code in question from the worker
routines and ensure that all the libraries required have been registered
before the overall processing starts. One way would be to do all the prep
work in REXX too, and include in this the registration of the external
libraries. This would allow the ftp processes to operate in parallel as you
intend without having to compete for update access to the REXX external
function table.
Regards
Dave
___
* MR/2 2.25 #353 * A chrysanthemum by any other name would be easier to
spell.
--- Maximus/2 3.01
267/200
45
* Origin: Air Applewood, OS/2 Gateway to Essex 44-1279-792300 (2:257/609)
|