Skip to content

Commit c22f3a0

Browse files
authored
[action] [PR:19118] Increase PTF Container Memory Limits (sonic-net#489)
### Description of PR Increase the memory and swap limits of the PTF container to 64 GB. This is necessary for handling the increased memory consumption from the additional `exabgp` processes as a result of the additional number of VM peers of the larger topologies. Summary: Fixes # (issue) ### Type of change - [x] Bug fix - [ ] Testbed and Framework(new/improvement) - [ ] New Test case - [ ] Skipped for non-supported platforms - [ ] Test case improvement ### Back port request - [ ] 202205 - [ ] 202305 - [ ] 202311 - [ ] 202405 - [ ] 202411 - [x] 202412 - [x] 202503 - [x] 202505 ### Approach #### What is the motivation for this PR? To prevent the PTF container from running out of memory when setting up a tesbed for a topology with a large number of VMs. #### How did you do it? Increased the memory/swap limits of the PTF docker container in the ansible playbook. #### How did you verify/test it? Ran the setup with the new memory limits and confirmed that the setup now succeeds.
1 parent b487b67 commit c22f3a0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ansible/roles/vm_set/tasks/add_topo.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,8 @@
169169
capabilities:
170170
- net_admin
171171
privileged: yes
172-
memory: 16G
173-
memory_swap: 32G
172+
memory: 64G
173+
memory_swap: 64G
174174
become: yes
175175

176176
- name: Update ptf password

0 commit comments

Comments
 (0)