- **status**: accepted --> review
---
** [tickets:#1248] mds: sending a bigger message causing application segfault
in full encode when less stack size**
**Status:** review
**Milestone:** 4.5.1
**Created:** Tue Jan 27, 2015 10:03 AM UTC by A V Mahesh (AVM)
**Last Updated:** Tue Jan 27, 2015 10:03 AM UTC
**Owner:** A V Mahesh (AVM)
This bug address part of #1246 enhancement ticket.
To improve performance and reduce the traffic of transport ,
we increased the MDS send size in a single message from 18000 to 65536 as
part of enhancement #654.
If MDS application task was created with Medium/less stack size say 32000
and try to send huge message say above 2^16 size message (65536) using
MDS_SENDTYPE_RSP,
because of static allocation of bigger message application is running out of
stack and application is facing segfault.
use-case of sending huge data using MDS_SENDTYPE_RSP` send-type is so far
fist-time/unexposed/unique use-case , so far application are using
SENDTYPE_RSP for to send a short response message received through
SENDTYPE_SNDRSP.
Ideally application were using SENDTYPE_SND, SENDTYPE_SNDRSP, SENDTYPE_SNDRAC &
SENDTYPE_SNDACK, send-types to send huge message to avoid timeout issue between
send & response, that is why the issue was NOT reproducible with normal send
messages.
So, this ticket will only address full encode code path of send message , which
is generic use case and need to be addressed immediately.
Please note that there is another enhancement ticket:#1246, which will identify
more send flows and fix them in coherent manner.
---
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.
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets