fatcache icon indicating copy to clipboard operation
fatcache copied to clipboard

Out of socket memory error

Open amarmudrankit opened this issue 10 years ago • 1 comments

Hi,

I received the following kernel error while running the fatcache:

 kernel: Out of socket memory

Setup:

  • 96 GB RAM
  • 1 TB SSD
  • 8 fatcache instances each with ~21GB of memory each -m 21760 -i 64 (12 core box)
  • Running a "memslap" client creating thousands of connections (~36 K connections) to fatcache
  • When the free memory left is around 5 GB, I see the above error and memslap stops
  • 2.6.32 kernel

Let me know if you need any other information

amarmudrankit avatar Jul 07 '15 22:07 amarmudrankit

hi @amarmudrankit: Fatcache may cause too many orphan sockets, as fatcache didn't close client fd. It was fixed at this pull request (https://github.com/twitter/fatcache/pull/19). Whether you code is the latest version?

git-hulk avatar Sep 22 '15 09:09 git-hulk