[rabbitmq-discuss] Rabbit crash, new persister
oyvind at tjervaag.com
Sat Jun 19 20:46:37 BST 2010
On Jun 19, 2010, at 6:00 PM, Matthew Sackman wrote:
>> 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
Ah, Yes, that looks familiar. I got as far as finding the file delete in RabbitMQs source but quickly had to give up on trying to modify it to check the return value as one guy suggested in your link. Would definitely like to get some Erlang practice now ;)
> 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?
No virus scanners installed, but have not fiddled with the firewall so far.
> 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.
Understood ;) Am seeing the windows file comment in the release notes for R14A, so Alpha or not, I'm giving that a try. Installed, an so far Rabbit has gone trough and deleted about 100 store files without stopping. Crossing my fingers :)
> Or, the somewhat easier way out, would be to not run it under Windows!
Now, that would be the waaaay to easy way out of it :P Client requirement is Windows though, so not much I can do about that right now. If I had a choice though; yes, this would be running on a linux box ;)
More information about the rabbitmq-discuss