returnplasmaProfiling.performanceGraph(width,height, sb.wordIndex.countURL()+" URLS / "+sb.wordIndex.collectionsSize()+" WORDS IN COLLECTIONS / "+sb.wordIndex.cacheSize()+" WORDS IN CACHE");
this.log.logFine("Host in URL '"+entry.url().toString()+"' has IP address outside of declared range ("+sb.getConfig("network.unit.domain","unknown")+"). "+
if (this.log.isFine())this.log.logFine("Host in URL '"+entry.url().toString()+"' has IP address outside of declared range ("+sb.getConfig("network.unit.domain","unknown")+"). "+
this.log.logFine("URL '"+entry.url().toString()+"' is double registered in '"+dbocc+"'. "+"Stack processing time: "+(System.currentTimeMillis()-startTime)+"ms");
if (this.log.isFine())this.log.logFine("URL '"+entry.url().toString()+"' is double registered in '"+dbocc+"'. "+"Stack processing time: "+(System.currentTimeMillis()-startTime)+"ms");
returnreason;
}
if((oldEntry!=null)&&(!recrawl)){
reason=plasmaCrawlEURL.DOUBLE_REGISTERED+"LURL)";
this.log.logFine("URL '"+entry.url().toString()+"' is double registered in 'LURL'. "+"Stack processing time: "+(System.currentTimeMillis()-startTime)+"ms");
if (this.log.isFine())this.log.logFine("URL '"+entry.url().toString()+"' is double registered in 'LURL'. "+"Stack processing time: "+(System.currentTimeMillis()-startTime)+"ms");
returnreason;
}
// show potential re-crawl
if(recrawl){
this.log.logFine("RE-CRAWL of URL '"+entry.url().toString()+"': this url was crawled "+
if (this.log.isFine())this.log.logFine("RE-CRAWL of URL '"+entry.url().toString()+"': this url was crawled "+
((System.currentTimeMillis()-oldEntry.loaddate().getTime())/60000/60/24)+" days ago.");
@ -132,13 +132,13 @@ public class plasmaDHTChunk {
this.log=log;
this.wordIndex=wordIndex;
this.startPointHash=selectTransferStart();
log.logFine("Selected hash "+this.startPointHash+" as start point for index distribution, distance = "+yacyDHTAction.dhtDistance(yacyCore.seedDB.mySeed().hash,this.startPointHash));
if(this.log.isFine())log.logFine("Selected hash "+this.startPointHash+" as start point for index distribution, distance = "+yacyDHTAction.dhtDistance(yacyCore.seedDB.mySeed().hash,this.startPointHash));
log.logFine("Too few ("+this.idxCount+") indexes selected for transfer.");
if(this.log.isFine())log.logFine("Too few ("+this.idxCount+") indexes selected for transfer.");
this.status=chunkStatus_FAILED;
}
}catch(InterruptedExceptione){
@ -150,13 +150,13 @@ public class plasmaDHTChunk {
try{
this.log=log;
this.wordIndex=wordIndex;
log.logFine("Demanded hash "+startHash+" as start point for index distribution, distance = "+yacyDHTAction.dhtDistance(yacyCore.seedDB.mySeed().hash,this.startPointHash));
if(this.log.isFine())log.logFine("Demanded hash "+startHash+" as start point for index distribution, distance = "+yacyDHTAction.dhtDistance(yacyCore.seedDB.mySeed().hash,this.startPointHash));
log.logFine("DHT selection from FILE: "+refcountFile+" entries, RAM provided only "+refcountRAM+" entries");
if(this.log.isFine())log.logFine("DHT selection from FILE: "+refcountFile+" entries, RAM provided only "+refcountRAM+" entries");
return;
}finally{
this.selectionEndTime=System.currentTimeMillis();
@ -268,7 +268,7 @@ public class plasmaDHTChunk {
}
// use whats left
log.logFine("Selected partial index ("+container.size()+" from "+wholesize+" URLs, "+notBoundCounter+" not bound) for word "+container.getWordHash());
if(this.log.isFine())log.logFine("Selected partial index ("+container.size()+" from "+wholesize+" URLs, "+notBoundCounter+" not bound) for word "+container.getWordHash());
tmpContainers.add(container);
}catch(kelondroExceptione){
log.logSevere("plasmaWordIndexDistribution/2: deleted DB for word "+container.getWordHash(),e);
// find maximum values for automatic graph dimension adoption
intmaxppm=(int)maxPayload("ppm",25);
longmaxbytes=maxPayload("memory",110*1024*1024);
@ -73,13 +73,13 @@ public class plasmaProfiling {
intrightborder=30;
inttopborder=20;
intbottomborder=20;
intleftscale=20;
intleftscale=50;
intrightscale=100;
intbottomscale=60;
intvspace=height-topborder-bottomborder;
inthspace=width-leftborder-rightborder;
intmaxtime=600;
ymageChartchart=newymageChart(width,height,"FFFFFF","000000",leftborder,rightborder,topborder,bottomborder,"PEER PERFORMANCE GRAPH: PAGES/MINUTE and USED MEMORY");
ymageChartchart=newymageChart(width,height,"FFFFFF","000000","AAAAAA",leftborder,rightborder,topborder,bottomborder,"PEER PERFORMANCE GRAPH: PAGES/MINUTE and USED MEMORY",subline);