<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
 xmlns:dc="http://purl.org/dc/elements/1.1/"
 xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
 xmlns:admin="http://webns.net/mvcb/"
 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
 xmlns:content="http://purl.org/rss/1.0/modules/content/"
 xmlns:wfw="http://wellformedweb.org/CommentAPI/">
<channel>
<title>Daniel Nashed&#8217;s Blog</title>
<description>Domino on Linux/Unix, Troubleshooting, Best Practices, Tips and more ...</description>
<link>http://blog.nashcom.de/nashcomblog.nsf/</link>
<language>en-us</language>
<lastBuildDate>Mon, 30 Apr 2012 10:39:06 +0200</lastBuildDate>
<item>
<title>RunFaster=1 for Domino on Linux</title>
<pubDate>Mon, 30 Apr 2012 10:39:06 +0200</pubDate>
<description>
<![CDATA[ 

We have been tracing this problem together with IBM for half a year and finally got a solution for a performance problem that blocked us from migrating 8500 users from Groupwise to Domino.
When we ...
 ]]>
</description>
<link>http://blog.nashcom.de/nashcomblog.nsf/dx/runfaster1-for-domino-on-linux.htm</link>
<category>Linux</category>
<dc:creator>Daniel Nashed</dc:creator>
<comments>http://blog.nashcom.de/nashcomblog.nsf/dx/runfaster1-for-domino-on-linux.htm?opendocument&amp;comments</comments>
<guid isPermaLink="true">http://blog.nashcom.de/nashcomblog.nsf/dx/runfaster1-for-domino-on-linux.htm</guid>
<content:encoded><![CDATA[ <br/>
We have been tracing this problem together with IBM for half a year and finally got a solution for a performance problem that blocked us from migrating 8500 users from Groupwise to Domino.<br/>
When we first started to run large scale imports to Domino (load with creating many documents with attachments in parallel with multiple workstations) I discovered a slow down for some transactions by 100 ms or even a multiple of 100 ms.<br/>
Part of the problem was based on issues introduced with a newer kernel that SuSE is using in SLES11. The new process scheduler CFS which I have blogged earlier needs some &quot;tuning&quot; to work nicely with Domino.<br/>
SLES 11 SP2 even ships with a 3.0 kernel which has an updated CFS implementation which needs a different tuning setting than SP1 (you need to set echo NO_FAIR_SLEEPERS &gt; /sys/kernel/debug/sched_features after reboot).<br/>
In addition another disk I/O issue is fixed in the shipping 3.0 kernel which in addition reduces the I/O.<br/>
<br/>
Still those settings did not help to completely solve the problem and we continued tracing. I have build test tools to do all sort of load tests locally and remotely to figure out what could cause the delay. <br/>
And it turned out that there was an issue with the IOCP handling (sys-epoll) which caused delays in the thread pool coordination.<br/>
<br/>
Last week we got a hotfix (853FP1HF85) containing a changed behaviour in the way the worker threads are coordinated (SPR PHEY8RJHXR).<br/>
This SPR is already submitted for 8.5.4 and should hopefully make it into 8.5.3 FP2.<br/>
<br/>
In testing the response time for a normal work-load was five times lower than without the fix!<br/>
In my testing with an attachment workload I had even better results.<br/>
<br/>
<b>Load Test Environment</b><br/>
<br/>
- 30 threads <br/>
- 100 documents<font size="4">&nbsp;</font><br/>
- attachment size 2 MB<font size="4">&nbsp;</font><br/>
- create 8.5.3 mailfiles from template<font size="4">&nbsp;</font><br/>
- search for all documents after writing them<font size="4">&nbsp;</font><br/>
<br/>
nshload -t30 -w100 -a /largefile.txt -s servername<br/>
<br/>
<b>Infrastructure</b><b><font size="4">&nbsp;</font></b><br/>
<br/>
- SLES 11 SP2 64bit Domino 8.5.3 FP1<font size="4">&nbsp;</font><br/>
- fast quad-core CPU, fast, local RAID10 disks, 32 GB RAM<font size="4">&nbsp;</font><br/>
- Intel(R) Xeon(R) CPU  E5620  @ 2.40GHz<font size="4">&nbsp;</font><br/>
<br/>
Special Configuration<font size="4">&nbsp;</font><br/>
- amgr disabled<font size="4">&nbsp;</font><br/>
- transaction logging enabled<font size="4">&nbsp;</font><br/>
- NO_FAIR_SLEEPERS for most tests beside one test<font size="4">&nbsp;</font><br/>
- noop scheduler instead of CFQ for disk devices<font size="4">&nbsp;</font><br/>
<br/>
I have tested with out network interface creating the documents locally as a reference.<font size="4">&nbsp;</font><br/>
Than I tested without the fix but NO_FAIR_SLEEPERS set<font size="4">&nbsp;</font><br/>
After that I did a test with the hotfix. <br/>
<br/>
And I have got the following results<font size="4"><br/>
</font>
<table border="1">
<tr valign="top"><td width="139"><img  width="1" height="1" src="http://blog.nashcom.de/nashcomblog.nsf/dx//icons/ecblank.gif/$file//icons/ecblank.gif" border="0" alt=""/></td><td width="81">no network </td><td width="72">without fix </td><td width="110">fix + fair sleeper </td><td width="135"> fix + no fair sleeper </td></tr>

<tr valign="top"><td width="139">elapsed time (sec)</td><td width="81">56 </td><td width="72">828 </td><td width="110">78 </td><td width="135">68 </td></tr>

<tr valign="top"><td width="139">response time client<br/>
(ms) </td><td width="81">2 </td><td width="72">40-60 </td><td width="110">5 </td><td width="135">3</td></tr>
</table>
<br/>
<br/>
Response  time improvment: 12 times faster (reduced to 8%) <br/>
Elapsed time improvement:  16 times faster (reduced to 6%) <br/>
<br/>
We have a dramatical performance improvement with the hotfix. <br/>
You can also see that the NO_FAIR_SLEEPERS is helpful but the real performance boost we get is because of the hotfix :-) <br/>
<br/>
Our current nightly migration runs for 24 hours. With this fix I would assume that at least it would be done in 1/5 of the time (really careful estimation if the migration tool does not cause other delays) . <br/>
So we would be done in 5 hours instead of 24 hours. <br/>
This solves our performance issues during migration and also improves response time during normal operations dramatically.<br/>
<br/>
I have also done another tests creating documents with attachments in parallel with 100 threads. <br/>
There was no response time slow down with the nshopen tests. I got the same 3 ms average response time. <br/>
The test creating 100 documents with 100 threads and a 1,5 MB attachment in parallel took 187 seconds!!!<br/>
<br/>
If you are not running into critical performance issues you should wait for the next fixpack to ship.<br/>
In case you are having issues you should first looking into the other performance optimizations I have posted (CFS changed, switching from CFQ to noop disk I/O scheduler).<br/>
If that does not help you could open a PMR to get the hotfix :-)<br/>
<br/>
I am looking forward to the Domino performance team to ship new performance benchmark comparing Linux with Windows in future :-)<br/>
<br/>
-- Daniel<br/>
<br/>
<br/>
 ]]></content:encoded>
<wfw:commentRss> http://blog.nashcom.de/nashcomblog.nsf/dxcomments/runfaster1-for-domino-on-linux.htm</wfw:commentRss>
<wfw:comment> http://blog.nashcom.de/nashcomblog.nsf/dx/runfaster1-for-domino-on-linux.htm?opendocument&amp;comments</wfw:comment>
</item>
<item>
<title>Linux I/O Performance Tweek</title>
<pubDate>Mon, 23 Apr 2012 06:51:09 +0200</pubDate>
<description>
<![CDATA[ 


During a performance troubleshooting session at a customer we found a very interesting tuning option that can boost your storage performance dramatically.
This setting is really helpful for SAN e ...
 ]]>
</description>
<link>http://blog.nashcom.de/nashcomblog.nsf/dx/linux-io-performance-tweek.htm</link>
<category>Linux</category>
<dc:creator>Daniel Nashed</dc:creator>
<comments>http://blog.nashcom.de/nashcomblog.nsf/dx/linux-io-performance-tweek.htm?opendocument&amp;comments</comments>
<guid isPermaLink="true">http://blog.nashcom.de/nashcomblog.nsf/dx/linux-io-performance-tweek.htm</guid>
<content:encoded><![CDATA[ 
<p><br/>
During a performance troubleshooting session at a customer we found a very interesting tuning option that can boost your storage performance dramatically.<br/>
This setting is really helpful for SAN environments, SSD discs, virtual servers and also physical servers using RAID storage.<br/>
<br/>
Current Linux versions do use the an I/O scheduler called CFQ (complete fair queuing).<br/>
This scheduler is helpful when you have simple local disk where Linux can optimize the I/O requests by re-ordering them.<br/>
<br/>
But this can introduce latency with modern I/O devices. <br/>
If you have a caching RAID controller or a SAN, SSD disk the hardware backend is far more effective optimizing the I/O. <br/>
Most disk sub-systems also include a larger amount of cache to optimize the I/O.<br/>
<br/>
Changing the I/O scheduler from &quot;CFQ&quot; to &quot;noop&quot; can dramatically reduce I/O latency. <br/>
The &quot;await&quot; in the iostat output shows the time needed for an I/O request from the application to the queue, to the disk and back to the application. <br/>
Even if the service time of the device is good (svctm) the await could be a lot higher because of CFQ that tries to re-order the I/O requests.<br/>
<br/>
If you switch from &quot;CFQ&quot; to &quot;noop&quot; all I/O requests are send to the I/O device directly without any additional delay. <br/>
You will notice that the await is dramatically reduced.<br/>
<br/>
We have seen good results with SAN environments and also physical disks.<br/>
<br/>
Here is an example for two tests that we did with a larger physical machine with RAID 10 disks.<br/>
<br/>
<b>First Test</b> <br/>
<br/>
I have used 80 thread to read 32000 docs each (80 separate local databases on the server with small documents)<font size="4">&nbsp;</font><br/>
<br/>
The result was as follows:<font size="4">&nbsp;</font><br/>
51 sec with CFQ scheduler<font size="4">&nbsp;</font><br/>
28 sec with noop scheduler<font size="4">&nbsp;</font><br/>
19 sec all data in cache.<font size="4">&nbsp;</font><br/>
<br/>
<b>Second Test</b><br/>
<br/>
80 threads creating 2000 docs each<font size="4">&nbsp;</font><br/>
with noop 42 sec<font size="4">&nbsp;</font><br/>
with cfq 132 sec<font size="4">&nbsp;</font><br/>
<br/>
You can see from the results that we have dramatic difference in performance between CFQ and noop.<font size="4">&nbsp;</font><br/>
The server had a lot of RAM and repeating the test did not show and read I/O.<font size="4">&nbsp;</font><br/>
So all data has been served from cache in this case! That means the 19 seconds is without physical disk I/O. Just the processing time in back-end.<font size="4">&nbsp;</font><br/>
<br/>
<b><i>Side note for File-System Cache</i></b><br/>
<br/>
<i>Even for larger environment caching can effect the results. So for all tests beside the last test we have flushed the file-system cache.</i><i><font size="4">&nbsp;</font></i><br/>
<br/>
<i>Here is the cache flush command on Linux</i><i><font size="4">&nbsp;</font></i><br/>
<i> echo 3 &gt; /proc/sys/vm/drop_caches</i><i><font size="4">&nbsp;</font></i><br/>
<br/>
<i>So if you do your own testing you should </i><br/>
<br/>
<br/>
Here is a short extract from an older IBM Linux redbook that is a great summary of the background:<br/>
<br/>
<b>Select the right I/O elevator in kernel 2.6</b><b><font size="4">&nbsp;</font></b><b><br/>
</b>For most server workloads, the complete fair queuing (CFQ) elevator is an adequate choice<font size="4">&nbsp;</font><br/>
as it is optimized for the multiuser, multiprocess environment a typical server operates in.<font size="4">&nbsp;</font><br/>
However, certain environments can benefit from a different I/O elevator.<font size="4"> <br/>
</font><br/>
<b>Intelligent disk subsystems</b><b><font size="4">&nbsp;</font></b><b><br/>
</b>Benchmarks have shown that the NOOP elevator is an interesting alternative in high-end<font size="4">&nbsp;</font><br/>
server environments. When using IBM ServeRAID or TotalStorage DS class disk<font size="4">&nbsp;</font><br/>
subsystems, the lack of ordering capability of the NOOP elevator becomes its strength.<font size="4">&nbsp;</font><br/>
Intelligent disk subsystems such as IBM ServeRAID and TotalStorage DS class disk<font size="4">&nbsp;</font><br/>
subsystems feature their own I/O ordering capabilities. Enterprise class disk subsystems<font size="4">&nbsp;</font><br/>
may contain multiple SCSI or FibreChannel disks that each have individual disk heads and<font size="4">&nbsp;</font><br/>
data striped across the disks. It would be very difficult for an operating system to anticipate<font size="4">&nbsp;</font><br/>
the I/O characteristics of such complex subsystems correctly, so you might often observe<font size="4">&nbsp;</font><br/>
at least equal performance at less overhead when using the NOOP I/O elevator.<font size="4"> <br/>
</font><br/>
<b>Virtual machines</b><b><font size="4">&nbsp;</font></b><b><br/>
</b>Virtual machines, regardless of whether in VMware or VM for zSeries®, may only<font size="4">&nbsp;</font><br/>
communicate through the virtualization layer with the underlying hardware. Hence a virtual<font size="4">&nbsp;</font><br/>
machine is not aware of the fact if the assigned disk device consists of a single SCSI<font size="4">&nbsp;</font><br/>
device or an array of FibreChannel disks on a TotalStorage DS8000. The virtualization<font size="4">&nbsp;</font><br/>
layer takes care of necessary I/O reordering and the communication with the physical<font size="4">&nbsp;</font><br/>
block devices. Therefore, we recommend using the NOOP elevator for virtual machines to<font size="4">&nbsp;</font><br/>
ensure minimal processor overhead.<font size="4"> <br/>
</font><br/>
<br/>
<b>How do you change the settings?</b><br/>
<br/>
You can change the setting dynamically for testing with this manual command (example for hda device)<br/>
<br/>
#<br/>
echo noop &gt; /sys/block/hda/queue/scheduler<br/>
<br/>
If you want to permanently change the scheduler for all block devices you can set it as a boot option.<br/>
<br/>
Edit /boot/grub/grub.conf and enter in kernel line elevator=noop.<br/>
<br/>
<br/>
<b>Conclusion</b><br/>
<br/>
You should really look into this setting and try it in your environment.<br/>
Changing the settings dynamically in an production environment does not cause any issues and you can see with &quot;iostat -x 1&quot; how the &quot;await&quot; will change.<br/>
<br/>
I am interested in your feedback from your environments.<br/>
<br/>
-- Daniel<br/>
 ]]></content:encoded>
<wfw:commentRss> http://blog.nashcom.de/nashcomblog.nsf/dxcomments/linux-io-performance-tweek.htm</wfw:commentRss>
<wfw:comment> http://blog.nashcom.de/nashcomblog.nsf/dx/linux-io-performance-tweek.htm?opendocument&amp;comments</wfw:comment>
</item>
<item>
<title>Process iCalendar attachment while in other mailfiles</title>
<pubDate>Thu, 19 Apr 2012 14:17:31 +0200</pubDate>
<description>
<![CDATA[ 

Normally you can only import iCal data into your own mail-file. This limitation sounds like working as designed.
But there is a notes.ini setting that I just found that allows import into other mai ...
 ]]>
</description>
<link>http://blog.nashcom.de/nashcomblog.nsf/dx/process-icalendar-attachment-while-in-other-mailfiles.htm</link>
<category>Tips</category>
<dc:creator>Daniel Nashed</dc:creator>
<comments>http://blog.nashcom.de/nashcomblog.nsf/dx/process-icalendar-attachment-while-in-other-mailfiles.htm?opendocument&amp;comments</comments>
<guid isPermaLink="true">http://blog.nashcom.de/nashcomblog.nsf/dx/process-icalendar-attachment-while-in-other-mailfiles.htm</guid>
<content:encoded><![CDATA[ <br/>
Normally you can only import iCal data into your own mail-file. This limitation sounds like working as designed.<br/>
But there is a notes.ini setting that I just found that allows import into other mail-files as well :-)<br/>
Also other databases with calendars should work according to the TN.<br/>
<br/>
Just found it in a technote (#1469271) checking for something else ...<br/>
<br/>
notes.ini ICAL_IMPORT_MANAGED_USER=1<br/>
<br/>
-- Daniel ]]></content:encoded>
<wfw:commentRss> http://blog.nashcom.de/nashcomblog.nsf/dxcomments/process-icalendar-attachment-while-in-other-mailfiles.htm</wfw:commentRss>
<wfw:comment> http://blog.nashcom.de/nashcomblog.nsf/dx/process-icalendar-attachment-while-in-other-mailfiles.htm?opendocument&amp;comments</wfw:comment>
</item>
<item>
<title>New Traveler Companion APP 2.0.7</title>
<pubDate>Wed, 18 Apr 2012 16:46:54 +0200</pubDate>
<description>
<![CDATA[ 

Description of the update just says &quot;Bug Fixes&quot;

Hmm.. still a good idea to install .. 

-- Daniel ...
 ]]>
