#156 Driver: local node start sometimes

v2.5.2
closed-works-for-me
Server (62)
5
2011-08-30
2011-07-24
No

Local NODE in driver starts sometimes.
I have 2 logs from driver.
One run - node started correctly, other run - node don't start at all.
Both runs on same 4 core computer, with same configuration (standard config, local node enabled).
dir: JPPF-2.5.1-driver
ant run - node started
CTRL-C
ant run - node NOT started
CTRL-C

On my single core machine node never starts.

Discussion

  • Martin JANDA

    Martin JANDA - 2011-07-24

    Node not started

     
  • Martin JANDA

    Martin JANDA - 2011-07-24

    Node started

     
  • Martin JANDA

    Martin JANDA - 2011-07-24

    I made patch that creates node after driver initialization is complete and inserts 1.5s delay before 'Local node' thread is started. Without delay local node don't start.

    !!! this patch is just workaround for problem NOT fix !!!

    PS I attached thread dump with Local node thread waitning on goToSleep in JPPFNode.initHelper.
    After my workaround initHelpter don't wait and is initialzed correctly

     
  • Martin JANDA

    Martin JANDA - 2011-07-24

    Sorry last patch+thread dump are against server trunk.

    Previous 2 logs + properties are from 2.5.1 release

     
  • Martin JANDA

    Martin JANDA - 2011-08-23

    Patch for revision 1250

     
  • Laurent Cohen

    Laurent Cohen - 2011-08-30

    Committed changes to:
    trunk: revision 1769
    branch b2.5: 1770

     
  • Laurent Cohen

    Laurent Cohen - 2011-08-30
    • assigned_to: nobody --> lolocohen
    • milestone: 2086064 --> v2.5.2
     
  • Martin JANDA

    Martin JANDA - 2011-08-30
    • status: open --> closed-works-for-me
     
  • Martin JANDA

    Martin JANDA - 2011-08-30

    Works for me. tested on trunk 1769. I suppose that b2.5 is working too.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks