tags:

views:

290

answers:

1

MSMQ: What can cause a "Insufficient resources to perform operation" error when receiving from a queue?

At the time the queue only held 2,000 messages with each message being about 5KB in size.

+5  A: 

From John Breakwell's Blog there are eleven possibilities:

  1. The thread pool for the remote read is exhausted (MSMQ 2.0 only).
  2. The number of local callback threads is exceeded
  3. The volume of messages has exceeded what the system can handle (MSMQ 2.0 only).
  4. Paged-pool kernel memory is exhausted.
  5. Mismatched binaries.
  6. The message size is too large.
  7. The machine quota has been exceeded.
  8. Routing problems when opening a transactional foreign queue (MSMQ 3.0 only)
  9. Lack of disk space.
  10. Storage problems on mobile devices
  11. Clustering too many MSMQ resources

http://blogs.msdn.com/johnbreakwell/archive/2006/09/18/761035.aspx

I would check the version of your queue and the amount of connections (to and from) your queue open at the time of error. Any of those "could have" caused your error.

Ragepotato
It was the number of open connections. There was a bug where it would open connections in a loop and never close them.
Jonathan Allen