You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
When I pulled the latest version (57c6648d09d0) I got this error #147
@mnussbaum, are you sure that you are setting no flags on docker run? These lines in the logs seems suspicious: Memory limit set to 0MB of 30210MB total. and vm_memory_high_watermark set. Memory used:64831856 allowed:0. Is that the same problem others here are seeing?
It works fine here:
$ docker run -d --name rabbit rabbitmq:3-management93de73ce8b507e5ee1224698db9db902ac50b3b0fb2fae376d1e0e437b2c6344
$ docker logs rabbit RabbitMQ 3.6.9. Copyright (C) 2007-2016 Pivotal Software, Inc. ## ## Licensed under the MPL. See http://www.rabbitmq.com/ ## ## ########## Logs: tty ###### ## tty ########## Starting broker...=INFO REPORT==== 10-Apr-2017::16:53:06 ===Starting RabbitMQ 3.6.9 on Erlang 19.3Copyright (C) 2007-2016 Pivotal Software, Inc.Licensed under the MPL. See http://www.rabbitmq.com/=INFO REPORT==== 10-Apr-2017::16:53:06 ===node : rabbit@93de73ce8b50home dir : /var/lib/rabbitmqconfig file(s) : /etc/rabbitmq/rabbitmq.configcookie hash : x683XlaBtI8Em8dKo+49iQ==log : ttysasl log : ttydatabase dir : /var/lib/rabbitmq/mnesia/rabbit@93de73ce8b50=INFO REPORT==== 10-Apr-2017::16:53:07 ===Memory limit set to 12646MB of 31615MB total.=INFO REPORT==== 10-Apr-2017::16:53:07 ===Disk free limit set to 50MB=INFO REPORT==== 10-Apr-2017::16:53:07 ===Limiting to approx 1048476 file handles (943626 sockets)=INFO REPORT==== 10-Apr-2017::16:53:07 ===FHC read buffering: OFFFHC write buffering: ON=INFO REPORT==== 10-Apr-2017::16:53:07 ===Database directory at /var/lib/rabbitmq/mnesia/rabbit@93de73ce8b50 is empty. Initialising from scratch...=INFO REPORT==== 10-Apr-2017::16:53:07 === application: mnesia exited: stopped type: temporary=INFO REPORT==== 10-Apr-2017::16:53:07 ===Waiting for Mnesia tables for 30000 ms, 9 retries left=INFO REPORT==== 10-Apr-2017::16:53:07 ===Waiting for Mnesia tables for 30000 ms, 9 retries left=INFO REPORT==== 10-Apr-2017::16:53:07 ===Waiting for Mnesia tables for 30000 ms, 9 retries left=INFO REPORT==== 10-Apr-2017::16:53:07 ===Priority queues enabled, real BQ is rabbit_variable_queue=INFO REPORT==== 10-Apr-2017::16:53:07 ===Starting rabbit_node_monitor=INFO REPORT==== 10-Apr-2017::16:53:07 ===Management plugin: using rates mode 'basic'=INFO REPORT==== 10-Apr-2017::16:53:07 ===msg_store_transient: using rabbit_msg_store_ets_index to provide index=INFO REPORT==== 10-Apr-2017::16:53:07 ===msg_store_persistent: using rabbit_msg_store_ets_index to provide index=WARNING REPORT==== 10-Apr-2017::16:53:07 ===msg_store_persistent: rebuilding indices from scratch=INFO REPORT==== 10-Apr-2017::16:53:07 ===Adding vhost '/'=INFO REPORT==== 10-Apr-2017::16:53:07 ===Creating user 'guest'=INFO REPORT==== 10-Apr-2017::16:53:07 ===Setting user tags for user 'guest' to [administrator]=INFO REPORT==== 10-Apr-2017::16:53:07 ===Setting permissions for 'guest' in '/' to '.*', '.*', '.*'=INFO REPORT==== 10-Apr-2017::16:53:07 ===started TCP Listener on [::]:5672=INFO REPORT==== 10-Apr-2017::16:53:07 ===Management plugin started. Port: 15672=INFO REPORT==== 10-Apr-2017::16:53:07 ===Statistics database started. completed with 6 plugins.=INFO REPORT==== 10-Apr-2017::16:53:08 ===Server startup complete; 6 plugins started. * rabbitmq_management * rabbitmq_web_dispatch * rabbitmq_management_agent * amqp_client * cowboy * cowlib
@mnussbaum you're not using any extra flags to docker run? No docker-compose args? Any other system in place that might be modifying the container startup in some way? (docker version, docker info, and uname -a would be helpful)
Just to be sure, can we get the output of "docker run --rm alpine
cat /sys/fs/cgroup/memory/memory.limit_in_bytes" ? (should be able to use
just about any image in place of "alpine" there)
I had the same problem with starting rabbitmq (3-management).
In my case the problem was in the version of Docker (1.12.2). After I upgraded docker to version 1.12.3 the problem simply disappear.
Can one of those who is getting Memory limit set to 0MB ... please give the full output of docker run --rm alpine cat /sys/fs/cgroup/memory/memory.limit_in_bytes /proc/meminfo ?
I've got #149, but I can't reproduce whatever is causing 0MB to be the detected value in the first place, so I want to check my assumptions. 😰
Activity
thomaspeitz commentedon Apr 10, 2017
Having the same issue.
rvzanten commentedon Apr 10, 2017
Same issue here. Please fix this.
tianon commentedon Apr 10, 2017
mnussbaum commentedon Apr 10, 2017
I'm seeing this as well, to reproduce:
Output from
docker version:Full failure logs at https://gist.github.com/mnussbaum/36dd34131c851efdc93cd075a741b25f
yosifkit commentedon Apr 10, 2017
@mnussbaum, are you sure that you are setting no flags on
docker run? These lines in the logs seems suspicious:Memory limit set to 0MB of 30210MB total.andvm_memory_high_watermark set. Memory used:64831856 allowed:0. Is that the same problem others here are seeing?It works fine here:
mnussbaum commentedon Apr 10, 2017
@yosifkit yeah I'm running
docker run rabbitmq:3-managementexactly. I'm not setting any memory limits.I suppose you pulled before you tested? This problem wasn't occurring for me last week, but is as of this Mon. morning.
tianon commentedon Apr 10, 2017
@mnussbaum you're not using any extra flags to
docker run? Nodocker-composeargs? Any other system in place that might be modifying the container startup in some way? (docker version,docker info, anduname -awould be helpful)mnussbaum commentedon Apr 10, 2017
No other flags to
docker run, not usingdocker-compose, and no other system in place modifying container startup.Here's version/info output you requested:
yosifkit commentedon Apr 10, 2017
Ugh,
WARNING: No kernel memory limit support, why does the kernel then put0in the file? 😢tianon commentedon Apr 10, 2017
tianon commentedon Apr 10, 2017
See also #149, which I believe will fix the issues being seen here.
ddavidovic commentedon Apr 11, 2017
I had the same problem with starting rabbitmq (3-management).
In my case the problem was in the version of Docker (1.12.2). After I upgraded docker to version 1.12.3 the problem simply disappear.
Hope it helps!
tianon commentedon Apr 11, 2017
Can one of those who is getting
Memory limit set to 0MB ...please give the full output ofdocker run --rm alpine cat /sys/fs/cgroup/memory/memory.limit_in_bytes /proc/meminfo?I've got #149, but I can't reproduce whatever is causing
0MBto be the detected value in the first place, so I want to check my assumptions. 😰yosifkit commentedon Apr 11, 2017
Fixed via #149. PR to official-images coming shortly.