Comments (6)
Does this mean that riak would be allowed to open more file descriptors?
from puppet-riak.
Yes, default is 1024
(at least on Ubuntu which is what we're using) and recommend is a minimum of 4096
http://docs.basho.com/riak/latest/cookbooks/Open-Files-Limit/
I think the most correct way is to probably use PAM... but I haven't tried it out yet.
There are PAM modules floating around at
from puppet-riak.
In response to #17 ... from the Riak docs. I think the most correct answer is to set /etc/default/riak
and the PAM method.
The initial docs say:
On Ubuntu, if you’re always relying on the init scripts to start Riak, you can create the file /etc/default/riak and specify a manual limit like so:
ulimit -n 65536
...
As init scripts are always run as the root user, there’s no need to specifically set limits in /etc/security/limits.conf if you’re solely relying on init scripts.
But from what I can tell, the PAM method is correct if you need to perform, e.g. join
commands over SSH?
Unfortunately I'm not an expert over various distro versions. We're fixed on Precise
as its LTS.
from puppet-riak.
For the Chef cookbook we took the /etc/default/riak
route for Debian due to the start-stop-daemon
init script update: basho-labs/riak-chef-cookbook@26f21f9
Apparently, start-stop-daemon
bypasses PAM, which skips overrides in /etc/security/limits.conf
.
from puppet-riak.
Potential candidate for being used: voxpupuli/puppet-augeasproviders#35
from puppet-riak.
I believe this is now in the module from Pull #64, so could presumably be closed.
from puppet-riak.
Related Issues (20)
- `rake vagrant:up` has trouble starting up Riak on CentOS 6.x HOT 10
- Support Riak 2.0 HOT 20
- Start using 'rspec-system-puppet' HOT 1
- Can not run init.pp HOT 1
- If no version is specified in puppet default is 1.3.0 HOT 1
- Specs broken HOT 7
- how about forming a cluster after installation HOT 11
- Request to migrate to Basho Labs account HOT 4
- Determine best go-forward puppet-riak module HOT 13
- is anybody actually using httpfile? HOT 5
- puppet version requirements, platform requirements survey HOT 13
- RFC - riak types / providers proposal
- travis-ci not enabled on this repo HOT 4
- Get this onto Forge HOT 3
- OS Optimization settings HOT 4
- riak-admin automation options HOT 4
- Support for Riak 2.1 by default
- Repo setup fails on Ubuntu HOT 2
- Version 0.2.2 (via https://forge.puppetlabs.com/basholabs/riak) is not compatible with Puppet 3.7 HOT 5
- Tests failing on initial fork HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puppet-riak.