couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vladimir Ralev <vladimir.ra...@gmail.com>
Subject Re: Couchdb Crashing
Date Tue, 27 May 2014 08:25:51 GMT
emfile means too many open files in erlang.


On Tue, May 27, 2014 at 11:22 AM, Pieter van der Eems <
p.van.der.eems@interactiveblueprints.nl> wrote:

> 2014-05-27 10:02 GMT+02:00 Vladimir Ralev <vladimir.ralev@gmail.com>:
> > Hi
> Hi,
>
> >
> > Clearly, you are exceeding your allowed file handles, which probably
> drives
> > the CPU to overload writing log lines and restarting things.
> Where did you see that the server was exceeding allowed file handles?
> (I'm trying to learn to read erlang error messages)
>
>
> > Make sure to monitor your machine open file handles with lsof, 124507 is
> > not much at all, I use 5 million. Sometimes deleted file handles get
> stuck
> > (watch with lsof for deleted files). If you have a lot of views being
> > cleaned up and reindexed that would explain everything.
> Here I was thinking 124507 was already a large number for max open file
> handles.
>
>
> >
> > I don't recall seeing excessive CPU usage from beam though, usually it's
> > the javascript. May be you have erlang views?
> Only Javascript views.
>
> With regards,
> Pieter van der Eems.
>

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