</description>
<link>http://blog.nashcom.de/nashcomblog.nsf/dx/new-traveler-companion-app-2.0.7.htm</link>
<category>Traveler</category>
<dc:creator>Daniel Nashed</dc:creator>
<comments>http://blog.nashcom.de/nashcomblog.nsf/dx/new-traveler-companion-app-2.0.7.htm?opendocument&amp;comments</comments>
<guid isPermaLink="true">http://blog.nashcom.de/nashcomblog.nsf/dx/new-traveler-companion-app-2.0.7.htm</guid>
<content:encoded><![CDATA[ <br/>
Description of the update just says &quot;Bug Fixes&quot;<br/>
<br/>
Hmm.. still a good idea to install .. <br/>
<br/>
-- Daniel ]]></content:encoded>
<wfw:commentRss> http://blog.nashcom.de/nashcomblog.nsf/dxcomments/new-traveler-companion-app-2.0.7.htm</wfw:commentRss>
<wfw:comment> http://blog.nashcom.de/nashcomblog.nsf/dx/new-traveler-companion-app-2.0.7.htm?opendocument&amp;comments</wfw:comment>
</item>
<item>
<title>ComputeWithForm Performance</title>
<pubDate>Mon, 16 Apr 2012 10:43:28 +0200</pubDate>
<description>
<![CDATA[ 


I have done some analysis for a customer which lead to a PMR and a SPR which is marked as an enhancement request. 
We got feedback that this is not going to be addressed in the current code strea ...
 ]]>
</description>
<link>http://blog.nashcom.de/nashcomblog.nsf/dx/computewithform-performance.htm</link>
<category>Performance</category>
<dc:creator>Daniel Nashed</dc:creator>
<comments>http://blog.nashcom.de/nashcomblog.nsf/dx/computewithform-performance.htm?opendocument&amp;comments</comments>
<guid isPermaLink="true">http://blog.nashcom.de/nashcomblog.nsf/dx/computewithform-performance.htm</guid>
<content:encoded><![CDATA[ <br/>
<br/>
I have done some analysis for a customer which lead to a PMR and a SPR which is marked as an enhancement request. <br/>
We got feedback that this is not going to be addressed in the current code stream but I think this is still a quite relevant improvement specially for customer and business partner applications.<br/>
<br/>
In our analysis it turned out that with NSFNoteComputeWithForm (and also when you use the derived functions in LS and Java)<br/>
<br/>
<b>a.) subforms and shared fields are not cached from cache.ndk</b><br/>
<br/>
<b>b.) and also when searching subforms and shared fields (potential more we did only find those in client_clock data) the design collection is searched instead of using FINDDESIGN transactions. </b><br/>
<br/>
So not only the cache.ndk is not used but also those transactions are not optimized.<br/>
It means that if you have multiple subforms and shared fields for each of them the design collection is read -- every time.<br/>
<br/>
For a database with many design elements this means a quite lot overhead. <br/>
So instead of zero bytes going over the wire if cache.ndk would be leveraged (after the design element has been loaded for the first time) instead of a cheap transaction <br/>
(FINDDESIGN -- transfering only a couple of bytes) we have many transactions reading the design collection.<br/>
For a database with large design each of those lookups could be multiple 64k read transactions until the design element is found.<br/>
<br/>
Those transactions look usually like this:<br/>
<br/>
<b>(442-79 [618]) READ_ENTRIES(REPC125757C:00308E76-NTFFFF0020): 34 ms. [76+64958=65034]</b><br/>
<br/>
The internal number for the design collection is 0xFFFF0020. And you can see that a 64K block is read. <br/>
The number of reads depend on the size of the database design and where in the design collection the design element is located.<br/>
So you could end up having 3-15 additional transactions with <br/>
<br/>
This sounds like code that has not been changed when the design cache was introduced long time ago.<br/>
We got a <b>SPR # BHUY8SELK9</b> which marked as enhancement request and is not planned to be addressed in this code-stream. <br/>
If you are interested to have this enhanced you could open a PMR referencing this SPR.<br/>
<br/>
For now you should be very carefully with subforms and shared fields -- and big main forms if you use &quot;ComputeWithForm&quot; in an application that you access on a server over WAN connections.<br/>
<br/>
-- Daniel ]]></content:encoded>
<wfw:commentRss> http://blog.nashcom.de/nashcomblog.nsf/dxcomments/computewithform-performance.htm</wfw:commentRss>
<wfw:comment> http://blog.nashcom.de/nashcomblog.nsf/dx/computewithform-performance.htm?opendocument&amp;comments</wfw:comment>
</item>
<item>
<title>Unix/Linux Start Script Update for high CPU issue</title>
<pubDate>Tue, 10 Apr 2012 12:19:09 +0200</pubDate>
<description>
<![CDATA[ 

There was an issue that in some cases when the monitor command was running and the shell was closed, the script could not catch the dead text file caused by the shell.
I have changed the trap event ...
 ]]>
</description>
<link>http://blog.nashcom.de/nashcomblog.nsf/dx/unixlinux-start-script-update-for-high-cpu-issue.htm</link>
<category>Linux</category>
<dc:creator>Daniel Nashed</dc:creator>
<comments>http://blog.nashcom.de/nashcomblog.nsf/dx/unixlinux-start-script-update-for-high-cpu-issue.htm?opendocument&amp;comments</comments>
<guid isPermaLink="true">http://blog.nashcom.de/nashcomblog.nsf/dx/unixlinux-start-script-update-for-high-cpu-issue.htm</guid>
<content:encoded><![CDATA[ <br/>
There was an issue that in some cases when the monitor command was running and the shell was closed, the script could not catch the dead text file caused by the shell.<br/>
I have changed the trap events and now I hopefully trap all signals that could occur.<br/>
We got this problem only on some platforms. And I cannot test on all different versions of Linux.<br/>
I hope this change resolves all cases. If not send me your feedback.<br/>
<br/>
You can request the new version on the start script homepage.<br/>
<br/>
<a href="http://www.nashcom.de/nshweb/pages/startscript.htm">http://www.nashcom.de/nshweb/pages/startscript.htm</a><br/>
<br/>
-- Daniel<br/>
<br/>
<br/>
<br/>
V2.4 10.04.2012<br/>
<br/>
Problems Solved<br/>
---------------<br/>
Solved an issue when closing a terminal window while the monitor was running.<br/>
With some OS releases and some shells this caused that the script did not terminate due to issues in the shell.<br/>
This could lead to high CPU usage (100% for one core) for the script because the loop did not terminate.<br/>
The change to catch more events from the shell should resolve this issue.<br/>
If you still run into problems in this area, please send feedback. ]]></content:encoded>
<wfw:commentRss> http://blog.nashcom.de/nashcomblog.nsf/dxcomments/unixlinux-start-script-update-for-high-cpu-issue.htm</wfw:commentRss>
<wfw:comment> http://blog.nashcom.de/nashcomblog.nsf/dx/unixlinux-start-script-update-for-high-cpu-issue.htm?opendocument&amp;comments</wfw:comment>
</item>
<item>
<title>FTIndex Crash with C-API based tools caused by a change in D8.5.3</title>
<pubDate>Tue, 10 Apr 2012 08:43:21 +0200</pubDate>
<description>
<![CDATA[ 

We ran into this problem quite badly and the root cause was hard to track.
One of my applications (nshrun -- a tool to do multiple tasks in parallel on multiple databases) started to crash without ...
 ]]>
