incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jens Rantil <jens.ran...@gmail.com>
Subject Re: Performance - Initiating over 100 simultaneous replications.
Date Sat, 05 Oct 2013 09:07:54 GMT
Ramkrishna,

Just curious, what did you set the limits to for this to work?

Cheers,
Jens


On Fri, Oct 4, 2013 at 2:42 PM, Ramkrishna Kulkarni <
ramkrishna.kulkarni@gmail.com> wrote:

> That worked! I can now see thousands of connections. Thanks a lot.
>
>
> On Fri, Oct 4, 2013 at 4:01 PM, Robert Newson <rnewson@apache.org> wrote:
>
> > One common gotcha with limits.conf is that couchdb su's to the couchdb
> > user and /etc/pam.d/su in debian/ubuntu defaults to *not* respecting
> > limits.conf, you need to enable it.
> >
> > B.
> >
> > On 4 Oct 2013, at 02:38, Ramkrishna Kulkarni <
> > ramkrishna.kulkarni@gmail.com> wrote:
> >
> > > I'm initiating over 100 one shot replications to as many servers from a
> > > central server. When I do this, central CouchDB slows down a lot
> > (Requests
> > > to DBs time out) even though enough system resources are available. I
> do
> > > not see more than 600 connections (netstat -an | grep -i established |
> wc
> > > -l) being opened at the time of replication. My config looks something
> > like
> > > this:
> > >
> > > [couchdb]
> > > max_dbs_open = 10000
> > >
> > > [httpd]
> > > max_connections = 10240
> > >
> > > [replicator]
> > > worker_processes = 30
> > > http_connections = 30
> > >
> > > /etc/security/limits.conf
> > > * - nofile 65535
> > >
> > > ulimit -n
> > > 65535
> > >
> > > This is CouchDB 1.4.x on Ubuntu 12.04 32-bit, 8-cores, 6GB RAM.
> > >
> > > I was hoping to see at least 3000 connections - 30 per replication. Is
> > > there some other config I'm missing?
> > >
> > > Thanks,
> > > Ram
> >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message