mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
added more info in log fore debugging
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5805 6c8d7289-2bf4-0310-a012-ef5d649a1542
This commit is contained in:
parent
89ec3acb3e
commit
e58320a507
|
@ -306,7 +306,7 @@ public class CrawlQueues {
|
|||
// check again
|
||||
if (this.size() >= value) {
|
||||
if (this.log.isFine()) {
|
||||
log.logFine(type + "Crawl: too many processes in loader queue, dismissed (" + "cacheLoader=" + this.size() + ")");
|
||||
log.logFine(type + "Crawl: too many processes in loader queue, dismissed (" + "cacheLoader=" + this.size() + "), httpClients = " + httpClient.connectionCount());
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
@ -344,7 +344,7 @@ public class CrawlQueues {
|
|||
}
|
||||
// check again
|
||||
if (this.size() >= sb.getConfigLong(plasmaSwitchboardConstants.CRAWLER_THREADS_ACTIVE_MAX, 10)) {
|
||||
if (this.log.isFine()) log.logFine("remoteCrawlLoaderJob: too many processes in loader queue, dismissed (" + "cacheLoader=" + this.size() + ")");
|
||||
if (this.log.isFine()) log.logFine("remoteCrawlLoaderJob: too many processes in loader queue, dismissed (" + "cacheLoader=" + this.size() + "), httpClients = " + httpClient.connectionCount());
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -605,7 +605,8 @@ public class CrawlQueues {
|
|||
httpClient.initConnectionManager();
|
||||
this.entry.setStatus("worker-exception", serverProcessorJob.STATUS_FINISHED);
|
||||
} finally {
|
||||
workers.remove(code);
|
||||
crawlWorker w = workers.remove(code);
|
||||
assert w != null;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user