glyustb / mogilefs

Automatically exported from code.google.com/p/mogilefs
0 stars 0 forks source link

ulimit on startup to low #84

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Set max open files by sysctl and /etc/security/limits.conf to i.e. 64000.
2. Have mogstored set to start on boot.
3. Restart machine.

What is the expected output? What do you see instead?
Processes should run with with max open files of maxconns-value from 
/etc/mogilefs/mogstored.conf.
But instead it runs with 1024.

What version of the product are you using? On what operating system?
2.68-1 on Ubuntu 14.04.

Please provide any additional information below.
It might be good to set ulimit directly via init-script (which is what we did).

Original issue reported on code.google.com by fbewersd...@gmail.com on 23 Jun 2015 at 12:31