DEV Community

It's 10:37PM and my file table just overflowed.

Safia Abdalla on December 19, 2018

So, I was running a build on a lerna-managed monorepo recently when I ran into this strange error about halfway through the build. (libuv) kqueue...
Collapse
 
vranacse profile image
Vikas Rana

I remembered a day when we have to restart our services every 10 mins due to this. Scary day

Collapse
 
captainsafia profile image
Safia Abdalla

Oh gosh. I can’t even imagine having to deal with this in production services. What ended up being the cause?

Collapse
 
vranacse profile image
Vikas Rana • Edited

That was actually an alert system which behaves accordingly to each client and ended up using all file descriptors.

Collapse
 
Sloan, the sloth mascot
Comment deleted
Collapse
 
vranacse profile image
Vikas Rana

πŸ˜‚ well that wasn't the issue with architecture. When people deal with servers sooner or later everyone face it. It's very basic thing that needs to be checked by sys admin.