From 0a0ed252bb022406397ce9a87af99d9ac32c9bb7 Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Fri, 17 Sep 2010 22:51:17 +0000
Subject: [PATCH] Fix potential OOME when under heavy asynchronous search load by making work queue capacity finite so that clients are blocked when the queue is full

---
 opends/resource/config/config.ldif |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/opends/resource/config/config.ldif b/opends/resource/config/config.ldif
index 180f3e8..ee3bcd6 100644
--- a/opends/resource/config/config.ldif
+++ b/opends/resource/config/config.ldif
@@ -2486,7 +2486,7 @@
 objectClass: ds-cfg-traditional-work-queue
 cn: Work Queue
 ds-cfg-java-class: org.opends.server.extensions.TraditionalWorkQueue
-ds-cfg-max-work-queue-capacity: 0
+ds-cfg-max-work-queue-capacity: 1000
 
 dn: cn=Administration Connector,cn=config
 objectClass: top

--
Gitblit v1.10.0