- **Milestone**: 4.7-Tentative --> 4.5.2
---
** [tickets:#1285] MDS TCP: zero bytes recvd results in application exit**
**Status:** assigned
**Milestone:** 4.5.2
**Created:** Thu Mar 26, 2015 09:49 AM UTC by Girish
**Last Updated:** Fri Apr 10, 2015 08:16 AM UTC
**Owner:** A V Mahesh (AVM)
sometimes application using opensaf exits with below message:
Feb 20 15:24:59 fedvm1 RIB[28549]: MDTM:socket_recv() = 0, conn lost with dh
server, exiting library err :Success
Feb 20 15:24:59 fedvm1 osafamfnd[28263]: NO
'safSu=SU1,safSg=app-simplex,safApp=appos' component restart probation timer
started (timeout: 4000000000 ns)
Feb 20 15:24:59 fedvm1 osafamfnd[28263]: NO Restarting a component of
'safSu=SU1,safSg=app-simplex,safApp=appos' (comp restart count: 1)
Feb 20 15:24:59 fedvm1 osafamfnd[28263]: NO
'safComp=App,safSu=SU1,safSg=app-simplex,safApp=appos' faulted due to 'avaDown'
: Recovery is 'componentRestart'
Exits at location
osaf/libs/core/mds/mds_dt_trans.c::mdtm_process_poll_recv_data_tcp
recd_bytes = recv(tcp_cb->DBSRsock, tcp_cb->buffer, local_len_buf, 0);
if (recd_bytes < 0) {
return;
} else if (0 == recd_bytes) {
syslog(LOG_ERR, "MDTM:socket_recv() =
%d, conn lost with dh server, exiting library err :%d len:%d", recd_bytes,
errno,
local_len_buf);
close(tcp_cb->DBSRsock);
exit(0);
} else if (local_len_buf > recd_bytes) {
local_len_buf turns out be 0
---
Sent from sourceforge.net because [email protected] is
subscribed to https://sourceforge.net/p/opensaf/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/opensaf/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets