| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
At least FreeBSD has perl in /usr/local/bin/perl and no symlink by
default.
|
|
|
|
| |
test relies on jamming up network buffers, need better tooling.
|
|
|
|
|
|
|
|
|
| |
The new code is a lot more efficient as unblocking LRU's as it's able to
unlink refcounted items. However it's less aggressive in these cases. You'll
get one OOM per stuck item and then it'll be gone in most cases.
Removed the bottom half of the test since it's too flaky, and the above case
now looks for both OOM's and STORED's plus relevant counters.
|
|
|
|
|
| |
now lrutail_reflocked.. gross but more descriptive. will still make people
thing something went wrong, oh well.
|
|
|
|
|
|
|
| |
Add "reflocked" counter to "stats" and "stats items". Not sure if this is a
good name for that or not.
Add tests to verify a fully 'locked' LRU correctly reports oom
|
|
If a client fetches a few thousand keys, then does not ever read the socket,
those keys will stay reflocked until the client disconnects or resumes. If
some of those items are unpopular they can drop to the tail, causing all
writes in the slab class to OOM.
This creates some relief by chucking the items back to the head.
Big thanks to Jay Grizzard and other folks at Box for helping narrow this
down.
|