unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
* Memory usage enhancement in unicorn 6.1?
@ 2022-01-23 16:10 Toshimaru Enomoto
  2022-02-16 22:39 ` Eric Wong
  0 siblings, 1 reply; 2+ messages in thread
From: Toshimaru Enomoto @ 2022-01-23 16:10 UTC (permalink / raw)
  To: unicorn-public

Hi,

After bumping unicorn from 6.0 to 6.1,
I observed it reduced memory usage much.

In production, the memory usage has been almost halved! :0
Startup memory usage is almost the same, but after a few minutes,
there is a big difference in the memory usage between v6.0 and v6.1.

I looked into the cause of this and I found using epoll reduces memory usage.
https://gist.github.com/toshimaru/c33cfdb2e1b2540ff0481092e8c36745

Does anyone observe the same enhancement?
Or does anyone have an idea why it happened?

Thanks,
Toshi

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-02-16 22:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-23 16:10 Memory usage enhancement in unicorn 6.1? Toshimaru Enomoto
2022-02-16 22:39 ` Eric Wong

Code repositories for project(s) associated with this public inbox

	https://yhbt.net/unicorn.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).