<br>According to this post, <br><a href="http://commedia.cnds.jhu.edu/pipermail/spread-users/2001-May/000084.html">http://commedia.cnds.jhu.edu/pipermail/spread-users/2001-May/000084.html</a><br>it seems that they can be set up high as &quot;tens of thousand&quot;.
<br><br>I also have the same problem on the receiver&#39; end. In my application, the messages are sent to a receiver and logged using the following PERL code:<br><br><br>use Spread;<br><br>.....<br>Spread::join($mbox, SPREAD_GROUP); # join the group
<br>.....<br>for(;;) {<br>&nbsp;&nbsp;&nbsp; $current = time();<br>&nbsp;&nbsp;&nbsp; if ($current &gt; ($stamp+GAP*60)) { # GAP == 5 minutes, used to rotate the logs<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $fh-&gt;close;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ($stamp, $dir) = get_stamp_dir(GAP, ARCHIVE, $current); # ARCHIVE is a top directory
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $fh-&gt;open($dir.&quot;/&quot;.$stamp, O_WRONLY|O_CREAT|O_APPEND) or die(&quot;Can&#39;t open $stamp in $dir\n&quot;);<br>&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; my @readable = $select-&gt;can_read;<br>&nbsp;&nbsp;&nbsp; for (@readable) {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; my ($service_type,$sender,$groups,$mess_type,$endian,$message) = Spread::receive($mbox);
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if ($service_type &amp; REGULAR_MESS) {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; print $fh $message;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; }<br>}<br><br>The program works for about a few hours, then suddenly nothing is shown up in the log files while the CPU is going up to 100%, apparently due to the fact that the application is dropped off by SPREAD and it goes into the &quot;for (;;)&quot; circle.
<br><br>Can my problem be solved by raising WATER_MARK and MAX_SESSION_MESSAGES to very high values, maybe 10,000 - 100,000 ?<br><br><br>Sam<br><br><br><br>On 9/18/07, Vivien Quema &lt;<a href="mailto:Vivien.Quema@inrialpes.fr">
Vivien.Quema@inrialpes.fr</a>&gt; wrote:<br>&gt; Hello,<br>&gt; <br>&gt; I am testing spread with a bursty application (processes send bursts<br>&gt; of 10000 messages, each message having a size of 1kB). I have seen<br>&gt; that it was possible to change the WATER_MARK and
<br>&gt; MAX_SESSION_MESSAGES (they have for default value 500 and 1000<br>&gt; respectively).<br>&gt; <br>&gt; Which value do you advise me?<br>&gt; <br>&gt; Thanks for your help,<br>&gt; Vivien<br>&gt; <br>&gt; _______________________________________________
<br>&gt; Spread-users mailing list<br>&gt; <a href="mailto:Spread-users@lists.spread.org">Spread-users@lists.spread.org</a><br>&gt; <a href="http://lists.spread.org/mailman/listinfo/spread-users">http://lists.spread.org/mailman/listinfo/spread-users
</a><br>&gt; <br><br>