For whatever reason the means for determining how much memory your system has is failing. Can you provide more information about your environment?
On Wed, Dec 5, 2012 at 6:45 PM, Hongjun Zhang <[email protected]> wrote: > Hi, > After I run configure and make ,I used $ ./bin/mesos-local.sh > for a test ,but it print out that mem=0,I debug the code ,it seems that > caused by Try<long> mem = utils::os::memory().The mem does't get the value. > I run the task on ten machines ,seven of them apparent this issue. The log > as follow . > public@sil-01:~/mesos-0.9.0/build$ ./bin/mesos-local.sh > I1206 10:16:47.445142 26488 logging.cpp:72] Logging to <stderr> > I1206 10:16:47.447177 26503 master.cpp:268] Master started on > 192.168.11.89:5050 > I1206 10:16:47.447293 26503 master.cpp:283] Master ID: > 2012120610161493936320-5050-26488 > I1206 10:16:47.449432 26502 slave.cpp:190] Slave started on > 192.168.11.89:5050 > I1206 10:16:47.449481 26502 slave.cpp:191] Slave resources: cpus=4; mem=0 > I1206 10:16:47.449890 26503 master.cpp:483] Elected as master! > I1206 10:16:47.449950 26502 slave.cpp:356] New master detected at > [email protected]:5050 > I1206 10:16:47.450240 26505 master.cpp:844] Attempting to register slave > 2012120610161493936320-5050-26488-0 at [email protected]:5050 > I1206 10:16:47.450284 26505 master.cpp:1097] Master now considering a slave > at sil-01:5050 as active > I1206 10:16:47.450309 26505 master.cpp:1633] Adding slave > 2012120610161493936320-5050-26488-0 at sil-01 with cpus=4; mem=0 > I1206 10:16:47.450463 26502 slave.cpp:376] Registered with master; given > slave ID 2012120610161493936320-5050-26488-0 > I1206 10:16:47.450479 26505 simple_allocator.cpp:69] Added slave > 2012120610161493936320-5050-26488-0 with cpus=4; mem=0 > > Any thought about the issue is appreciated. > > Thanks > > > -Coke >
