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 <[email protected]> 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:[email protected]]
> Sent: Tuesday, December 17, 2013 4:48 PM
> To: [email protected]
> 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 <[email protected]> wrote:
>
>> emfile: you ran out of file descriptors.
>>
>> B.
>>
>
> Can this be solved with a bigger thesaurus? haha (sorry) --Matt

Reply via email to