[jboss-jira] [JBoss JIRA] Commented: (JGRP-464) Credit request storms from flow control protocols

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Thu Apr 12 17:28:58 EDT 2007


    [ http://jira.jboss.com/jira/browse/JGRP-464?page=comments#action_12359179 ] 
            
Brian Stansberry commented on JGRP-464:
---------------------------------------

Realized why the error only happens with SFC.  With FC the credit request messages are unicast, so NAKACK is not involved.

> Credit request storms from flow control protocols
> -------------------------------------------------
>
>                 Key: JGRP-464
>                 URL: http://jira.jboss.com/jira/browse/JGRP-464
>             Project: JGroups
>          Issue Type: Bug
>    Affects Versions: 2.5
>            Reporter: Brian Stansberry
>         Assigned To: Bela Ban
>
> If an application has a set of threads that are trying to send more messages than the consumers can handle, request threads block in FC or SFC waiting for credits.  If they wait too long, they wake up and send a message requesting credit.  With the tests I'm running, large numbers of threads would block, and then one after another time out, wake up and ask for credit, allow within a very short period.  Basically spamming the cluster asking for credit (and getting credit back for each request). 
> That seems inefficient, but with SFC it was leading to error conditions.  Seems some other server's NAKACK requested retransmission of a set of messages, some or all of which were a large number of these "spam" credit requests.  The credit requests basically had no message body, just headers, so the NAKACK.max_xmit_size check wasn't assigning them any weight.  Effect was the resulting retransmission message was > 64K and couldn't be sent, resulting in an ERROR in UDP.
> Possible solution is to add a min_credit_request_interval such that a thread that wakes up from blocking will not request credit it another thread has already done so within the configured time.  For reference, ,my port of SFC to Branch_4_2 has an implementation of that concept.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list