emfile means too many open files in erlang.
On Tue, May 27, 2014 at 11:22 AM, Pieter van der Eems < [email protected]> wrote: > 2014-05-27 10:02 GMT+02:00 Vladimir Ralev <[email protected]>: > > 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. >
