Hello,
My basic question is the same as that from:
http://www.jppf.org/forums/index.php?topic=1172.0however that topic is really old so I'm starting a new one.
The basic issue that I'm having is that my tasks are timing out before they even begin to run. That post talks about the timer starting when the bundle is handed to the node, but then references a bug to fix this behavior so that the timer starts when the task actually starts to run:
http://sourceforge.net/p/jppf-project/bugs/122/This bug has subsequently been closed as fixed (status closed-fixed), however I'm still seeing the same problem. My tasks timeout before they even begin to run (this is with only a task timeout set, and no job timeout set).
As alluded to in the other thread, I can solve this problem using the nodethreads load balancing model and setting the multiplier to 1. However, since my jobs have a large number of short tasks (typically on the order of 1-100ms) this completely kills the performance.
FWIW, I'm running version 3.1.4.
So I have three questions:
1. Is this still the expected behavior, or was this problem supposed fixed when that bug was closed?
2. Do you have any other suggested workarounds which wouldn't be such a performance killer? I have to have some way of timing out my tasks, since some of my times will run forever if I let them.
3. (only vaguly related) Is it correct that when a timeout occurs, the result for the task is set to null, even if a result is also set in the run method. Additionally, the only way to detect a timeout is to check for this null result value, correct?
Thanks much for your help on this.
-Nate