frenetic-lang / frenetic

The Frenetic Programming Language and Runtime System
http://www.frenetic-lang.org/
Other
223 stars 51 forks source link

Dies on too many open files #582

Open Travisivart opened 7 years ago

Travisivart commented 7 years ago

Hi,

I'm currently using the latest master build of frenetic #581 on Ubuntu 14.04 and Ocaml 4.04.2.

It seems like, if I am running stats on ports, eventually frenetic crashes with this error:

image

This error looks to be similar to this one in frenetic-lang/ocaml-openflow https://github.com/frenetic-lang/ocaml-openflow/issues/70, however, I wasn't able to find any information in that issue which applied to the latest builds of frenetic (I could be wrong).

We are currently gathering port stats every two seconds, it seems to crash after about 5 minutes of this.

Let me know if you need anymore details.

Thanks, Travis

jnfoster commented 7 years ago

Thanks. This is a bug. We'll have to figure out where the leak is -- possible our code, or possibly a library.