r3.0: contrail-collector takes up lot of memory

Bug #1562213 reported by Raj Reddy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R2.20
Fix Committed
High
Arvind
R2.21.x
Fix Committed
High
Arvind
R2.22.x
Fix Committed
High
Arvind
R3.0
Fix Committed
High
Arvind
Trunk
Fix Committed
High
Arvind

Bug Description

as seen below contrail-collector is taking 54G memory.. there may be a memory leak..

top - 17:00:01 up 42 days, 3:15, 1 user, load average: 1.15, 1.33, 1.41
Tasks: 660 total, 1 running, 657 sleeping, 0 stopped, 2 zombie
%Cpu(s): 2.6 us, 1.3 sy, 0.0 ni, 95.9 id, 0.1 wa, 0.1 hi, 0.0 si, 0.0 st
KiB Mem: 13200871+total, 12699531+used, 5013404 free, 238684 buffers
KiB Swap: 13418496+total, 0 used, 13418496+free. 37899248 cached Mem

  PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
 3916 cassand+ 20 0 11.030g 9.158g 100040 S 18.8 7.3 10087:19 java
10675 contrail 20 0 58.156g 0.054t 9572 S 12.2 44.0 5283:28 contrail-collec
10679 contrail 20 0 351204 65572 4568 S 7.9 0.0 3734:20 contrail-alarm-
 4237 root 20 0 240508 28448 4548 S 3.6 0.0 105:19.92 python
22160 root 20 0 145080 63396 1904 S 3.6 0.0 0:00.11 puppet
22188 root 20 0 2411824 20952 7936 S 3.3 0.0 0:00.10 java
 4239 root 20 0 7848192 1.080g 13600 S 3.0 0.9 1025:41 java
 9383 root 20 0 266928 53964 4544 S 2.6 0.0 1060:30 contrail-discov
12108 contrail 20 0 1917060 55948 12224 S 2.0 0.0 790:43.69 contrail-contro
12109 contrail 20 0 1907524 34412 9920 S 1.6 0.0 807:42.51 contrail-dns

Tags: analytics
Raj Reddy (rajreddy)
Changed in juniperopenstack:
assignee: nobody → Arvind (arvindv)
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.0

Review in progress for https://review.opencontrail.org/20060
Submitter: Arvind (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/20061
Submitter: Arvind (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.20

Review in progress for https://review.opencontrail.org/20062
Submitter: Arvind (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.21.x

Review in progress for https://review.opencontrail.org/20064
Submitter: Arvind (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.22.x

Review in progress for https://review.opencontrail.org/20065
Submitter: Arvind (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/20061
Committed: http://github.org/Juniper/contrail-controller/commit/ce811d8f211113f5e9b077951a880c153c38e31e
Submitter: Zuul
Branch: master

commit ce811d8f211113f5e9b077951a880c153c38e31e
Author: arvindvis <email address hidden>
Date: Tue May 10 11:18:10 2016 -0700

ipfix collector was using lot of memory when run on valgrind.
The reason being that it does not deallocate the buffer it
recieved for processing.
Close-Bug:1562213

Change-Id: I94266c96b1fe9b7b970d19b7fca761e8cea2d7e1

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/20060
Committed: http://github.org/Juniper/contrail-controller/commit/c88ecf7acdf2d5210e720bd0236081e8553c8d6c
Submitter: Zuul
Branch: R3.0

commit c88ecf7acdf2d5210e720bd0236081e8553c8d6c
Author: arvindvis <email address hidden>
Date: Tue May 10 11:18:10 2016 -0700

ipfix collector was using lot of memory when run on valgrind.
The reason being that it does not deallocate the buffer it
recieved for processing.
Close-Bug:1562213

Change-Id: I94266c96b1fe9b7b970d19b7fca761e8cea2d7e1

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/20062
Committed: http://github.org/Juniper/contrail-controller/commit/6c3f8c396b234929dbbeddf035f85208bd05eecd
Submitter: Zuul
Branch: R2.20

commit 6c3f8c396b234929dbbeddf035f85208bd05eecd
Author: arvindvis <email address hidden>
Date: Tue May 10 11:18:10 2016 -0700

ipfix collector was using lot of memory when run on valgrind.
The reason being that it does not deallocate the buffer it
recieved for processing.
Close-Bug:1562213

Change-Id: I94266c96b1fe9b7b970d19b7fca761e8cea2d7e1

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/20065
Committed: http://github.org/Juniper/contrail-controller/commit/e298fc60214ea61a2b576843e8870ef956801865
Submitter: Zuul
Branch: R2.22.x

commit e298fc60214ea61a2b576843e8870ef956801865
Author: arvindvis <email address hidden>
Date: Tue May 10 11:18:10 2016 -0700

ipfix collector was using lot of memory when run on valgrind.
The reason being that it does not deallocate the buffer it
recieved for processing.
Close-Bug:1562213

Change-Id: I94266c96b1fe9b7b970d19b7fca761e8cea2d7e1

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/20064
Committed: http://github.org/Juniper/contrail-controller/commit/0d00e1956497968cb1f85c18bb29260dbfa6a88a
Submitter: Zuul
Branch: R2.21.x

commit 0d00e1956497968cb1f85c18bb29260dbfa6a88a
Author: arvindvis <email address hidden>
Date: Tue May 10 11:18:10 2016 -0700

ipfix collector was using lot of memory when run on valgrind.
The reason being that it does not deallocate the buffer it
recieved for processing.
Close-Bug:1562213

Change-Id: I94266c96b1fe9b7b970d19b7fca761e8cea2d7e1

information type: Proprietary → Public
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.