diff --git a/htroot/IndexCreate_p.html b/htroot/IndexCreate_p.html
index 7d81a4893..1df797804 100644
--- a/htroot/IndexCreate_p.html
+++ b/htroot/IndexCreate_p.html
@@ -23,6 +23,34 @@
Value
Description
+
+ Starting Point:
+
+
+
+
+ Existing start URLs are re-crawled.
+ Other already visited URLs are sorted out as "double".
+ A complete re-crawl will be available soon.
+
+
Crawling Depth:
@@ -164,31 +192,14 @@
-->
- Starting Point:
+ Wanted Performance:
-
+ maximum
+ custom: PPM
+ optimal as background process
- Existing start URLs are re-crawled.
- Other already visited URLs are sorted out as "double".
- A complete re-crawl will be available soon.
+ Set wanted level of computing power, used for this and other running crawl tasks. (PPM = pages per minute)
diff --git a/htroot/IndexCreate_p.java b/htroot/IndexCreate_p.java
index 2a356c0b8..8777e60f9 100644
--- a/htroot/IndexCreate_p.java
+++ b/htroot/IndexCreate_p.java
@@ -144,13 +144,21 @@ public class IndexCreate_p {
prop.put("indexingTextChecked", env.getConfig("indexText", "").equals("true") ? 1 : 0);
prop.put("indexingMediaChecked", env.getConfig("indexMedia", "").equals("true") ? 1 : 0);
prop.put("crawlOrderChecked", env.getConfig("crawlOrder", "").equals("true") ? 1 : 0);
- long busySleep = Integer.parseInt(env.getConfig("62_remotetriggeredcrawl_busysleep", "100"));
- if (busySleep < 100) {
- busySleep = 100;
- env.setConfig("62_remotetriggeredcrawl_busysleep", Long.toString(busySleep));
+
+ long LCbusySleep = Integer.parseInt(env.getConfig(plasmaSwitchboard.CRAWLJOB_LOCAL_CRAWL_BUSYSLEEP, "100"));
+ int LCppm = (int) (60000L / LCbusySleep);
+ prop.put("crawlingSpeedMaxChecked", (LCppm >= 1000) ? 1 : 0);
+ prop.put("crawlingSpeedCustChecked", ((LCppm > 10) && (LCppm < 1000)) ? 1 : 0);
+ prop.put("crawlingSpeedMinChecked", (LCppm <= 10) ? 1 : 0);
+ prop.put("customPPMdefault", ((LCppm > 10) && (LCppm < 1000)) ? Integer.toString(LCppm) : "");
+
+ long RTCbusySleep = Integer.parseInt(env.getConfig(plasmaSwitchboard.CRAWLJOB_REMOTE_TRIGGERED_CRAWL_BUSYSLEEP, "100"));
+ if (RTCbusySleep < 100) {
+ RTCbusySleep = 100;
+ env.setConfig(plasmaSwitchboard.CRAWLJOB_REMOTE_TRIGGERED_CRAWL_BUSYSLEEP, Long.toString(RTCbusySleep));
}
if (env.getConfig("crawlResponse", "").equals("true")) {
- if (busySleep <= 100) {
+ if (RTCbusySleep <= 100) {
prop.put("acceptCrawlMaxChecked", 1);
prop.put("acceptCrawlLimitedChecked", 0);
prop.put("acceptCrawlDeniedChecked", 0);
@@ -164,9 +172,10 @@ public class IndexCreate_p {
prop.put("acceptCrawlLimitedChecked", 0);
prop.put("acceptCrawlDeniedChecked", 1);
}
- int ppm = (int) (60000L / busySleep);
- if (ppm > 60) ppm = 60;
- prop.put("PPM", ppm);
+ int RTCppm = (int) (60000L / RTCbusySleep);
+ if (RTCppm > 60) RTCppm = 60;
+ prop.put("PPM", RTCppm);
+
prop.put("xsstopwChecked", env.getConfig("xsstopw", "").equals("true") ? 1 : 0);
prop.put("xdstopwChecked", env.getConfig("xdstopw", "").equals("true") ? 1 : 0);
prop.put("xpstopwChecked", env.getConfig("xpstopw", "").equals("true") ? 1 : 0);
diff --git a/htroot/PerformanceQueues_p.html b/htroot/PerformanceQueues_p.html
index 1080ae0d0..a77af9fb9 100644
--- a/htroot/PerformanceQueues_p.html
+++ b/htroot/PerformanceQueues_p.html
@@ -51,7 +51,7 @@
#[memusepercycle]#
milliseconds
milliseconds
- kbytes
+ kbytes
#[longdescr]#
#{/table}#
diff --git a/htroot/PerformanceQueues_p.java b/htroot/PerformanceQueues_p.java
index 0107bd20b..c41d269c9 100644
--- a/htroot/PerformanceQueues_p.java
+++ b/htroot/PerformanceQueues_p.java
@@ -135,7 +135,8 @@ public class PerformanceQueues_p {
idlesleep = post.getLong(threadName + "_idlesleep", 1000);
busysleep = post.getLong(threadName + "_busysleep", 100);
memprereq = post.getLong(threadName + "_memprereq", 0) * 1024;
-
+ if (memprereq == 0) memprereq = sb.getConfigLong(threadName + "_memprereq", 0);
+
// check values to prevent short-cut loops
if (idlesleep < 1000) idlesleep = 1000;
if (threadName.equals("10_httpd")) { idlesleep = 0; busysleep = 0; memprereq = 0; }
diff --git a/htroot/WatchCrawler_p.html b/htroot/WatchCrawler_p.html
index d760e4673..64099415b 100644
--- a/htroot/WatchCrawler_p.html
+++ b/htroot/WatchCrawler_p.html
@@ -54,6 +54,20 @@
+
+