简体   繁体   English

MSMQ错误资源不足,放线型死信队列已满

[英]MSMQ error Insufficient Resources transactinoal dead-letter queue is filling up

Was running a system that uses multiple msmq's on the same machine, ran fine for about a day then I get the error about Insufficient resources when trying to post a message to one of the queues. 在同一台计算机上运行一个使用多个msmq的系统,运行了大约一天,然后尝试将消息发布到其中一个队列时收到有关资源不足的错误。 Investigated via this blog post: 通过此博客文章进行调查:

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

I don't see anything in there about investigating the dead-letter queue. 我对调查死信队列一无所获。

Looked at the queues, realized the only queue that had any messages left in it was the transactional dead-letter queue, purged it, now the app(s) run again and can post messages to private queues. 看着队列,意识到唯一留有消息的队列是事务性死信队列,将其清除,现在应用再次运行并可以将消息发布到专用队列。

I guess my main question is explain to me the trans dead-letter queue and how I can manage it. 我想我的主要问题是向我解释跨行死信队列以及如何管理它。

thanks. 谢谢。

There will be nothing in the blog about the Dead Letter Queue as it is just a queue, like any other. 博客中没有关于死信队列的任何内容,因为它就像其他队列一样只是一个队列。

You have messages in the DLQ because you have enabled Negative Source Journaling in your application. DLQ中包含消息,因为您已在应用程序中启用了负源日记功能。 An error condition has meant the original messages have died and ended up in the DLQ, as requested by your application. 错误情况意味着原始消息已死亡,并按照您的应用程序的要求在DLQ中结束。 Ideally, if you are using the DLQ, you have a separate thread looking for messages in it. 理想情况下,如果使用的是DLQ,则有一个单独的线程在其中查找消息。

You should have monitoring enabled on the total number of messages in the server so that you get an early alert when messages start piling up somewhere unexpectedly. 您应该对服务器中的邮件总数启用监视功能,以便当邮件意外堆积到某个地方时,您会得到早期警报。

Cheers 干杯
John Breakwell 约翰·布雷克威尔

Ran into this issue today with our MSMQ/NServiceBus setup. 立即使用我们的MSMQ / NServiceBus安装程序解决此问题。 From what I understand, manual queue purges will move messages to the Transaction Dead Messages queue. 据我了解,手动清除队列会将消息移至“事务无效消息”队列。 Clearing this queue out resolved the problem for us. 清除此队列可以为我们解决问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM