We're not supporting the ancient CouchDB-on-mobile projects any longer, I'd
suggest asking on the erlang mailing list
<http://erlang.org/pipermail/erlang-questions/2011-December/063119.html>.

On Mon, Mar 16, 2015 at 10:25 AM, Manju <[email protected]> wrote:

> Hi,
>
> We are using an older version of Couchbase Mobile (the one which is erlang
> based) on Android. I know it's pretty old and it's time to upgrade, so bare
> with me.
>
> Till now Couchbase Mobile has served us well. However, recently we have
> started getting errors like "fd=NN is larger than the largest allowed
> fd=255" where NN is any value greater than 255.
>
> This is not really OS limitation as the 'ulimit -a' on Android shows 1024
> for open file descriptors (as found out by 'adb shell').
>
> Looks like Erlang VM is not allowing file descriptors more than 255.
>
> Is there any quick and/or hacky way to increase the fd limit beyond 255;
> for example increase it to 512 or 1024?
>
> It would be great if we could set some environment variable or pass a
> parameter that can increase this limit (e.g.
> https://github.com/couchbase/Android-Couchbase/blob/master/src/com/couchbase/android/CouchbaseService.java#L203
> ).
>
> I greatly appreciate any help in resolving this issue.
>
> Thanks
> Manju
>
> --
> You received this message because you are subscribed to the Google Groups
> "Couchbase Mobile" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/mobile-couchbase/9941bf9e-02ae-48b2-bfb2-3dc3a67c1786%40googlegroups.com
> <https://groups.google.com/d/msgid/mobile-couchbase/9941bf9e-02ae-48b2-bfb2-3dc3a67c1786%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/CACSSHCHzS6S4qyK23dJjZBkZZ9sAbjY9jcWyusGD_qcnLeNuoA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to