Hi All :-D,
Server 1: Server 2008 SP1, 10.0.2766 (SP1 CU7) - needs updating to , we know.
Server 2: Server 2003 SP2, 9.00.3042.00 (SP2 Vanilla) - needs updating, we know.
We’re seeing problems where service broker messages are not being propagated from the transmission queue on SERVER 1 over to SERVER 2. We are able to kick-start the flow of messages by dropping and creating the Service Broker endpoint on SERVER 1.
-- SERVER 1
DROP ENDPOINT ServiceBrokerEndpoint
CREATE ENDPOINT ServiceBrokerEndpoint
STATE = STARTED
AS TCP ( LISTENER_PORT = 4022 )
FOR SERVICE_BROKER (
AUTHENTICATION = WINDOWS,
ENCRYPTION = DISABLED);
GRANT CONNECT ON ENDPOINT::ServiceBrokerEndpoint TO PUBLIC;
Further to this, It’s evident that a complete server reboot of SERVER 1 did not prevent this issue reoccurring. That is, we still have an issue where Service Broker for SERVER 1.XXXX appears to be no longer able to send out messages (however it is still able to accept incoming messages). We note that Service Broker sometimes wakes up and makes sporadic outbound connections but a point is reached where even this stops happening. We note also that dropping and recreating the (outbound) endpoint is enough to restart connections but not enough to ensure that they continue.
This is the sys table I've been watching that shows me when outbound TCP connections cease:
-- To prove that the endpoint is working, we should see two or three connections, inbound and outbound (is_accept =0 & =1)
t1.is_accept, -- 1= connections started remotely
t1.receives_posted, -- network receives that have not yet completed
t1.is_send_flow_controlled, -- 1= network sends have been postponed due to network flow control because the network is busy
t1.is_receive_flow_controlled, -- 1= network receives have been postponed due to flow control because the network is busy
t1.total_fragments_sent, -- low!
t1.total_sends, -- low on both connections!
t2.* from sys.dm_broker_connections t1
left outer join sys.dm_exec_connections t2 on t1.connection_id = t2.connection_id
Anyone have any thoughts about this one please?