[open-ils-commits] [GIT] Evergreen ILS branch rel_2_4 updated. 15af9254759d55ea4cad2f36d1d7bbcdb56bfc0b
Evergreen Git
git at git.evergreen-ils.org
Wed May 1 10:49:01 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, rel_2_4 has been updated
via 15af9254759d55ea4cad2f36d1d7bbcdb56bfc0b (commit)
from 7b2e637358f399982656f23289ac00f137274ad9 (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 15af9254759d55ea4cad2f36d1d7bbcdb56bfc0b
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