Skip to content

Commit

Permalink
orahost_meta: increase defaults for memlock limits from 0.90 to 0.91 …
Browse files Browse the repository at this point in the history
…for cluvfy
  • Loading branch information
Rendanic committed Mar 30, 2024
1 parent bff3f7f commit 5f747b6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
3 changes: 3 additions & 0 deletions changelogs/fragments/orahost_meta_limits.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
minor_changes:
- "orahost_meta: increase defaults for memlock limits from 0.90 to 0.91 for cluvfy (oravirt#423)"
8 changes: 4 additions & 4 deletions roles/orahost_meta/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -234,10 +234,10 @@ oracle_seclimits:
- {name: hard nofile, value: 65536}
- {name: soft stack, value: 10240}
- {name: hard stack, value: 32768}
- {name: soft memlock, value: '{{ ((0.9 * ansible_memtotal_mb) * 1024) | round |
int }}'}
- {name: hard memlock, value: '{{ ((0.9 * ansible_memtotal_mb) * 1024) | round |
int }}'}
- {name: soft memlock, value: '{{ ((0.91 * ansible_memtotal_mb) * 1024) | round
| int }}'}
- {name: hard memlock, value: '{{ ((0.91 * ansible_memtotal_mb) * 1024) | round
| int }}'}
```

### oracle_stage
Expand Down
4 changes: 2 additions & 2 deletions roles/orahost_meta/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ oracle_seclimits:
- {name: 'hard nofile', value: 65536}
- {name: 'soft stack', value: 10240}
- {name: 'hard stack', value: 32768}
- {name: 'soft memlock', value: "{{ ((0.9 * ansible_memtotal_mb) * 1024) | round | int }}"}
- {name: 'hard memlock', value: "{{ ((0.9 * ansible_memtotal_mb) * 1024) | round | int }}"}
- {name: 'soft memlock', value: "{{ ((0.91 * ansible_memtotal_mb) * 1024) | round | int }}"}
- {name: 'hard memlock', value: "{{ ((0.91 * ansible_memtotal_mb) * 1024) | round | int }}"}

# @var device_persistence:description: >
# Defines the device persistency in ansible-oracle.
Expand Down

0 comments on commit 5f747b6

Please sign in to comment.