|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
|
<head>
|
|
|
|
<title>YaCy '#[clientname]#': Crawler Queues</title>
|
|
|
|
#%env/templates/metas.template%#
|
|
|
|
<script type="text/javascript" src="/js/ajax.js"></script>
|
|
|
|
<script type="text/javascript" src="/js/xml.js"></script>
|
|
|
|
<script type="text/javascript" src="/js/html.js"></script>
|
|
|
|
<script type="text/javascript" src="/js/Crawler.js"></script>
|
|
|
|
<script type="text/javascript">
|
|
|
|
function refreshiframe()
|
|
|
|
{
|
|
|
|
var f = document.getElementById('QueuesTable');
|
|
|
|
f.contentWindow.location.reload(true);
|
|
|
|
setTimeout("refreshiframe()", 2000);
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
</head>
|
|
|
|
<body id="Crawler" onload="initCrawler();refreshiframe();">
|
|
|
|
#%env/templates/header.template%#
|
|
|
|
#%env/templates/submenuCrawlMonitor.template%#
|
|
|
|
<h2>Crawler Queues</h2>
|
|
|
|
<noscript><p>(Please enable JavaScript to automatically update this page!)</p></noscript>
|
|
|
|
<fieldset style="width:240px;height:130px;float:left;">
|
|
|
|
<legend>Queues</legend>
|
|
|
|
<table border="0" cellpadding="2" cellspacing="1" class="watchCrawler">
|
|
|
|
<tbody>
|
|
|
|
<tr class="TableHeader">
|
|
|
|
<th>Queue</th>
|
|
|
|
<th>Size</th>
|
|
|
|
<th width="60">Pause/Resume</th>
|
|
|
|
</tr>
|
|
|
|
<tr class="TableCellLight">
|
|
|
|
<td align="left">Local Crawler</td>
|
|
|
|
<td align="right"><span id="localcrawlerqueuesize">#[localCrawlSize]#</span></td>
|
|
|
|
<td>
|
|
|
|
<a href="" id="localcrawlerstateA">
|
|
|
|
<img src="" alt="" style="width:12px; height:12px;" id="localcrawlerstateIMG" />
|
|
|
|
</a>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr class="TableCellLight">
|
|
|
|
<td align="left">Limit Crawler</td>
|
|
|
|
<td align="right"><span id="limitcrawlerqueuesize">#[limitCrawlSize]#</span></td>
|
|
|
|
<td>
|
|
|
|
<a href="" title="" id="limitcrawlerstateA">
|
|
|
|
<img src="" alt="" style="width:12px; height:12px;" id="limitcrawlerstateIMG" />
|
|
|
|
</a>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr class="TableCellLight">
|
|
|
|
<td align="left">Remote Crawler</td>
|
|
|
|
<td align="right"><span id="remotecrawlerqueuesize">#[remoteCrawlSize]#</span></td>
|
|
|
|
<td>
|
|
|
|
<a href="" title="" id="remotecrawlerstateA">
|
|
|
|
<img src="" alt="" style="width:12px; height:12px;" id="remotecrawlerstateIMG" />
|
|
|
|
</a>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr class="TableCellLight">
|
|
|
|
<td align="left">No-Load Crawler</td>
|
|
|
|
<td align="right"><span id="noloadcrawlerqueuesize">#[noloadCrawlSize]#</span></td>
|
|
|
|
<td>
|
|
|
|
<a href="" title="" id="noloadcrawlerstateA">
|
|
|
|
<img src="" alt="" style="width:12px; height:12px;" id="noloadcrawlerstateIMG" />
|
|
|
|
</a>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr class="TableCellLight">
|
|
|
|
<td align="left">Loader (<span id="loaderqueuemax">#[loaderMax]#</span>)</td>
|
|
|
|
<td align="right"><span id="loaderqueuesize">#[loaderSize]#</span></td>
|
|
|
|
<td> </td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</fieldset>
|
|
|
|
<fieldset style="width:160px;height:130px;float:left;">
|
|
|
|
<legend>Index Size</legend>
|
|
|
|
<table border="0" cellpadding="2" cellspacing="1" class="watchCrawler">
|
|
|
|
<tbody>
|
|
|
|
<tr class="TableHeader">
|
|
|
|
<th>Database</th>
|
|
|
|
<th>Entries</th>
|
|
|
|
</tr>
|
|
|
|
<tr class="TableCellLight">
|
|
|
|
<td align="left">Pages (URLs)</td>
|
|
|
|
<td align="right"><span id="urldbsize">#[urlpublictextSize]#</span></td>
|
|
|
|
</tr>
|
|
|
|
<tr class="TableCellLight">
|
|
|
|
<td align="left">RWIs (Words)</td>
|
|
|
|
<td align="right"><span id="rwidbsize">#[rwipublictextSize]#</span></td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</fieldset>
|
|
|
|
<fieldset style="width:440px;height:130px;;float:left;">
|
|
|
|
<legend>Progress</legend>
|
|
|
|
<form action="Crawler_p.html" method="post" enctype="multipart/form-data" accept-charset="UTF-8">
|
|
|
|
<table border="0" cellpadding="2" cellspacing="1" class="watchCrawler">
|
|
|
|
<tbody>
|
|
|
|
<tr class="TableHeader">
|
|
|
|
<th>Indicator</th>
|
|
|
|
<th colspan="2">Level</th>
|
|
|
|
</tr>
|
|
|
|
<tr class="TableCellLight">
|
|
|
|
<td align="left">Speed</td>
|
|
|
|
<td align="left" colspan="2">
|
|
|
|
<input #(crawlingSpeedMinChecked)#::class="TableCellDark"#(/crawlingSpeedMinChecked)# type="submit" name="crawlingPerformance" value="minimum" />
|
|
|
|
<input #(crawlingSpeedCustChecked)#::class="TableCellDark"#(/crawlingSpeedCustChecked)# name="customPPM" type="text" size="5" maxlength="5" value="#[customPPMdefault]#" />PPM <input type="submit" name="crawlingPerformance" value="custom" />
|
|
|
|
<input #(crawlingSpeedMaxChecked)#::class="TableCellDark"#(/crawlingSpeedMaxChecked)# type="submit" name="crawlingPerformance" value="maximum" />
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr class="TableCellLight">
|
|
|
|
<td align="left">PPM (Pages Per Minute)</td>
|
|
|
|
<td align="left" width="20"><span id="ppmNum"> </span></td>
|
|
|
|
<td align="left"><span id="ppmSpan"> </span></td>
|
|
|
|
</tr>
|
|
|
|
<tr class="TableCellLight">
|
|
|
|
<td align="left">Traffic (Crawler)</td>
|
|
|
|
<td align="left"><span id="trafficCrawler"> </span> MB</td>
|
|
|
|
<td> </td>
|
|
|
|
</tr>
|
|
|
|
<tr class="TableCellLight">
|
|
|
|
<td align="left">RWI RAM (Word Cache)</td>
|
|
|
|
<td align="left"><span id="wordcacheNum"> </span></td>
|
|
|
|
<td align="left"><span id="wordcacheSpan"> </span></td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
<p class="watchCrawler"> #(info)#
|
|
|
|
<!-- 0 -->
|
|
|
|
::
|
|
|
|
<!-- 1 -->
|
|
|
|
Error with profile management. Please stop YaCy, delete the file DATA/PLASMADB/crawlProfiles0.db
|
|
|
|
and restart. ::
|
|
|
|
<!-- 2 -->
|
|
|
|
Error: #[errmsg]# ::
|
|
|
|
<!-- 3 -->
|
|
|
|
Application not yet initialized. Sorry. Please wait some seconds and repeat
|
|
|
|
the request. ::
|
|
|
|
<!-- 4 -->
|
|
|
|
<strong>ERROR: Crawl filter "#[newcrawlingfilter]#" does not match with
|
|
|
|
crawl root "#[crawlingStart]#".</strong> Please try again with different
|
|
|
|
filter. ::
|
|
|
|
<!-- 5 -->
|
|
|
|
Crawling of "#[crawlingURL]#" failed. Reason: #[reasonString]#<br>
|
|
|
|
::
|
|
|
|
<!-- 6 -->
|
|
|
|
Error with URL input "#[crawlingStart]#": #[error]# ::
|
|
|
|
<!-- 7 -->
|
|
|
|
Error with file input "#[crawlingStart]#": #[error]# ::
|
|
|
|
<!-- 8 -->
|
|
|
|
Crawling of "#[crawlingURL]#" started. <strong>Please wait some seconds,
|
|
|
|
it may take some seconds until the first result appears there.</strong>
|
|
|
|
If you crawl any un-wanted pages, you can delete them <a href="IndexCreateWWWLocalQueue_p.html">here</a>.<br />
|
|
|
|
#(/info)# </p>
|
|
|
|
</fieldset>
|
|
|
|
<p style="clear:both;"></p>
|
|
|
|
<!-- crawl queues -->
|
|
|
|
|
|
|
|
<!-- crawl profile list -->
|
|
|
|
#(crawlProfilesShow)#::
|
|
|
|
<fieldset>
|
|
|
|
<legend>Running Crawls</legend>
|
|
|
|
<table border="0" cellpadding="2" cellspacing="1" summary="A list of crawl profiles and their current settings.">
|
|
|
|
<colgroup>
|
|
|
|
<col width="16" />
|
|
|
|
<col width="140"/>
|
|
|
|
</colgroup>
|
|
|
|
<tr class="TableHeader">
|
|
|
|
<td><strong>Start URL</strong></td>
|
|
|
|
<td><strong>Status</strong></td>
|
|
|
|
</tr>
|
|
|
|
#{list}#
|
|
|
|
<tr class="TableCell#(dark)#Light::Dark#(/dark)#">
|
|
|
|
<td><a href="#[startURL]#">#[startURL]#</a></td>
|
|
|
|
<td>#(terminateButton)#::
|
|
|
|
<div style="text-decoration:blink;float:left;">Running</div>
|
|
|
|
<form style="float:left;" action="Crawler_p.html" method="get" enctype="multipart/form-data" accept-charset="UTF-8"><div>
|
|
|
|
<input type="hidden" name="handle" value="#[handle]#" />
|
|
|
|
<input type="submit" name="terminate" value="Terminate" />
|
|
|
|
</div></form>
|
|
|
|
#(/terminateButton)#
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
#{/list}#
|
|
|
|
</table>
|
|
|
|
</fieldset>
|
|
|
|
#(/crawlProfilesShow)#
|
|
|
|
|
|
|
|
<p>See an <a href="/api/latency_p.xml">access timing</a></p>
|
|
|
|
|
|
|
|
<iframe id="QueuesTable" src="IndexCreateQueues_p.html?embed=&urlsPerHost=1" width="100%" height="0" align="left" scrolling="no" marginheight="0" marginwidth="0" frameborder="0" ></iframe>
|
|
|
|
|
|
|
|
#%env/templates/footer.template%#
|
|
|
|
</body>
|
|
|
|
</html>
|