Outrigger and blitz -- lingering take?

"Logan, Patrick" <[email protected]> Fri, 19 Jan 2007 01:44:53 -0500
Newsgroups gmane.comp.java.sun.javaspaces
Message-ID <[email protected]>
I am seeing what apears to be some sort of "lingering take" on a
javaspace. This happens in Outrigger as well as Blitz.

What I am observing... a worker process is blocked on a take with a null
transaction. I kill the process.

Using the Blitz dashboard I can see after the kill, 1 blocked take. (I'm
not up on similar tools for Outrigger but all the other observations are
the same when I use that.)

Then I start another process running the same worker, and after doing
some other spaces stuff, it soon blocks on a take using the same
template.

When another process writes an entry that matches that template, it
appears this "lingering taker" gets the entry.

I am not sure what the explanation is for this "lingering take". Running
ps indicates the process is really gone.

When I run this with a non-null transaction everything seems fine. I
have no trouble using transactions to make sure cleanup happens, but I
am a little surprise that the null transaction case with both space
implementations do not get cleaned up when a process blocked on a take
gets killed.

Thanks
-Patrick


Patrick Logan
Premium Innovation
Liberty Mutual - Agency Markets IT West
650 NE Holladay Street
PO Box 4555
Portland, OR   97208-4555

Office: 503.736.7537
Cell: 503.476.5387



===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff JAVASPACES-USERS".  For general help, send email to
[email protected] and include in the body of the message "help".

To view past JAVASPACES-USERS postings, please see:
http://archives.java.sun.com/archives/javaspaces-users.html