You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Few years ago I made a simple image caching proxy server using cohttp (and lwt). The server was pretty loaded, and worked on an array of pretty slow (rotational) HDD's. This caused an unexpected problem: a proxy server process ate all of the available RAM (like 32GB) in a couple of days.
The fix was: let () = Lwt_unix.set_pool_size 30
I see nobody touched the default number in a decade. How about lowering it down like 20 times?
The text was updated successfully, but these errors were encountered:
I mean this one:
lwt/src/unix/lwt_unix_stubs.c
Line 934 in 3d6f0fa
Few years ago I made a simple image caching proxy server using cohttp (and lwt). The server was pretty loaded, and worked on an array of pretty slow (rotational) HDD's. This caused an unexpected problem: a proxy server process ate all of the available RAM (like 32GB) in a couple of days.
The fix was:
let () = Lwt_unix.set_pool_size 30
I see nobody touched the default number in a decade. How about lowering it down like 20 times?
The text was updated successfully, but these errors were encountered: