Re: Running instances are "-1"


Daniel Mikusa
 

If you're running on DEA's, check (or maybe restart) your health manager.
It's usually the culprit for question marks in the instance count.

Dan

On Fri, Mar 18, 2016 at 2:14 AM, 王小锋 <zzuwxf(a)gmail.com> wrote:

Hi, there

I upgraded cf 212 to 218 using bosh in aws.
when I try to list all the apps in one space, I find that the column of
instances is not as expected: it has a "?" before the slash "/", seems it
cannot get the running instances. I set "CF_EXPORT=true", then I notice
that "running_instances" property is "-1", but it works if I use cf app
$app_name.

Please see the details as below, any suggestions how to debug? your help
is greatly appreciated, thanks!!

ubuntu(a)ip-10-10-0-118:~$ cf apps
Getting apps in org myorg / space dev as admin...
OK

name requested state instances memory disk urls
NoDelete stopped 0/2 256M 1G
hello1.example.com, qwe.example.com, mystick.example.com
mystick stopped 0/2 512M 1G
mystick.example.com
phpdemoXXX stopped 0/1 256M 1G
javalog started ?/1 256M 1G
myhttpserver1 started ?/1 48M 8M
myhttpserver1.example.com
myhttpserver2 started ?/5 48M 8M
myhttpserver2.example.com
myhttpserver3 started ?/5 48M 8M
myhttpserver3.example.com
myhttpserver4 started ?/1 48M 8M
myhttpserver4.example.com
myhttpserver5 started ?/2 48M 8M
myhttpserver5.example.com
myhttpserver6 started ?/1 48M 8M
myhttpserver6.example.com
myhttpserver7 started ?/1 48M 8M
myhttpserver7.example.com
myhttpserver8 started ?/1 48M 8M
myhttpserver8.example.com
myhttpserver9 started ?/1 48M 8M
myhttpserver9.example.com
myhttpserver10 started ?/1 48M 8M
myhttpserver10.example.com

Join cf-dev@lists.cloudfoundry.org to automatically receive all group messages.