Hi Ramesh,

I only increased the tolerance time, assuming that the time to start transportd 
in this case is longer than usual.

/Regards HansN

From: ramesh betham [mailto:[email protected]]
Sent: den 7 mars 2017 11:55
To: Hans Nordebäck <[email protected]>
Cc: Anders Widell <[email protected]>; 
[email protected]
Subject: Re: [PATCH 1 of 1] nid: OpenSAF failed to start on controller randomly 
[#2346]

Hi Hans,

Just to check with you, were you able to reproduce the issue and this fix is 
resolving it. Because there can be some other reasons for open to fail.
Mar 10 12:26:11 suseR2-S1 opensafd[2869]: ER Failed to open 
/var/lib/opensaf/osaftransportd.fifo, error: No such device or address
Thanks,
Ramesh.

On 3/7/2017 12:50 PM, Hans Nordeback wrote:


 src/nid/nodeinit.cc |  2 +-

 1 files changed, 1 insertions(+), 1 deletions(-)





diff --git a/src/nid/nodeinit.cc b/src/nid/nodeinit.cc

--- a/src/nid/nodeinit.cc

+++ b/src/nid/nodeinit.cc

@@ -1436,7 +1436,7 @@ int handle_data_request(struct pollfd *f

         }

         fifo_fd = open(fifo_file.c_str(), O_WRONLY | O_NONBLOCK);

       } while ((fifo_fd == -1) &&

-               (retry_cnt++ < 5 && (errno == EINTR || errno == ENXIO)));

+               (retry_cnt++ < 50 && (errno == EINTR || errno == ENXIO)));



       if (fifo_fd == -1) {

         LOG_ER("Failed to open %s, error: %s", fifo_file.c_str(),

------------------------------------------------------------------------------
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to