Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory monitor isn't there when FHC assumes it to be #157

Closed
michaelklishin opened this issue May 15, 2015 · 2 comments
Closed

Memory monitor isn't there when FHC assumes it to be #157

michaelklishin opened this issue May 15, 2015 · 2 comments
Assignees
Labels
Milestone

Comments

@michaelklishin
Copy link
Member

See this thread. My reading of it is that VM monitor isn't there when FHC assumes it is.

@michaelklishin
Copy link
Member Author

Memory monitor is started by rabbit_alarm
which is started later than file_handle_cache, so if the FHC needs to go read
a lot of data from disk very early on, there's a race condition.

michaelklishin added a commit that referenced this issue May 19, 2015
Since the FHC now uses memory monitor, we need to make sure it is
running early on. Nothing in rabbit_alarm really depends on the
steps that used to run earlier.

`full` test suite passes.

It may be worth extracting memory and disk monitors into separate
boot steps down the road.

While here, remove a comment that's misleading. Originally introduced as
part of bug24998, doesn't seem to have any significant reasoning behind
it other than "complete separation of FHC".

References #134.
Fixes #157.
@dumbbell
Copy link
Member

Since RabbitMQ 3.5.2.

dumbbell added a commit that referenced this issue May 21, 2015
This is a runtime check to ensure the fix proposed in #157 actually
works.

References #157.
dumbbell added a commit that referenced this issue May 21, 2015
This is a runtime check to ensure the fix proposed in #157 actually
works.

Export rabbit_table:wait_timeout/0 which returns the value of
'mnesia_table_loading_timeout' or 30000.

References #157.
dumbbell added a commit that referenced this issue May 21, 2015
This is a runtime check to ensure the fix proposed in #157 actually
works.

Export rabbit_table:wait_timeout/0 which returns the value of
'mnesia_table_loading_timeout' or 30000. We then use this timeout while
waiting for the fhc test to finish.

References #157.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants