[Haskell-cafe] "too many open files" using snap

Felipe Almeida Lessa felipe.lessa at gmail.com
Sun Jan 8 15:50:26 CET 2012


On Sun, Jan 8, 2012 at 12:27 PM, Gregory Collins
<greg at gregorycollins.net> wrote:
> A "too many open files" error is usually due to running out of file
> descriptors for network sockets. On my Linux machine the per-process limit
> for file descriptors defaults to 1024, and on my Mac the default is 256. You
> can see your current limit by running "ulimit -a" from the terminal.

If you're on Linux, then you may

  $ ls -lah /proc/PID/fd

to see where these open files are pointing to.

HTH,

-- 
Felipe.



More information about the Haskell-Cafe mailing list