</description>
<link>http://blog.nashcom.de/nashcomblog.nsf/dx/ftindex-crash-with-c-api-based-tools-caused-by-a-change-in-d8.5.3.htm</link>
<category>C-API</category>
<dc:creator>Daniel Nashed</dc:creator>
<comments>http://blog.nashcom.de/nashcomblog.nsf/dx/ftindex-crash-with-c-api-based-tools-caused-by-a-change-in-d8.5.3.htm?opendocument&amp;comments</comments>
<guid isPermaLink="true">http://blog.nashcom.de/nashcomblog.nsf/dx/ftindex-crash-with-c-api-based-tools-caused-by-a-change-in-d8.5.3.htm</guid>
<content:encoded><![CDATA[ <br/>
We ran into this problem quite badly and the root cause was hard to track.<br/>
One of my applications (nshrun -- a tool to do multiple tasks in parallel on multiple databases) started to crash without a meaningful call-stack.<br/>
I started to figure out the root cause and identified that the C-API call FTIndex causes a crash of the calling function because the stack is damaged.<br/>
<br/>
It turned out that IBM changed the structure of the statistic buffer for FTIndex by adding two new variables. <br/>
This change caused incompatibility with all existing applications using this structure with FTIndex.<br/>
When using a previous version of the C-API toolkit the memory buffer passed to the function was to small and the function did overwrite memory which caused the stack to be corrupt.<br/>
<br/>
The problem exists with 8.5.3 and 8.5.3 FP1 and will be corrected in 8.5.3 FP2 and 8.5.4. The exposed structure will be reverted back to the old format.<br/>
In the meantime to get your application working you have multiple options<br/>

<p>a.) wait for 8.5.3 FP2 or 8.5.4<br/>
b.) don't use the statistics returned and pass NULL as the parameter<br/>
c.) recompile just for 8.5.3 with the current 8.5.3 C-API<br/>
d.) redefine the structure in your earlier toolkit version and compile -- for older versions the bigger buffer does not cause any issues<br/>
<br/>
There is a upcoming technote (TN #1590244) which is not yet released and the SPR we got for the problem is APAR#LO68258/SPR #VDES8SMFCJ.<br/>
<br/>
I am going to compile my applications with a changed header structure to ensure it will continue to work with all releases of Domino.<br/>
<br/>
-- Daniel<br/>
<br/>
<br/>
<br/>
STATUS LNPUBLIC FTIndex(DBHANDLE hDB,WORD Options,char far *StopFile, <b>FT_INDEX_STATS</b> far *retStats);<br/>

<p>In version 853, the structure FT_INDEX_STATS was updated as shown below in both product code and the C API toolkit.<br/>
typedef struct<br/>
{<br/>
DWORD DocsAdded; /* # of new documents */<br/>
DWORD DocsUpdated; /* # of revised documents */<br/>
DWORD DocsDeleted; /* # of deleted documents */<br/>
DWORD BytesIndexed; /* # of bytes indexed */<br/>
<b><font color="#FF0000">DWORD Merges; /* # of index merges */</font></b><br/>
<b><font color="#FF0000">DWORD MergeMsec; /* Msec spent merging */</font></b><br/>
}<br/>
FT_INDEX_STATS; <br/>
<br/>
In previous versions on the product, this structure was defined as shown below.<br/>
typedef struct<br/>
{<br/>
DWORD DocsAdded; /* # of new documents */<br/>
DWORD DocsUpdated; /* # of revised documents */<br/>
DWORD DocsDeleted; /* # of deleted documents */<br/>
DWORD BytesIndexed; /* # of bytes indexed */<br/>
}<br/>
FT_INDEX_STATS; ]]></content:encoded>
<wfw:commentRss> http://blog.nashcom.de/nashcomblog.nsf/dxcomments/ftindex-crash-with-c-api-based-tools-caused-by-a-change-in-d8.5.3.htm</wfw:commentRss>
<wfw:comment> http://blog.nashcom.de/nashcomblog.nsf/dx/ftindex-crash-with-c-api-based-tools-caused-by-a-change-in-d8.5.3.htm?opendocument&amp;comments</wfw:comment>
</item>
<item>
<title>Domino on Linux Plattform stats might use 100% CPU</title>
<pubDate>Thu, 22 Mar 2012 20:52:47 +0200</pubDate>
<description>
<![CDATA[ 
We ran into this issue on a couple of customer sites. It is not completely sure in which release starts (in a fixpack of 8.5.2 and in 8.5.3 for sure). 
The problem is that the server thread responsib ...
 ]]>
</description>
<link>http://blog.nashcom.de/nashcomblog.nsf/dx/domino-on-linux-plattform-stats-might-use-100-cpu.htm</link>
<category>Linux</category>
<dc:creator>Daniel Nashed</dc:creator>
<comments>http://blog.nashcom.de/nashcomblog.nsf/dx/domino-on-linux-plattform-stats-might-use-100-cpu.htm?opendocument&amp;comments</comments>
<guid isPermaLink="true">http://blog.nashcom.de/nashcomblog.nsf/dx/domino-on-linux-plattform-stats-might-use-100-cpu.htm</guid>
<content:encoded><![CDATA[ We ran into this issue on a couple of customer sites. It is not completely sure in which release starts (in a fixpack of 8.5.2 and in 8.5.3 for sure). <br/>
The problem is that the server thread responsible for platform stats might use 100% of one CPU thread.<br/>
Basically there is an issue when reading a system file in a loop. <br/>
<br/>
There are two SPRs involved in this 
<p>SPR #YPHG8ET496 will be fixed in 8.5.3 FP1<br/>
SPR #PHEY8KRJJ7 will be fixed in 8.5.2 FP2  and 8.5.4
<p>If you run into this problem in your environment the only work-around is to disable the platform stats via PLATFORM_STATISTICS_DISABLED=1.
<p>What also happens in this case is that the server might not terminate cleanly because the platform stat server thread is in a infinite loop which does not terminate.
<p>-- Daniel ]]></content:encoded>
<wfw:commentRss> http://blog.nashcom.de/nashcomblog.nsf/dxcomments/domino-on-linux-plattform-stats-might-use-100-cpu.htm</wfw:commentRss>
<wfw:comment> http://blog.nashcom.de/nashcomblog.nsf/dx/domino-on-linux-plattform-stats-might-use-100-cpu.htm?opendocument&amp;comments</wfw:comment>
</item>
<item>
<title>Companion App 2.0.6 released -- fixes session based authentication issues</title>
<pubDate>Tue, 20 Mar 2012 09:28:27 +0200</pubDate>
<description>
<![CDATA[ 

A new update for the companion 2.0.6 app has been releases which fixes the session based authentication issue we discussed.
According to the description this is the only fix in the app. Again you ...
 ]]>
</description>
<link>http://blog.nashcom.de/nashcomblog.nsf/dx/companion-app-206.htm</link>
<category>Traveler</category>
<dc:creator>Daniel Nashed</dc:creator>
<comments>http://blog.nashcom.de/nashcomblog.nsf/dx/companion-app-206.htm?opendocument&amp;comments</comments>
<guid isPermaLink="true">http://blog.nashcom.de/nashcomblog.nsf/dx/companion-app-206.htm</guid>
<content:encoded><![CDATA[ <br/>
A new update for the companion 2.0.6 app has been releases which fixes the session based authentication issue we discussed.<br/>
According to the description this is  the only fix in the app. Again you should still use basic authenticaton also to ensure that the device detects password changes.<br/>
But it is still good that IBM fixed this issue :-) Huge thanks for the very fast response!<br/>
<br/>
-- Daniel<br/>
<br/>
 ]]></content:encoded>
<wfw:commentRss> http://blog.nashcom.de/nashcomblog.nsf/dxcomments/companion-app-206.htm</wfw:commentRss>
<wfw:comment> http://blog.nashcom.de/nashcomblog.nsf/dx/companion-app-206.htm?opendocument&amp;comments</wfw:comment>
</item>
<item>
<title>New Traveler Db Usage command in 8.5.3.2</title>
<pubDate>Fri, 9 Mar 2012 10:41:39 +0200</pubDate>
<description>
<![CDATA[ 


There is a new tell command to show how much data is synced to devices.
This command is interesting to figure out how much data users are syncing.

The tell traveler dbusage command is new in 8 ...
 ]]>
</description>
<link>http://blog.nashcom.de/nashcomblog.nsf/dx/new-traveler-db-usage-command-in-8.5.3.2.htm</link>
<category>Traveler</category>
<dc:creator>Daniel Nashed</dc:creator>
<comments>http://blog.nashcom.de/nashcomblog.nsf/dx/new-traveler-db-usage-command-in-8.5.3.2.htm?opendocument&amp;comments</comments>
<guid isPermaLink="true">http://blog.nashcom.de/nashcomblog.nsf/dx/new-traveler-db-usage-command-in-8.5.3.2.htm</guid>
<content:encoded><![CDATA[ 
<p><br/>
There is a new tell command to show how much data is synced to devices.<br/>
This command is interesting to figure out how much data users are syncing.<br/>
<br/>
The tell traveler dbusage command is new in 8.5.3.2 and the results look like the example below.<br/>
<br/>
With iOS devices you cannot prevent via policies that users sync all their mail.<br/>
But there is a general switch for the whole Traveler server in NTSConfig.xml to reduce the maximum limit that the server will sync -- independent from the user settings<br/>
<br/>
&lt;PROPERTY NAME=&quot;USER_EMAIL_LIMIT&quot; VALUE=&quot;365&quot;&gt;<br/>
Sets maximum mail filter window.<br/>
<br/>
&lt;PROPERTY NAME=&quot;USER_EVENTS_LIMIT&quot; VALUE=&quot;365&quot;/&gt;<br/>
Sets maximum calendar filter window.<br/>
<br/>
&lt;PROPERTY NAME=&quot;USER_NOTES_LIMIT&quot; VALUE=&quot;365&quot;/&gt;<br/>
Sets maximum journal filter window.<br/>
<br/>
<b>-- Example Output from dbusage command (my server has just two users) --</b><br/>
<br/>
<br/>
<tt>tell traveler dbusage</tt><br/>
<tt>Lotus Traveler Database Statistics</tt><br/>
<tt>Accounts &nbsp; &nbsp; &nbsp; &nbsp;: 2</tt><br/>
<tt>Devices &nbsp; &nbsp; &nbsp; &nbsp; : 5</tt><br/>
<tt>Device documents: 8814</tt><br/>
<tt>Domino documents: 3492</tt><br/>
<tt>Highest Total Usage &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Documents &nbsp; &nbsp;Percentage</tt><br/>
<tt>-----------------------------------------------------------------------</tt><br/>
<tt>Daniel Nashed/NashCom/C=DE &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2904 &nbsp; &nbsp; &nbsp; &nbsp; 83,16 &nbsp; &nbsp; </tt><br/>
<tt>mobile/NashCom-Net &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;588 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;16,84 &nbsp; &nbsp; </tt><br/>
<tt>Mail documents: 2131</tt><br/>
<tt>Highest Mail usage &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Documents &nbsp; &nbsp;Percentage EMail filter &nbsp; &nbsp; &nbsp; &nbsp;</tt><br/>
<tt>-----------------------------------------------------------------------</tt><br/>
<tt>Daniel Nashed/NashCom/C=DE &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2120 &nbsp; &nbsp; &nbsp; &nbsp; 99,48 &nbsp; &nbsp; &nbsp;30 days &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </tt><br/>
<tt>mobile/NashCom-Net &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;11 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0,52 &nbsp; &nbsp; &nbsp; 5 days &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</tt><br/>
<tt>Calendar documents: 63</tt><br/>
<tt>Highest Calendar usage &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Documents &nbsp; &nbsp;Percentage Event filter &nbsp; &nbsp; &nbsp; &nbsp;</tt><br/>
<tt>-----------------------------------------------------------------------</tt><br/>
<tt>Daniel Nashed/NashCom/C=DE &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;61 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 96,83 &nbsp; &nbsp; &nbsp;30 days &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </tt><br/>
<tt>mobile/NashCom-Net &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;3,17 &nbsp; &nbsp; &nbsp; 14 days &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </tt><br/>
<tt>Contacts documents: 1262</tt><br/>
<tt>Highest Contacts usage &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Documents &nbsp; &nbsp;Percentage Contact filter &nbsp; &nbsp; &nbsp;</tt><br/>
<tt>-----------------------------------------------------------------------</tt><br/>
<tt>Daniel Nashed/NashCom/C=DE &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;699 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;55,39 &nbsp; &nbsp; &nbsp;unlimited &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </tt><br/>
<tt>mobile/NashCom-Net &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;563 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;44,61 &nbsp; &nbsp; &nbsp;unlimited &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </tt><br/>
<tt>To Do documents: 3</tt><br/>
<tt>Highest To Do usage &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Documents &nbsp; &nbsp;Percentage Task filter &nbsp; &nbsp; &nbsp; &nbsp; </tt><br/>
<tt>-----------------------------------------------------------------------</tt><br/>
<tt>mobile/NashCom-Net &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;66,67 &nbsp; &nbsp; &nbsp;incomplete only &nbsp; &nbsp; </tt><br/>
<tt>Daniel Nashed/NashCom/C=DE &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;1 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;33,33 &nbsp; &nbsp; &nbsp;incomplete only &nbsp; &nbsp; </tt><br/>
<tt>Notebook documents: 0</tt><br/>
<tt>Folder documents: 26</tt><br/>
<tt>Highest Folder usage &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Documents &nbsp; &nbsp;Percentage Folder filter &nbsp; &nbsp; &nbsp; </tt><br/>
<tt>-----------------------------------------------------------------------</tt><br/>
<tt>Daniel Nashed/NashCom/C=DE &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;19 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 73,08 &nbsp; &nbsp; &nbsp;unlimited &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </tt><br/>
<tt>mobile/NashCom-Net &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;7 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;26,92 &nbsp; &nbsp; &nbsp;unlimited &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </tt><br/>
<tt>Command DbUsage complete.</tt> ]]></content:encoded>
<wfw:commentRss> http://blog.nashcom.de/nashcomblog.nsf/dxcomments/new-traveler-db-usage-command-in-8.5.3.2.htm</wfw:commentRss>
<wfw:comment> http://blog.nashcom.de/nashcomblog.nsf/dx/new-traveler-db-usage-command-in-8.5.3.2.htm?opendocument&amp;comments</wfw:comment>
</item>
<item>
<title>Traveler 8.5.3.2 released -- Isuses with older companion app </title>
<pubDate>Thu, 1 Mar 2012 13:18:20 +0200</pubDate>
<description>
<![CDATA[ 

Traveler 8.5.3.2 ( aka FP2) has been released.

A couple of issues have been fixed in this FP. See details here http://www.lotus.com/ldd/dominowiki.nsf/dx/Lotus_Notes_Traveler_APAR_listing#8532

 ...
 ]]>
