Hi Matthew,<br><br>Thank you for your reply.<br><br>Making the assumption that we can't switch to a unix/linux distribution, is it possible to change the size at which the *.rdq file rolls? If this is possible then at least we can (further) reduce the risk of a failure.<br>
<br>Cheers,<br>Scott<br><br><div class="gmail_quote">On 20 December 2010 18:27, Matthew Sackman <span dir="ltr"><<a href="mailto:matthew@rabbitmq.com">matthew@rabbitmq.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">On Mon, Dec 20, 2010 at 06:15:14PM +0000, Scott Dupoy wrote:<br>
> I've narrowed down the scenario when the crash occurs. As the queue builds<br>
> up the msg_store_transient\0.rdq file is populated. If I start the consumer<br>
> at this point everything is fine. If the broker starts storing data in a<br>
> second database file (msg_store_transient\1.rdq) and then I start my<br>
> consumer then the crash occurs. Procmon suggests a sharing violation with<br>
> one handle attempting to delete the 0.rdq file.<br>
<br>
</div>Right. I think I can guess what's going on here, and it's not pretty.<br>
For various reasons, Rabbit can have the same file open multiple times.<br>
It can then decide to delete that file. Under unices, that's not a<br>
problem. However, apparently in general, on Windows, you can't ask for a<br>
file to be deleted if it's held open.<br>
<br>
This is not going to be a simple thing to fix. In all honesty, the best<br>
solution right now is for you not to run Rabbit under Windows. If you<br>
have to use a Windows host, then run a Linux VM within it.<br>
<br>
I'm pretty astonished that this hasn't been reported before. I guess<br>
that's likely an indication of the number of people that run RabbitMQ<br>
under Windows.<br>
<div><div></div><div class="h5"><br>
Matthew<br>
_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
</div></div></blockquote></div><br>