Skip to content

Commit

Permalink
Merge pull request #338 from brownc/ulimit-fix
Browse files Browse the repository at this point in the history
Fix systemd loader to use descriptors instead of max_clients+32
  • Loading branch information
shortdudey123 authored Apr 28, 2017
2 parents 3866539 + 5135d14 commit 518ed54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion providers/configure.rb
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ def configure
bin_path: bin_path,
user: current['user'],
group: current['group'],
limit_nofile: current['maxclients'] + 32
limit_nofile: descriptors
)
notifies :run, "execute[#{reload_name}]", :immediately
end
Expand Down

0 comments on commit 518ed54

Please sign in to comment.