mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-22 00:00:59 +02:00
711641f167
there are now two time-outs, one for the complete connection time, and one for an idle time connections that are idle for more than 2 minutes are closed, and connections that are alive since more than one hour are also closed if the complete number of connections exceeds 64, all connections more than 64 and have most idle time are also closed During normal operation of peers these forced closings should never appear, but the existence of the idle connection check ensures the availability of the peer and the usability of the host. git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4134 6c8d7289-2bf4-0310-a012-ef5d649a1542
63 lines
2.2 KiB
HTML
63 lines
2.2 KiB
HTML
<!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]#': Server Connection Tracking</title>
|
|
#%env/templates/metas.template%#
|
|
<meta http-equiv="REFRESH" content="3" />
|
|
</head>
|
|
<body id="Connections">
|
|
#%env/templates/header.template%#
|
|
#%env/templates/submenuAccessTracker.template%#
|
|
|
|
<h2>Server Connection Tracking</h2>
|
|
<h3>Incoming Connections</h3>
|
|
<p>Showing #[numActiveRunning]# active, #[numActivePending]# pending connections from a max. of #[numMax]# allowed incoming connections.</p>
|
|
<table border="0" cellpadding="2" cellspacing="1">
|
|
<tr class="TableHeader" valign="bottom">
|
|
<td>Protocol</td>
|
|
<td>Duration</td>
|
|
<td>Source IP[:Port]</td>
|
|
<td>Dest. IP[:Port]</td>
|
|
<td>Command</td>
|
|
<td>Used</td>
|
|
<td>Close</td>
|
|
</tr>
|
|
#{list}#
|
|
<tr class="TableCell#(dark)#Light::Dark::Summary#(/dark)#" title="#[sessionName]#">
|
|
<td>#[proto]#</td>
|
|
<td>#(ms)##[duration]#::#[duration]# ms#(/ms)#</td>
|
|
<td>#[source]#</td>
|
|
<td>#[dest]#</td>
|
|
<td>#(running)#Waiting for new request nr. # #[reqNr]#::#[command]##(/running)#</td>
|
|
<td>#[used]#</td>
|
|
<td><a href="Connections_p.html?closeSession=#[sessionID]#">[Close]</a></td>
|
|
</tr>
|
|
#{/list}#
|
|
</table>
|
|
|
|
<h3>Outgoing Connections</h3>
|
|
<p>Showing #[clientActive]# active outgoing connections:</p>
|
|
<table border="0" cellpadding="2" cellspacing="1">
|
|
<tr class="TableHeader" valign="bottom">
|
|
<td>Protocol</td>
|
|
<td>Duration</td>
|
|
<td>Idle Time</td>
|
|
<td>Dest. IP[:Port]</td>
|
|
<td>Command</td>
|
|
<td>ID</td>
|
|
</tr>
|
|
#{clientList}#
|
|
<tr class="TableCell#(dark)#Light::Dark#(/dark)#">
|
|
<td>#[clientProtocol]#</td>
|
|
<td>#[clientLifetime]#</td>
|
|
<td>#[clientIdletime]#</td>
|
|
<td>#[clientTargetHost]#</td>
|
|
<td>#[clientCommand]#</td>
|
|
<td>#[clientID]#</td>
|
|
</tr>
|
|
#{/clientList}#
|
|
</table>
|
|
|
|
#%env/templates/footer.template%#
|
|
</body>
|
|
</html> |