<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">I dug into the source a bit...<br></span></font></p><p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"><br>
</span></font></p><p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Looks like daemon/session.c is the only
place where REJECT_QUOTA appears and is returned from the daemon only when
there are as many connections already established as MAX_SESSIONS, which is
defined in spread_params.h as  ( (MAX_FD_EVENTS-5) / 2), and since
MAX_FD_EVENTS is also #defined as 2000, that makes MAX_SESSIONS equal to 997. 
This is interesting, I hadn’t realized that there was such a limit. 
I believe this is a per-daemon limit, not a global spread network limit, and I’d
also suspect you can easily raise the #define value for MAX_FD_EVENTS from 2000
to 16384 if you actually need more than 997 sessions on a single spread
daemon.  (Just a guess, not tested.)</span></font></p>

<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">If you enable the ‘SESSION’
DebugFlags option in your spread.conf file, you may get some information about
what sessions are coming into your daemon…</span></font></p>

<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Also, you might want to check the output
of:  netstat -netap | grep :4803   on your spread daemon host to
see how many TCP client connections are active to your spread daemon.  My
first guess would be that you’re accidentally bringing up many more
sessions than expected.  But without more information, it’s hard to
tell.</span></font></p>

<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>



<font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">- Will</span></font><br clear="all"><br>

<div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div link="blue" vlink="purple" lang="EN-US"><div><div><div class="h5">
<div>

<p class="MsoNormal">On Wed, Aug 4, 2010 at 1:54 PM, Fandrich, Chris &lt;<a href="mailto:cfandrich@ea.com" target="_blank">cfandrich@ea.com</a>&gt; wrote:</p>

<div>

<div>

<p class="MsoNormal">When
I try to connect to our Spread daemon, I get a REJECT_QUOTA exception. 
I’m the 17<sup>th</sup> attempted connection so I assume that our daemon is
configured to accept 16 connections.  How do I change this?</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">Cheers,</p>

<p class="MsoNormal">-Chris</p>

</div>

</div></div></div></div></div></div></blockquote></div>