Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
fix for http://www.yacy-forum.de/viewtopic.php?p=34484#34484
orbitereeb5d62bff14
diff --git a/htroot/PerformanceMemory_p.html b/htroot/PerformanceMemory_p.htmlindex d8c21ecbb..3c44b8b34 100644--- a/htroot/PerformanceMemory_p.html+++ b/htroot/PerformanceMemory_p.html@@ -76,19 +76,15 @@<tr class="TableHeader" valign="bottom"><td>Table</td><td>Chunk Size</td>- <td>RO Count</td>- <td>RO Used Memory</td>- <td>RW Count</td>- <td>RW Used Memory</td>+ <td>Count</td>+ <td>Used Memory</td></tr>#{TableList}#<tr class="TableCellLight"><td align="left" class="TableCellDark">#[tableIndexPath]#</td><td align="right">#[tableIndexChunkSize]#</td>- <td align="right">#[tableROIndexCount]#</td>- <td align="right">#[tableROIndexMem]# MB</td>- <td align="right">#[tableRWIndexCount]#</td>- <td align="right">#[tableRWIndexMem]# MB</td>+ <td align="right">#[tableIndexCount]#</td>+ <td align="right">#[tableIndexMem]# MB</td></tr>#{/TableList}#<tr class="TableCellDark">diff --git a/htroot/PerformanceMemory_p.java b/htroot/PerformanceMemory_p.javaindex 6b6adf1f4..cff52a3fb 100644--- a/htroot/PerformanceMemory_p.java+++ b/htroot/PerformanceMemory_p.java@@ -116,20 +116,16 @@ public class PerformanceMemory_p {String filename;Map map;int p, c = 0;- long ROmem, RWmem, totalmem = 0;+ long mem, totalmem = 0;while (i.hasNext()) {filename = (String) i.next();map = (Map) kelondroFlexTable.memoryStats(filename);- ROmem = Long.parseLong((String) map.get("tableROIndexMem"));- RWmem = Long.parseLong((String) map.get("tableRWIndexMem"));- totalmem += ROmem;- totalmem += RWmem;+ mem = Long.parseLong((String) map.get("tableIndexMem"));+ totalmem += mem;prop.put("TableList_" + c + "_tableIndexPath", ((p = filename.indexOf("DATA")) < 0) ? filename : filename.substring(p));prop.put("TableList_" + c + "_tableIndexChunkSize", map.get("tableIndexChunkSize"));- prop.put("TableList_" + c + "_tableROIndexCount", map.get("tableROIndexCount"));- prop.put("TableList_" + c + "_tableROIndexMem", ROmem / (1024 * 1024));- prop.put("TableList_" + c + "_tableRWIndexCount", map.get("tableRWIndexCount"));- prop.put("TableList_" + c + "_tableRWIndexMem", RWmem / (1024 * 1024));+ prop.put("TableList_" + c + "_tableIndexCount", map.get("tableIndexCount"));+ prop.put("TableList_" + c + "_tableIndexMem", map.get("tableIndexCount"));c++;}prop.put("TableList", c);@@ -139,7 +135,6 @@ public class PerformanceMemory_p {i = kelondroRecords.filenames();c = 0;totalmem = 0;- long mem;while (i.hasNext()) {filename = (String) i.next();map = (Map) kelondroRecords.memoryStats(filename);diff --git a/superseed.txt b/superseed.txtindex ff6b24535..974805e68 100644--- a/superseed.txt+++ b/superseed.txt@@ -5,7 +5,6 @@ http://home.arcor.de/hermens/yacy/seed.txthttp://low.audioattack.de/yacy/seed.txthttp://sam-daheim.de/seed.txthttp://thq.homeip.net/share/seed.txt-http://www.anomic.de/yacy/seed.txthttp://www.dortmund.homelinux.org/~samba/yacy/seed.txthttp://www.lulabad.de/seed.txthttp://www.suma-lab.de/yacy/seed.txtdiff --git a/yacy.init b/yacy.initindex 8ab2b8b89..8879d4e61 100644--- a/yacy.init+++ b/yacy.init@@ -83,6 +83,24 @@ pkcs12ImportPwd =superseedFile=superseed.txtsuperseedLocation=http://www.yacy.net/superseed.txt+++# network definition+# we distiguish local and global networks. Each network type can have different user groups+# groups can be uncontrolled, moderated or controlled+# Each group has a group master, but in case the group is uncontrolled the only task of the+# group master is to provide a bootstrap file which contains peer addresses of peers that+# are member of the group. All attributes are given in a single network description string+# of the form:+# network = <group-name>:<network-name>:<network-domain>:{'uncontrolled'|'moderated'|'controlled'}:<bootstrap-uri>+# in case that the network is the uncontrolled global dht-managed community for everybody,+# the details defaults to:+# network = all:world:global:uncontrolled:http://yacy.net/+# the network-uri must have a sub-path yacy/seed.txt containing a list of urls pointing to the+# peer-address of peers within the group of that network+# several network definition strings can be listed in a single++# bootstrapLoadTimeout# this is the time-out for loading of the seedlist files during bootstraping# the time should not be too long, since loading of the seedlist is not parallelized