</description>
<link>http://blog.nashcom.de/nashcomblog.nsf/dx/traveler-8.5.3.2-released-isuses-with-older-company-app-.htm</link>
<category>Traveler</category>
<dc:creator>Daniel Nashed</dc:creator>
<comments>http://blog.nashcom.de/nashcomblog.nsf/dx/traveler-8.5.3.2-released-isuses-with-older-company-app-.htm?opendocument&amp;comments</comments>
<guid isPermaLink="true">http://blog.nashcom.de/nashcomblog.nsf/dx/traveler-8.5.3.2-released-isuses-with-older-company-app-.htm</guid>
<content:encoded><![CDATA[ <br/>
Traveler 8.5.3.2 ( aka FP2) has been released.<br/>
<br/>
A couple of issues have been fixed in this FP. See details here <a href="http://www.lotus.com/ldd/dominowiki.nsf/dx/Lotus_Notes_Traveler_APAR_listing#8532">http://www.lotus.com/ldd/dominowiki.nsf/dx/Lotus_Notes_Traveler_APAR_listing#8532</a><br/>
<br/>
This fixpack is also needed to use the new companion app version 2.0.5.<br/>
A couple of customer updated their companion app to 2.0.5 could not read encrypted email any more.<br/>
The new Traveler version did solve this problem. IBM is still investigating.<br/>
<br/>
Also there is some new functionality in the new companion app in combination with the new Traveler release.<br/>
You can now control if the user can export the message and if the companion app only works with trusted certs.<br/>
<br/>
See details here  -&gt; <a href="http://www.lotus.com/ldd/dominowiki.nsf/dx/Lotus_Notes_Traveler_Companion_security_settings_LNT853">http://www.lotus.com/ldd/dominowiki.nsf/dx/Lotus_Notes_Traveler_Companion_security_settings_LNT853</a><br/>
<br/>
Probably when introducing this new functionality some compatibility issue with earlier releases has been introduced.<br/>
The documentation says that if you use this new functionality you need to update your companion app.<br/>
But it looks like something went wrong in this area.<br/>
<br/>
Updating the companion app to 2.0.5 should solve the issue.<br/>
<br/>
I had also some issues with intermittent sync problems after the update but that might be related to my installation -- still testing.<br/>
<br/>
<br/>
--- Update 06.02.2012 ---<br/>
<br/>
my sync issues are solved. it turned out that my Android device needed a full sync and that the full sync blocked sync for my iPhone and iPad with the same user.<br/>
this works as designed and if I would not have stopped the Android device syncing, the problem would have gone away earlier.<br/>
<br/>
the second update is that it turned out that the customers reporting companion app problems had turned on session based authentication.<br/>
smartphones and the companion app cannot handle forms based authentication properly and need basic authorization headers!<br/>
you have to setup basic authenication for all Traveler servers that do not use secure reverse proxy.<br/>
in the case of a reverse proxy the proxy handles the authentication and uses basic authentication.<br/>
that authentication is forwarded to the Traveler server and depending on the proxy it makes sense to use multi server authentication to reduce the overhead for the session.<br/>
<br/>
when switching to basic authentication the companion app worked again. <br/>
<br/>
<br/>
-- Daniel<br/>
<br/>
<br/>
Here is the documentation page for the update.<br/>
<br/>
<a href="http://www.lotus.com/ldd/dominowiki.nsf/dx/Lotus_Notes_Traveler_8.5.3.2">http://www.lotus.com/ldd/dominowiki.nsf/dx/Lotus_Notes_Traveler_8.5.3.2</a> ]]></content:encoded>
<wfw:commentRss> http://blog.nashcom.de/nashcomblog.nsf/dxcomments/traveler-8.5.3.2-released-isuses-with-older-company-app-.htm</wfw:commentRss>
<wfw:comment> http://blog.nashcom.de/nashcomblog.nsf/dx/traveler-8.5.3.2-released-isuses-with-older-company-app-.htm?opendocument&amp;comments</wfw:comment>
</item>
<item>
<title>SSL Issues on Client and Server</title>
<pubDate>Tue, 28 Feb 2012 22:11:35 +0200</pubDate>
<description>
<![CDATA[ 

There is an issue with the way the SSL key buffer is managed that will fixed in 8.5.4.
The problem can occur with concurrent (multi-threaded) access to the SSL ring buffer (used to store SSL sessio ...
 ]]>
</description>
<link>http://blog.nashcom.de/nashcomblog.nsf/dx/ssl-issues-on-client-and-server.htm</link>
<category>Bug</category>
<dc:creator>Daniel Nashed</dc:creator>
<comments>http://blog.nashcom.de/nashcomblog.nsf/dx/ssl-issues-on-client-and-server.htm?opendocument&amp;comments</comments>
<guid isPermaLink="true">http://blog.nashcom.de/nashcomblog.nsf/dx/ssl-issues-on-client-and-server.htm</guid>
<content:encoded><![CDATA[ <br/>
There is an issue with the way the SSL key buffer is managed that will fixed in 8.5.4.<br/>
The problem can occur with concurrent (multi-threaded) access to the SSL ring buffer (used to store SSL sessions).<br/>
By default the size of the buffer is quite small and in some cases the size of those entries need to be increased on the fly by reallocating the entry. <br/>
<br/>
This is mainly an issue on Servers but I ran into this issue on my Notes Client with HTML mail loading remote images from websites using SSL.<br/>
<br/>
I had crashes for some mails and I only figured out what was going wrong when debugging the logs.<br/>
It turned out that some SSL sites need larger buffers and due to the multi-threading and the reallocation caused the crash.<br/>
<br/>
In 8.5.3 there is a new parameter for server and clients to use a new implementation of this code. It will be default in 8.5.4 but you can enabled it in 8.5.3<br/>
<br/>
SSL_USE_ADDSESSION2=1 will enable the new code.<br/>
<br/>
You should set this parameter for all servers and clients that use SSL to avoid crashes.<br/>
<br/>
And you could increase the buffer size of each ring entry via for example SSL_SESSION_SIZE=4096 to avoid reallocations.<br/>
<br/>
Reference: SPR # SFPN69ET56 / <a href="http://www.lotus.com/ldd/r5fixlist.nsf/Public/E9BAC1A4277A6FD88525709200001E26?OpenDocument">http://www.lotus.com/ldd/r5fixlist.nsf/Public/E9BAC1A4277A6FD88525709200001E26?OpenDocument</a><br/>
<br/>
-- Daniel<br/>
<br/>
 ]]></content:encoded>
<wfw:commentRss> http://blog.nashcom.de/nashcomblog.nsf/dxcomments/ssl-issues-on-client-and-server.htm</wfw:commentRss>
<wfw:comment> http://blog.nashcom.de/nashcomblog.nsf/dx/ssl-issues-on-client-and-server.htm?opendocument&amp;comments</wfw:comment>
</item>
<item>
<title>Domino on Linux Performance Tweaks with current Kernels</title>
<pubDate>Mon, 27 Feb 2012 09:20:40 +0200</pubDate>
<description>
<![CDATA[ 

We found a performance issue with SLES 11 and also RHEL 6. Due to a new process scheduler (CFS) introduced there seem to be timing issues with some new functionality.

The new scheduler CFS is the ...
 ]]>
</description>
<link>http://blog.nashcom.de/nashcomblog.nsf/dx/domino-on-linux-performance-tweaks-with-current-kernels.htm</link>
<category>Linux</category>
<dc:creator>Daniel Nashed</dc:creator>
<comments>http://blog.nashcom.de/nashcomblog.nsf/dx/domino-on-linux-performance-tweaks-with-current-kernels.htm?opendocument&amp;comments</comments>
<guid isPermaLink="true">http://blog.nashcom.de/nashcomblog.nsf/dx/domino-on-linux-performance-tweaks-with-current-kernels.htm</guid>
<content:encoded><![CDATA[ <br/>
We found a performance issue with SLES 11 and also RHEL 6. Due to a new process scheduler (CFS) introduced there seem to be timing issues with some new functionality.<br/>
<br/>
The new scheduler CFS is the Completely Fair Scheduler which has some new functionality.<br/>
From what we figured out so far some functionality of CFS causes timing issues with the Domino server.<br/>
The Domino server has many active threads and processes which seem to not work well with the standard settings of CFS.<br/>
<br/>
What happens is that under some load the response time of the server increases. There are some transactions that take 100 ms longer than usual. <br/>
Domino Development are still working with the Novell on identifying the root cause. We have an escalated PMR open with IBM and and a case open Novell and they are still trying to figure out what in detail is going wrong.<br/>
<br/>
This recommended workaround has no negative affect on the system that we have seen, nor do we expect a negative affect.<font size="4">&nbsp;</font><br/>
<br/>
The work-around we found is to disable some functionality in CFS.<br/>
<br/>
As root, run the command<br/>
<br/>
<b>echo &quot;0&quot; &gt; /proc/sys/kernel/sched_features<br/>
</b><br/>
This will set the CFS features to 0 until the system is rebooted.  If the system is rebooted you will need to run the command again.<br/>
<br/>
I have small test application &quot;nshopen&quot; that opens many documents and reports the response time.<br/>
Let me know if you want this test application for performance testing your Linux machines with and without the fix.<br/>
<br/>
We are still trying to find out what exactly is going wrong with the timing and there is some other ongoing work.<br/>
I will post an update when we find more details. For now you should use the mentioned tuning.<br/>
<br/>
-- Daniel ]]></content:encoded>
<wfw:commentRss> http://blog.nashcom.de/nashcomblog.nsf/dxcomments/domino-on-linux-performance-tweaks-with-current-kernels.htm</wfw:commentRss>
<wfw:comment> http://blog.nashcom.de/nashcomblog.nsf/dx/domino-on-linux-performance-tweaks-with-current-kernels.htm?opendocument&amp;comments</wfw:comment>
</item>
<item>
<title>Cluster Failover Improvement since 8.5.2</title>
<pubDate>Tue, 21 Feb 2012 12:46:25 +0200</pubDate>
<description>
<![CDATA[ 


I thought I blogged about it long time ago already but sounds like I forgot. 
There used to be a parameter in earlier 8.x releases that does some kind of failover.
Beginning with 8.5.2 there is ...
 ]]>
</description>
<link>http://blog.nashcom.de/nashcomblog.nsf/dx/cluster-failover-improvement-since-8.5.2.htm</link>
<category>Clustering</category>
<dc:creator>Daniel Nashed</dc:creator>
<comments>http://blog.nashcom.de/nashcomblog.nsf/dx/cluster-failover-improvement-since-8.5.2.htm?opendocument&amp;comments</comments>
<guid isPermaLink="true">http://blog.nashcom.de/nashcomblog.nsf/dx/cluster-failover-improvement-since-8.5.2.htm</guid>
<content:encoded><![CDATA[ 
<p><br/>
I thought I blogged about it long time ago already but sounds like I forgot. <br/>
There used to be a parameter in earlier 8.x releases that does some kind of failover.<br/>
Beginning with 8.5.2 there is a new parameter that can be set thru the desktop policy settings.<br/>
This parameter does avoid almost all prompts when a server goes down and switches to a different server.<br/>
Also when the home server is up again it will fail back :-) <br/>
That's part of the failover improvements in 8.5.2. <br/>
<br/>
But you still need to enable this setting to have the failover happen without any kind of prompts.<br/>
<br/>
Note: The old parameter is <b><font color="#800000">HidePromptFailoverInc=1</font></b> you should remove this parameter and replace it with the desktop setting or the <b><font color="#008000">FailoverSilent=1</font></b> setting!<br/>
<br/>
Info from the technote:<br/>
<br/>
<b>#2 - Enable &quot;FailoverSilent&quot; notes.ini variable</b><br/>
In certain circumstances the Notes client will prompt to inform the user that the current server is no longer available and that it will fail over to a new one. These messages may cause uncertainty for the end user.<font color="#800080">&nbsp;</font>Enable via policy the &quot;FailoverSilent&quot; notes.ini variable, which will minimize any failover-related messages or dialogs being displayed to users. By applying the &quot;Enable silent failover when a server goes down&quot; Desktop Policy setting (Desktop Settings -&gt; Mail- &gt; Client Settings), users will rarely encounter any prompts.<b><font color="#FF0000">&nbsp;</font></b><br/>
 ]]></content:encoded>
<wfw:commentRss> http://blog.nashcom.de/nashcomblog.nsf/dxcomments/cluster-failover-improvement-since-8.5.2.htm</wfw:commentRss>
<wfw:comment> http://blog.nashcom.de/nashcomblog.nsf/dx/cluster-failover-improvement-since-8.5.2.htm?opendocument&amp;comments</wfw:comment>
</item>
<item>
<title>Lotusphere  Comes to Düsseldorf</title>
<pubDate>Fri, 3 Feb 2012 11:10:53 +0200</pubDate>
<description>
<![CDATA[ 

Final Call for this year's Timetoact Group's LCTY Thursday 9. Feb in Düsseldorf .
Last year the keynote presentation was even better and more to the point than the OGS in Orlando.
It will be a gre ...
 ]]>
</description>
<link>http://blog.nashcom.de/nashcomblog.nsf/dx/lcty2012.htm</link>
<category></category>
<dc:creator>Daniel Nashed</dc:creator>
<comments>http://blog.nashcom.de/nashcomblog.nsf/dx/lcty2012.htm?opendocument&amp;comments</comments>
<guid isPermaLink="true">http://blog.nashcom.de/nashcomblog.nsf/dx/lcty2012.htm</guid>
<content:encoded><![CDATA[ <br/>
Final Call for this year's Timetoact Group's LCTY Thursday 9. Feb in Düsseldorf .<br/>
Last year the keynote presentation was even better and more to the point than the OGS in Orlando.<br/>
It will be a great summary with the highlights from Lotusphere again.<br/>
<br/>
I am looking forward meeting many of you in Düsseldorf.<br/>
<br/>
-- Daniel<br/>
<br/>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr valign="top"><td width="100%"><a href="http://www.timetoact.de/ttacms.nsf/id/Kurs_DE?Open&amp;crse=TTADU2012&amp;l=DE&amp;ccm=055" target="_blank"></a><br/>
<a href="http://www.timetoact.de/ttacms.nsf/id/Kurs_DE?Open&amp;crse=TTADU2012&amp;l=DE&amp;ccm=055" target="_blank"></a><br/>
<a href="http://www.timetoact.de/ttacms.nsf/id/Kurs_DE?Open&amp;crse=TTADU2012&amp;l=DE&amp;ccm=055" target="_blank"><img  src="http://blog.nashcom.de/nashcomblog.nsf/dx//nashcomblog.nsf/0/3136bfa27211d52fc12579990037ed8b/content/0.4B8?OpenElement&amp;FieldElemFormat=gif" width="350" height="150" alt="Lotusphere Comes to You LCTY Rheinland Nachlese 2012" border="0"/></a></td></tr>
</table>
<br/>
Find details here<br/>
<br/>
<a href="http://www.timetoact.de/ttacms.nsf/id/lotusphere-comes-to-you-lcty-nachlese-2012-rheinland">http://www.timetoact.de/ttacms.nsf/id/lotusphere-comes-to-you-lcty-nachlese-2012-rheinland</a> ]]></content:encoded>
<wfw:commentRss> http://blog.nashcom.de/nashcomblog.nsf/dxcomments/lcty2012.htm</wfw:commentRss>
<wfw:comment> http://blog.nashcom.de/nashcomblog.nsf/dx/lcty2012.htm?opendocument&amp;comments</wfw:comment>
</item>
<item>
<title>Traveler HTTPS Only</title>
<pubDate>Mon, 23 Jan 2012 09:40:22 +0200</pubDate>
<description>
<![CDATA[ 

We ran into issues with double password dialog when accessing the Traveler homepage (servlet) in a pure HTTPS environment with only authenticated users. So this is mainly a issue with disabled anony ...
 ]]>
</description>
<link>http://blog.nashcom.de/nashcomblog.nsf/dx/traveler-https-only.htm</link>
<category>Traveler</category>
<dc:creator>Daniel Nashed</dc:creator>
<comments>http://blog.nashcom.de/nashcomblog.nsf/dx/traveler-https-only.htm?opendocument&amp;comments</comments>
<guid isPermaLink="true">http://blog.nashcom.de/nashcomblog.nsf/dx/traveler-https-only.htm</guid>
<content:encoded><![CDATA[ <br/>
We ran into issues with double password dialog when accessing the Traveler homepage (servlet) in a pure HTTPS environment with only authenticated users. So this is mainly a issue with disabled anonymous access.<br/>
The server has HTTP disabled and only HTTPS running for security reasons.<br/>
Because basic authentication is required in order for mobile devices to detect wrong passwords (they cannot read the forms based login return code used by SSO configurations) no HTTPs cookie is present.<br/>
<br/>
By default the realm used by the server is set to the servlet and the image on the Traveler homepage comes from the /traveler/images directory.<br/>
That's why sometimes devices prompt for another authentication.<br/>
<br/>
To avoid this issue you can set a &quot;WEB_REALM_STRING&quot; &quot;/&quot; in TrueSyncServer section of NTSConfig.xml<br/>
<br/>
Example:<br/>
<br/>
 &lt;COMPONENT COMPONENT_TYPE=&quot;TrueSyncServer&quot;&gt;<font size="4">&nbsp;</font><br/>
      &lt;PROPERTY NAME=&quot;WEB_REALM_STRING&quot; VALUE=&quot;/&quot;/&gt;<font size="4">&nbsp;</font><br/>
<br/>
This will set the realm to the root instead of a sub-directory.<br/>
<br/>
In our configuration this solved the double authentication issue.<br/>
<br/>
-- Daniel ]]></content:encoded>
<wfw:commentRss> http://blog.nashcom.de/nashcomblog.nsf/dxcomments/traveler-https-only.htm</wfw:commentRss>
<wfw:comment> http://blog.nashcom.de/nashcomblog.nsf/dx/traveler-https-only.htm?opendocument&amp;comments</wfw:comment>
</item>
<item>
<title>Lotus Traveler email Antivirus</title>
<pubDate>Mon, 23 Jan 2012 08:29:01 +0200</pubDate>
<description>
<![CDATA[ 

The Mail-Routing Configuration for a Traveler Server uses the home-mail server of the user to send outgoing mail.
But in some customer scenarios the home-mail server does not run antivirus software ...
 ]]>
</description>
<link>http://blog.nashcom.de/nashcomblog.nsf/dx/lotus-traveler-email-antivirus.htm</link>
<category>Traveler</category>
<dc:creator>Daniel Nashed</dc:creator>
<comments>http://blog.nashcom.de/nashcomblog.nsf/dx/lotus-traveler-email-antivirus.htm?opendocument&amp;comments</comments>
<guid isPermaLink="true">http://blog.nashcom.de/nashcomblog.nsf/dx/lotus-traveler-email-antivirus.htm</guid>
<content:encoded><![CDATA[ <br/>
The Mail-Routing Configuration for a Traveler Server uses the home-mail server of the user to send outgoing mail.<br/>
But in some customer scenarios the home-mail server does not run antivirus software to scan emails.<br/>
<br/>
If you have separate gateway servers scanning your inbound and outbound mail traffic there is a new Traveler setting that can help.<br/>
You can configure servers used for outbound mail instead of using the mail-server.<br/>
This setting will send outbound mail directly to the configured servers.<br/>
<br/>
<br/>
The settings OUTBOX_MAIL_SERVERS in TrueSyncServer section of NTSConfig.xml.  It is a comma delimited list of servers.<font size="4">&nbsp;</font><br/>
<br/>
Example Configuration:<br/>
<br/>
NTSConfig.xml<br/>
<br/>
 &lt;COMPONENT COMPONENT_TYPE=&quot;TrueSyncServer&quot;&gt;<font size="4">&nbsp;</font><br/>
      &lt;PROPERTY NAME=&quot;OUTBOX_MAIL_SERVERS&quot; VALUE=&quot;gateway-server1/Srv/Acme, gateway-server2/Srv/Acme&quot;/&gt;<br/>
<br/>
All mail will be routed thru those servers.<br/>
<br/>
There is still one gap for sent messages. The messages will be saved to the end-user mailfile without any way of active anti-virus scan.<br/>
Currently you can only periodically scan all mail databases for viruses. <br/>
<br/>
There is no current plan for integrating Anti-virus support for Lotus Traveler.<br/>
But development is thinking about a new option to save &quot;sent&quot; messages without the attachment.<br/>
This way no anti-virus scanning is needed for &quot;sent&quot; messages.<br/>
<br/>
In most of the cases there are no attachments being send from a mobile device. So I don't see it as a high risk right now. But it is still a gap.<br/>
<br/>
From my point of view this new setting and the planned new option to not save the attachment in &quot;sent&quot; messages does fit most customer environments.<br/>
What do you think?<br/>
<br/>
-- Daniel<br/>
 ]]></content:encoded>
<wfw:commentRss> http://blog.nashcom.de/nashcomblog.nsf/dxcomments/lotus-traveler-email-antivirus.htm</wfw:commentRss>
<wfw:comment> http://blog.nashcom.de/nashcomblog.nsf/dx/lotus-traveler-email-antivirus.htm?opendocument&amp;comments</wfw:comment>
</item>
<item>
<title>IBM Lotus Symphony Viewer</title>
<pubDate>Mon, 9 Jan 2012 06:49:54 +0200</pubDate>
<description>
<![CDATA[ 



In case you missed it... IBM released a Symphony Viewer that allows to view ODF files on your iOS device.
It's a first version but you see from the growing list below that IBM is taking their m ...
 ]]>
</description>
<link>http://blog.nashcom.de/nashcomblog.nsf/dx/ibm-lotus-symphony-viewer.htm</link>
<category>Symphony</category>
<dc:creator>Daniel Nashed</dc:creator>
<comments>http://blog.nashcom.de/nashcomblog.nsf/dx/ibm-lotus-symphony-viewer.htm?opendocument&amp;comments</comments>
<guid isPermaLink="true">http://blog.nashcom.de/nashcomblog.nsf/dx/ibm-lotus-symphony-viewer.htm</guid>
<content:encoded><![CDATA[ 
<p><br/>
<br/>
In case you missed it... IBM released a Symphony Viewer that allows to view ODF files on your iOS device.<br/>
It's a first version but you see from the growing list below that IBM is taking their mobile strategy quite serious.<br/>
<br/>
<br/>
-- Daniel<br/>
<br/>
<br/>
<br/>
<br/>
<img  src="http://blog.nashcom.de/nashcomblog.nsf/dx//nashcomblog.nsf/0/718bed59f1752f9dc1257980002008b2/content/0.214?OpenElement&amp;FieldElemFormat=jpg" width="640" height="960"/>   <br/>
<br/>
<img  src="http://blog.nashcom.de/nashcomblog.nsf/dx//nashcomblog.nsf/0/718bed59f1752f9dc1257980002008b2/content/6.306A?OpenElement&amp;FieldElemFormat=jpg" width="640" height="960"/> ]]></content:encoded>
<wfw:commentRss> http://blog.nashcom.de/nashcomblog.nsf/dxcomments/ibm-lotus-symphony-viewer.htm</wfw:commentRss>
<wfw:comment> http://blog.nashcom.de/nashcomblog.nsf/dx/ibm-lotus-symphony-viewer.htm?opendocument&amp;comments</wfw:comment>
</item>
<item>
<title>Important Lotus Traveler Fixpack 8.5.3.1 Released</title>
<pubDate>Wed, 16 Nov 2011 16:34:19 +0200</pubDate>
<description>
<![CDATA[ 

This fixpack should solve the iOS issues I mentioned in my previous post.
You should update your Traveler Server ASAP.

Here is a link to the Fixcentral Download 

http://www.ibm.com/support/fi ...
 ]]>
</description>
<link>http://blog.nashcom.de/nashcomblog.nsf/dx/important-lotus-traveler-fixpack-8.5.3.1-released.htm</link>
<category>Traveler</category>
<dc:creator>Daniel Nashed</dc:creator>
<comments>http://blog.nashcom.de/nashcomblog.nsf/dx/important-lotus-traveler-fixpack-8.5.3.1-released.htm?opendocument&amp;comments</comments>
<guid isPermaLink="true">http://blog.nashcom.de/nashcomblog.nsf/dx/important-lotus-traveler-fixpack-8.5.3.1-released.htm</guid>
<content:encoded><![CDATA[ <br/>
This fixpack should solve the iOS issues I mentioned in my previous post.<br/>
You should update your Traveler Server ASAP.<br/>
<br/>
Here is a link to the Fixcentral Download <br/>
<br/>
<a href="http://www.ibm.com/support/fixcentral/swg/selectFixes?parent=ibm~Lotus&amp;product=ibm/Lotus/Lotus+Notes+Traveler&amp;release=All&amp;platform=All&amp;function=all">http://www.ibm.com/support/fixcentral/swg/selectFixes?parent=ibm~Lotus&amp;product=ibm/Lotus/Lotus+Notes+Traveler&amp;release=All&amp;platform=All&amp;function=all</a> <br/>
<br/>
And here is a list to the complete fixlist <br/>
<br/>
<a href="http://www.lotus.com/ldd/dominowiki.nsf/dx/Lotus_Notes_Traveler_APAR_listing#8531">http://www.lotus.com/ldd/dominowiki.nsf/dx/Lotus_Notes_Traveler_APAR_listing#8531</a><br/>
<br/>
The issue for activities has been fixed and the two new iOS5 features are supported. <br/>
<br/>
    •        Support Folder Management Features on Apple iOS 5 and Later Devices<br/>
    •        Support for Follow Up Flags on Apple Devices <br/>
<br/>
A big THANK YOU to the Traveler team for this quick fix and also adding those new features.<br/>
<br/>
-- Daniel<br/>
 ]]></content:encoded>
<wfw:commentRss> http://blog.nashcom.de/nashcomblog.nsf/dxcomments/important-lotus-traveler-fixpack-8.5.3.1-released.htm</wfw:commentRss>
<wfw:comment> http://blog.nashcom.de/nashcomblog.nsf/dx/important-lotus-traveler-fixpack-8.5.3.1-released.htm?opendocument&amp;comments</wfw:comment>
</item>
<item>
<title>Traveler Performance Issue iOS 5 </title>
<pubDate>Thu, 10 Nov 2011 09:14:10 +0200</pubDate>
<description>
<![CDATA[ 


Traveler with the latest fixpacks installed supports iOS5. Only the new functionality introduced with iOS5 are currently not supported and does not work yet.
After the first larger customers migr ...
 ]]>
</description>
<link>http://blog.nashcom.de/nashcomblog.nsf/dx/traveler-performance-issue-ios-5-.htm</link>
<category>Traveler</category>
<dc:creator>Daniel Nashed</dc:creator>
<comments>http://blog.nashcom.de/nashcomblog.nsf/dx/traveler-performance-issue-ios-5-.htm?opendocument&amp;comments</comments>
<guid isPermaLink="true">http://blog.nashcom.de/nashcomblog.nsf/dx/traveler-performance-issue-ios-5-.htm</guid>
<content:encoded><![CDATA[ 
<p><br/>
Traveler with the latest fixpacks installed supports iOS5. Only the new functionality introduced with iOS5 are currently not supported and does not work yet.<br/>
After the first larger customers migrated it turned out that this new functionality causes performance (high CPU on Traveler server, shorter battery life for the Apple device) issues with Traveler when enabled.<br/>
<br/>
IBM is working on a fix for this issue and we can expect a fix delivered soon.<br/>
<br/>
In the meantime you should avoid the following new functionality:<br/>
<br/>
1. Mail flagged (known as Domino Follow up).<br/>
2. Creating, renaming, moving and deleting folders on the Apple device.<br/>
3. Reminders (known as Domino To Do).<br/>
<br/>
IBM will update the TN <a href="https://www.ibm.com/support/docview.wss?uid=swg21512456">https://www.ibm.com/support/docview.wss?uid=swg21512456</a> with information about the fix once it has been released.<br/>
<br/>
-- Daniel ]]></content:encoded>
<wfw:commentRss> http://blog.nashcom.de/nashcomblog.nsf/dxcomments/traveler-performance-issue-ios-5-.htm</wfw:commentRss>
<wfw:comment> http://blog.nashcom.de/nashcomblog.nsf/dx/traveler-performance-issue-ios-5-.htm?opendocument&amp;comments</wfw:comment>
</item>
</channel></rss>

