And, for posterity, you can check; cat /proc/`pidof beam.smp`/limits
to check that it was applied. B. On 17 December 2013 22:11, Robert Newson <rnew...@apache.org> wrote: > Yup, thanks ubuntu/debian for that (longstanding annoyance). btw, It's > /etc/pam.d/su though, couchdb su's to the couchdb user during startup. > common-session clearly works, though. > > B. > > > On 17 December 2013 21:56, Glen Aidukas <gaidu...@behaviormatrix.com> wrote: >> We just figured this out. >> >> I had placed in file: /etc/security/limits.conf the following: >> >> * soft nofile 16384 >> * hard nofile 32768 >> >> But it turns out that we also needed to edit: /etc/pam.d/common-session and >> add the following line to the end: >> >> session required pam_limits.so >> >> Once we did this and restarted, the problem went away! :) >> >> Thanks for getting back to me though... :) >> >> -Glen >> >> >> -----Original Message----- >> From: matt j. sorenson [mailto:m...@sorensonbros.net] >> Sent: Tuesday, December 17, 2013 4:48 PM >> To: user@couchdb.apache.org >> Subject: Re: New errors introduced after migrating from couchdb v1.2 to v1.5 >> >> On Tue, Dec 17, 2013 at 3:27 PM, Robert Newson <rnew...@apache.org> wrote: >> >>> emfile: you ran out of file descriptors. >>> >>> B. >>> >> >> Can this be solved with a bigger thesaurus? haha (sorry) --Matt