Closed
Bug 733537
Opened 13 years ago
Closed 13 years ago
set up sysctl module in PuppetAgain
Categories
(Infrastructure & Operations Graveyard :: CIDuty, task, P2)
Infrastructure & Operations Graveyard
CIDuty
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: dustin, Assigned: kmoir)
References
Details
sysctl needs to be configured similarly to the existing 0.24.8 puppet. In particular, the max fd count must be 4096.
| Reporter | ||
Comment 1•13 years ago
|
||
John, I don't see this in the old puppet files -- the sysctl.conf's in /N are stock (well, they're missing a few options that are present in 6.2, but nothing extra, and nothing about max fd count).
From our talk it sounded like this was a *new* requirement for mock. So I don't know what the option name you're looking for is.
I've added a sysctl module - https://github.com/duritong/puppet-sysctl - to hg.m.o/puppet. You should be able to add a line similar to that described in the module's README to modules/toplevel/manifests/slave/build.pp to achieve the desired effect.
Assignee: nobody → jhford
Comment 2•13 years ago
|
||
Yes, this is a new requirement for b2g. This setting is unrelated to using mock, it's a requirement of being able to link libxul for b2g with the toolchain we need to use.
Comment 3•13 years ago
|
||
Actually, I ended up setting this value by deploying a file to /etc/security/limits.d to set this limit.
changeset: 125:8b5298e4c47c
tag: tip
user: John Ford <jhford@mozilla.com>
date: Fri Mar 16 11:50:42 2012 -0700
summary: set file descriptor correctly on linux build slaves
Lets re-evaluate adding the sysctl module if we have other sysctl changes to make.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 4•13 years ago
|
||
You could use
content => "hard nofile 4096\nsoft nofile 4096\n"
too, to simplify that (and be able to substitute a variable directly later).
Please add this class to the puppetagain module docs before closing.
(The sysctl module is already added, and there's no reason to take it out, so I'll leave it.)
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Updated•13 years ago
|
Assignee: jhford → kmoir
| Assignee | ||
Comment 5•13 years ago
|
||
Documentation updated
https://wiki.mozilla.org/ReleaseEngineering/Puppet/Modules/tweaks#tweaks::::nofile
Status: REOPENED → RESOLVED
Closed: 13 years ago → 13 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Product: mozilla.org → Release Engineering
Updated•7 years ago
|
Component: Platform Support → Buildduty
Product: Release Engineering → Infrastructure & Operations
Updated•5 years ago
|
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•