<br><font size=2 face="Arial">On a follow up question here, I've had issues
in the past with trying to increase the Max Connections setting (or even
at 4 for that matter). As the number of connections go up, I'll often
get failures on calls, typically with some sort of a gripe from pbs_iff
(allegedly, I will get a stdout print statement from pbs_iff). This
is always associated with a threaded situation where a number of calls
are attempted simultaneously. I've always had to synchronize my calls
into the API. My understanding has always been that this stems from
some sort of a race condition associated with setting the server_name property.
It also means I end up wrapping any API calls with a fair amount
of defensive coding (for instance, have a c++ wrapper around the API that
handles making the connections for me and insuring that a valid connection
is retrieved and being very patient with waiting for it). Have other
people experienced this and is the solution for libtorque to not try and
retain the current server_name, or have I totally missed the mark here?</font>
<br>
<br>
<br><font size=2 face="Arial">Thanks,</font>
<br><font size=2 face="Arial">Nate</font>
<br>
<br>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>"Nate Coraor"
<nate@psu.edu></b> </font>
<br><font size=1 face="sans-serif">Sent by: torqueusers-bounces@supercluster.org</font>
<p><font size=1 face="sans-serif">07-Dec-2006 10:30</font>
<td width=59%><font size=1 face="sans-serif">
</font>
<table width=100%>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td valign=top><font size=1 face="sans-serif">torqueusers@supercluster.org</font>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td valign=top>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td valign=top><font size=1 face="sans-serif">Re: [torqueusers] Max Connections</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><tt><font size=2>On Dec 4, 2006, at 3:52 PM, Garrick Staples wrote:<br>
<br>
> It looks like the '#define NCONNECTS 5' in src/include/libpbs.h.
<br>
> You'll<br>
> need to build and install, at least, a new libtorque.so.<br>
<br>
This was indeed it. Thanks Garrick.<br>
<br>
--nate<br>
_______________________________________________<br>
torqueusers mailing list<br>
torqueusers@supercluster.org<br>
http://www.supercluster.org/mailman/listinfo/torqueusers<br>
<br>
</font></tt>
<br>