From ba7a5d58e7590d9eef7fb9f903fa0bdc76feb8b8 Mon Sep 17 00:00:00 2001 From: Alex Rousskov Date: Fri, 6 Jul 2012 16:35:28 -0600 Subject: [PATCH] cache.log analysis: Add a pattern to report alive (opened and not closed) FDs. --- scripts/find-alive.pl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/find-alive.pl b/scripts/find-alive.pl index d32b403c54..588a293d1d 100755 --- a/scripts/find-alive.pl +++ b/scripts/find-alive.pl @@ -51,6 +51,10 @@ my %Pairs = ( 'HttpStateData (\S+) created', 'cbdataFree: Freeing (\S+)', ], + FD => [ + 'fd_open.*\sFD (\d+)', + 'fd_close\s+FD (\d+)', + ], ); if (!$Pairs{$Thing}) { -- 2.47.2