Project

General

Profile

Actions

Bug #7329

closed

[Keep] Keepstore wastes lots of cycles handling a request for the empty block

Added by Brett Smith over 9 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Radhika Chippada
Category:
Keep
Target version:
Story points:
1.0

Description

On many Keep servers on qr1hi right now, we see the keepstore process using all of 1 CPU, almost evenly split between system and user calls. All of these keepstore processes have the empty block file open, and are keeping it open. All of the CPU thrashing is apparently degrading performance for subsequent requests; running arv-gets are very slow, until you restart the keepstores, and then they run fine again.

Three Keep servers do not have the empty block (5-7). They are performing fine.

This looks like a regression introduced to Keep between 5dd20e4 and 9a34f5e.

The branch that fixes this is expected to include at least one failing test to tickle the bug. The test might fail by causing the tested code to enter an infinite loop.


Subtasks 3 (0 open3 closed)

Task #7344: yank packages for broken buildsResolvedWard Vandewege09/14/2015Actions
Task #7335: figure out offending commitResolvedWard Vandewege09/14/2015Actions
Task #7352: Review branch 7329-empty-block-issueResolvedTom Clegg09/14/2015Actions
Actions

Also available in: Atom PDF