Re: ERR Failed to stage application: insufficient resources


Stanley Shen <meteorping@...>
 

Hello, all

I am running into this issue again.

With change cell VM to c3.xlarge(7.5G memory), I have successfully pushed 2 applications to my cf/diego environment.
app1 asked 2g memory and app2 asked 3g memory.

But it failed to push app3 again for same reason, which asks 3g memory too.
I had a look on my cell VM, I do see there are not enough memory for my app3.

Tasks: 181 total, 1 running, 175 sleeping, 1 stopped, 4 zombie
%Cpu(s): 0.5 us, 25.6 sy, 0.0 ni, 73.6 id, 0.3 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem: 7658564 total, 7440796 used, 217768 free, 100632 buffers
KiB Swap: 7663000 total, 14464 used, 7648536 free. 2427600 cached Mem

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
18303 vcap 10 -10 0 0 0 Z 99.9 0.0 4517:57 ruby
28051 root 10 -10 18516 3516 2716 S 1.0 0.0 47:23.30 destroy.sh
18599 root 10 -10 18520 3496 2692 S 0.7 0.0 47:27.56 destroy.sh
9 root 20 0 0 0 0 S 0.3 0.0 1:39.41 rcuos/0
13306 vcap 10 -10 7560576 2.906g 23652 S 0.3 39.8 19:08.94 java
18552 root 10 -10 18516 3480 2680 S 0.3 0.0 9:28.66 stop.sh
24772 vcap 10 -10 564180 15964 6612 S 0.3 0.2 18:39.04 rep
1 root 20 0 33324 3600 2504 S 0.0 0.0 0:08.31 init
2 root 20 0 0 0 0 S 0.0 0.0 0:00.03 kthreadd
3 root 20 0 0 0 0 S 0.0 0.0 0:05.72 ksoftirqd/0
5 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/0:0H
7 root 20 0 0 0 0 S 0.0 0.0 6:08.60 rcu_sched

In my opinion the resource used in staging an application will be released soon after the stage process is done, but from my testing result, it seems it's not true.

Can someone give some guide on how to solving this problem?

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