[open-ils-commits] [GIT] Evergreen ILS branch master updated. 5693b91de2c70f8383b497790f4bcc7b4c9ce903
Evergreen Git
git at git.evergreen-ils.org
Wed May 1 10:47:41 EDT 2013
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".
The branch, master has been updated
via 5693b91de2c70f8383b497790f4bcc7b4c9ce903 (commit)
from f04b5bd4c83a6f69b54d1fea30359778febfd104 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 5693b91de2c70f8383b497790f4bcc7b4c9ce903
Author: Jason Stephenson <jstephenson at mvlc.org>
Date: Tue Apr 30 13:23:24 2013 -0400
Shutdown added content sockets to prevent hung connections.
We were getting several thousand sockets hanging around in a
CLOSE_WAIT state on our server. The connections were from our
server and to our server. Further investigation showed it to be
caused by the stage2 added content lookup not closing the request
sockets when it was done reading data. This branch fixes that.
Signed-off-by: Jason Stephenson <jstephenson at mvlc.org>
Signed-off-by: Mike Rylander <mrylander at gmail.com>
diff --git a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm
index 6e89be3..f38c582 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm
@@ -535,6 +535,8 @@ sub added_content_stage2 {
}
}
}
+ # To avoid a lot of hanging connections.
+ $req->shutdown(2);
}
}
}
-----------------------------------------------------------------------
Summary of changes:
.../perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list