Re: Distributed Ada, robustness etc.



On Thu, 25 May 2006 01:12:08 +0000, Dr. Adrian Wrigley wrote:

<snip>

Hmm. Seems to have gone quiet round here!

perhaps it's the long weekend...
(...continuing the monolog)

Anyway, it's all working nicely. But for one small snag:

The client partitions usually complete when there are no
more active processes in the partition. I used:

for myclient'Termination use Local_Termination;

so that clients don't have to wait for the whole program to
terminate. So far, so good.

But, on the rare occasions when a client call to the
"nameserver" RCI causes a new server partition to be created
(using a system call to start the code), the client
doesn't terminate until after the new partition terminates.
This is a big nuisance.

If I start the server in another terminal window, the client
terminates while the server continues. If the nameserver
starts the server from a client call, the client waits
for the server to terminate.

I don't really understand the mechanism for this behavior,
nor how to solve it. Does the client partition track what OS
processes need to complete before exiting? How? The client
waits, even if the server invocation is backgrounded (with "&").
I think using the "screen" untility might help, but I couldn't get
that didn't work properly either :(
--
Adrian


.



Relevant Pages

  • Re: Allow non-Administrator to view and terminate processes for all users
    ... that is a classic client server implementation. ... tight CPU loop - no page faults, no I/O, no database interaction, no network ... track down and terminate the "bad" processes. ...
    (microsoft.public.windows.server.security)
  • Re: Allow non-Administrator to view and terminate processes for all users
    ... that is a classic client server implementation. ... track down and terminate the "bad" processes. ... Bruce Sanderson MVP Printing ...
    (microsoft.public.windows.server.security)
  • Re: Delphi 2005 Works on Vista Build 5219
    ... Server is optimized for server use, you'll have to tweak it to deliver ... I'd recommend getting a desktop/laptop that is capable of running VMware and just load up all the OSes under VMware. ... With VMware you can even set up client & server configs so that the client and server start up at the same time using a single VM "project"- this is great for testing client/server apps or n-tier apps (you can set up more than 2 VMs to start up in a ... Either get Partition Magic or use Knoppix to resize your existing partitions. ...
    (borland.public.delphi.non-technical)
  • RE: How to force FinalRelease() when clients to out of proc server "crashes"
    ... If the client could not be accessible, then the server can terminate ... Best regards, ...
    (microsoft.public.vc.atl)
  • Re: [SLE] NIS /home problem
    ... I want to serve /home via nfs from the server and mount it on /home on the ... client but yast doesn't let me. ... Must I delete the /home partition on the client to procede with what I ...
    (SuSE)