[pve-devel] mass deployment for testing ipcc_send_rec failed
Dietmar Maurer
dietmar at proxmox.com
Wed May 28 06:35:41 CEST 2014
> But i'm getting pretty often this message:
> ipcc_send_rec failed: Resource temporarily unavailable ipcc_send_rec failed:
> Resource temporarily unavailable ipcc_send_rec failed: Resource temporarily
> unavailable ipcc_send_rec failed: Resource temporarily unavailable
> ipcc_send_rec failed: Resource temporarily unavailable ipcc_send_rec failed:
> Resource temporarily unavailable trying to aquire lock... OK
The code producing that message is in: PVE::Cluster:
my $ipcc_send_rec = sub {
my ($msgid, $data) = @_;
my $res = PVE::IPCC::ipcc_send_rec($msgid, $data);
die "ipcc_send_rec failed: $!\n" if !defined($res) && ($! != 0);
return $res;
};
Note: This is used to send data from pvestatd to pmxcfs
This calls C code in pve-cluster/data/PVE/IPCC.xs:
int32_t ms_timeout = -1; // fixme:
int res = qb_ipcc_sendv_recv(conn, iov, iov_len, ipcbuffer, sizeof(ipcbuffer), ms_timeout);
if (res < 0) {
qb_ipcc_disconnect(conn);
conn = NULL;
errno = -res;
XSRETURN_UNDEF;
}
Maybe we should repeat that call a view times if we get a temporary error.
More information about the pve-devel
mailing list