Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3271426
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T18:43:38+00:00 2026-05-17T18:43:38+00:00

Yesterday I did a production simulation. The results where not good. The connection between

  • 0

Yesterday I did a production simulation. The results where not good. The connection between the two servers is OK. From time to time there is huge delay, about 5-10 minutes. I send a message, two, three.. twenty and the other side do not receives them. And then boom, all messages are there and the reply is send to the sender. The other situation is when I send 10 messages, the other side receives them momentarily and replies. But the replies are not received by the sender. After 5-10 minutes BOOM, the replies are here.

What is goin on. please help me.

====================
EDIT:
Both servers are windows XP sp3. Both computers are connected with openVPN.
NSB is the latest version.

UI <= duplex => applicaiton server <= publish/subscribe => Denormalizer(readonly database)

Yesterday I tested only the duplex. In a 1PC environment everything goes smoothly. When the duplex is ready I will test the 3rd part.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T18:43:39+00:00Added an answer on May 17, 2026 at 6:43 pm

    Do you use active directory? I remember reading that AD can cause issues with MSMQ. Something along the lines of some lookup tables being huge and slowing down things… Anyway can’t remember precisely, but just a thought.

    Otherwise, I suggest starting with having both endpoints on 1 computer, and working from there. Slowly add variables until it breaks again.

    EDIT: Try adding this line to your config:

    .RunCustomAction(() => NServiceBus.Configure.Instance.Configurer.ConfigureProperty<MsmqTransport>(
                        mt => mt.SecondsToWaitForMessage, 2))
    

    I’m not sure how you go about configuring this if you are using the host though. My config looks like:

        _Bus = NServiceBus.Configure.With()
                      .DefaultBuilder()
                      .Log4Net(new MyLogAppender())
                      .XmlSerializer()
                      .MsmqTransport()
                          .IsTransactional(true)
                          .PurgeOnStartup(true)
                      .UnicastBus()
                          .ImpersonateSender(false)
                          .DoNotAutoSubscribe()
                          .LoadMessageHandlers()
                      .RunCustomAction(() =>
                        NServiceBus.Configure.Instance.Configurer.ConfigureProperty<MsmqTransport>(
                        mt => mt.SecondsToWaitForMessage, 2))
                      .CreateBus()
                      .Start();
    

    I have an issue where my MSMQ queues will timeout regularly, creating delay that way. However the default timeout is only in the seconds (15 seconds iirc?). Never been able to work out why it is happening, I think it is something funny in the MSMQ libraries. I really doubt the same issue would cause 10min+ delays, but it’s worth a try.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Yesterday I wanted to add a boolean field to an Oracle table. However, there
Yesterday I got a call from a Microsoft representative asking if we supply hosted
yesterday you had taught me to query record history within a time range here
Yesterday, I asked this question and never really got an answer I was really
Yesterday, I discovered the Subversion (SVN) blame feature, and I was wondering, is this
Yesterday I was having a heated debate with a coworker on what would be
Yesterday, I found myself writing code like this: SomeStruct getSomeStruct() { SomeStruct input; cin
Yesterday I thought it would be nice to implement my own Trigger in a
Yesterday, I have a discussion with my colleagues about HTTP. It is asked why
Yesterday I found this function: function clone(obj) { return typeof obj === 'undefined' ?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.