osaf/services/saf/clmsv/config/clmsv_objects.xml |  4 ++--
 osaf/services/saf/ntfsv/config/ntfsv_objects.xml |  2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)


It has been observed (in pre 4.4) on field that a client of LOG (in the 
specific case - CLM,
but in general all LOG API users) can get blocked when calling saflog() or LOG()
because the LGS was busy doing a file operation.
The current MDS API timeout is 10 seconds and the csisetcallback timeout for
all(except SMF has about 30 seconds) services is 10 seconds.
in the worst case scenario, the saflog() internal utility can take 30 seconds 
before returning,
i.e. saflog internally calls three synchronous apis.
This patch changes the csisetcallback timeout to 40 seconds.

diff --git a/osaf/services/saf/clmsv/config/clmsv_objects.xml 
b/osaf/services/saf/clmsv/config/clmsv_objects.xml
--- a/osaf/services/saf/clmsv/config/clmsv_objects.xml
+++ b/osaf/services/saf/clmsv/config/clmsv_objects.xml
@@ -30,7 +30,7 @@
                </attr>
                <attr>
                        <name>saAmfCtDefCallbackTimeout</name>
-                       <value>10000000000</value>
+                       <value>40000000000</value>
                </attr>
                <attr>
                        <name>saAmfCtRelPathInstantiateCmd</name>
@@ -126,7 +126,7 @@
                </attr>
                <attr>
                        <name>saAmfCtDefCallbackTimeout</name>
-                       <value>10000000000</value>
+                       <value>40000000000</value>
                </attr>
                <attr>
                        <name>saAmfCtRelPathInstantiateCmd</name>
diff --git a/osaf/services/saf/ntfsv/config/ntfsv_objects.xml 
b/osaf/services/saf/ntfsv/config/ntfsv_objects.xml
--- a/osaf/services/saf/ntfsv/config/ntfsv_objects.xml
+++ b/osaf/services/saf/ntfsv/config/ntfsv_objects.xml
@@ -19,7 +19,7 @@
                </attr>
                <attr>
                        <name>saAmfCtDefCallbackTimeout</name>
-                       <value>10000000000</value>
+                       <value>40000000000</value>
                </attr>
                <attr>
                        <name>saAmfCtRelPathInstantiateCmd</name>

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to