在我的JRuby应用程序中,我定期收到以下错误消息,
if (isset($_POST['Name']))
{
include_once 'dbh.php';
$name = $row['Name'];
$query = "SELECT * FROM order_detail WHERE Name = $name";
$result = mysqli_query($connection, $query);
echo "<table border = 1px>"; // start a table tag in the HTML
while($row = mysqli_fetch_array($result))
{
//Creates a loop to loop through results
echo "<tr><td style = 'width:30px;'>" . $row['ID'] . "</td>
<td style = 'width:30%;'>" . $row['Name'] . "</td>
<td style = 'width:30%;'>" . $row['Ordered_Item'] . "</td>
<td>" . $row['Quantity'] . "</td></tr>"; //$row['index'] the index here is a field name
}
echo "</table>"; //Close the table in HTML
mysqli_close($connection);
}
具有以下配置(3个节点)
Aerospike::Exceptions::Connection: Resource temporarily unavailable - errno backtraces disabled; run with -Xerrno.backtrace=true to enable
除此之外,我还添加了用于读写操作的超时(250毫秒)。这个错误背后有什么特殊原因吗?
我正在使用network {
service {
address any
port 3000
}
heartbeat {
mode mesh
address 10.240.0.53
port 3002
# To use unicast-mesh heartbeats, remove the 3 lines above, and see
# aerospike_mesh.conf for alternative.
mesh-seed-address-port 10.240.0.53 3002
mesh-seed-address-port 10.240.0.34 3002
mesh-seed-address-port 10.240.0.48 3002
interval 150
timeout 10
}
fabric {
port 3001
}
info {
port 3003
}
}
和Aerospike客户程序jruby-9.1.15.0
以及带有3个节点的Aerospike社区版