fatcache
fatcache copied to clipboard
Out of socket memory error
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
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?