> 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.



_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to