[rabbitmq-discuss] Rabbit crash, new persister

Matthew Sackman matthew at rabbitmq.com
Sat Jun 19 17:00:47 BST 2010


Hi Øyvind,

On Sat, Jun 19, 2010 at 02:59:23PM +0200, Øyvind Tjervaag wrote:
> Tested further with the changed folder, and was looking at the
> contents of the mnesia store folder to see if I could see what was
> happening. When I start up all my components, rabbit starts creating
> store files (I publish at times faster than my consumer can get the
> messages, but in normal operation the consumer should read off all the
> messages in a timely manner..).

Good, yes that's how it should all be working.

> So, rabbit created, and happily deleted 42 store files before it
> stopped again, without me touching any files/permissions etc. Have
> attached the rabbit and sasl logs again, but the error is basically
> the same as before. No access to the file it seems.

This is bizarre and very strange. However, it seems similar to some
other weird reports of file handling in Erlang under Windows, for
example, http://www.erlang.org/cgi-bin/ezmlm-cgi/2/679

We have in the past seen strange things going on with windows firewalls
and such like. It's not beyond the realms of possibility that it's some
virus scanner which is trying to scan the file at the same time as
Rabbit's trying to delete it. Maybe try to see if you could turn any
such things off?

Also, in the recently released Erlang R14A, there are some comments in
the release notes about changes regarding file handling under Windows.
You might like to try that, though note that R14A is, as the name
suggests, an alpha release.

Or, the somewhat easier way out, would be to not run it under Windows!

Matthew


More information about the rabbitmq-discuss mailing list