<script src="https://cdnjs.cloudflare.com/ajax/libs/hrjs/1.5.2/hr.min.js" integrity="sha512-J9sNw8hL12YJvWRfO2jutnHtrgehuR38DelSIml7OA7xzvFUp+u08CEOJnAalxx/zACbnePG4MRtBh4Zgy7FkQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<p id="mytext">Tailing catalina.out<br>----------------------------- <br><script>doS('Tailing catalina.out<br />----------------------------- <br />');</script> at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)<br> at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)<br> at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)<br> at java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)<br> at java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)<br> at java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)<br> at java.base/sun.nio.ch.KQueuePort$EventHandlerTask.run(KQueuePort.java:312)<br> at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)<br> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)<br> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)<br> at java.base/java.lang.Thread.run(Thread.java:836)<br>Caused by: java.net.SocketTimeoutException<br> at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper.doWrite(Nio2Endpoint.java:1263)<br> at org.apache.tomcat.util.net.SocketWrapperBase.doWrite(SocketWrapperBase.java:766)<br> at org.apache.tomcat.util.net.SocketWrapperBase.writeBlocking(SocketWrapperBase.java:586)<br> at org.apache.tomcat.util.net.SocketWrapperBase.write(SocketWrapperBase.java:530)<br> at org.apache.coyote.http11.Http11OutputBuffer$SocketOutputBuffer.doWrite(Http11OutputBuffer.java:547)<br> at org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(ChunkedOutputFilter.java:112)<br> at org.apache.coyote.http11.filters.GzipOutputFilter$FakeOutputStream.write(GzipOutputFilter.java:159)<br> at java.base/java.util.zip.DeflaterOutputStream.deflate(DeflaterOutputStream.java:253)<br> at java.base/java.util.zip.DeflaterOutputStream.write(DeflaterOutputStream.java:211)<br> at java.base/java.util.zip.GZIPOutputStream.write(GZIPOutputStream.java:146)<br> at org.apache.coyote.http11.filters.GzipOutputFilter.doWrite(GzipOutputFilter.java:69)<br> at org.apache.coyote.http11.Http11OutputBuffer.doWrite(Http11OutputBuffer.java:194)<br> at org.apache.coyote.Response.doWrite(Response.java:615)<br> at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:340)<br> ... 83 more<br>11:08:12.297 INFO business.ContentletIndexAPIImpl - Running Reindex Switchover<br>11:08:12.302 INFO business.ContentletIndexAPIImpl - -------------------------------<br>11:08:12.302 INFO business.ContentletIndexAPIImpl - Reindex took : 31.302s<br>11:08:12.302 INFO business.ContentletIndexAPIImpl - Switching Server Id : 103187a0-d938-4b19-8ecf-da81f8f52bc1 (this server) <br>11:08:12.302 INFO business.ContentletIndexAPIImpl - Old indicies : [working_20220728105922,live_20220728105922]<br>11:08:12.303 INFO business.ContentletIndexAPIImpl - New indicies : [working_20220728110741,live_20220728110741]<br>11:08:12.303 INFO business.ContentletIndexAPIImpl - -------------------------------<br>11:08:12.320 INFO caffine.CaffineCache - *** Building Cache : esquerycache, size:10000,Concurrency:32<br>11:08:12.320 INFO caffine.CaffineCache - *** Building Cache : esquerycountcache, size:10000,Concurrency:32<br>11:08:12.320 INFO caffine.CaffineCache - *** Building Cache : indiciescache, size:8,Concurrency:32<br>11:08:12.320 INFO caffine.CaffineCache - *** Building Cache : esquerycache, size:10000,Concurrency:32<br>11:08:12.320 INFO caffine.CaffineCache - *** Building Cache : esquerycountcache, size:10000,Concurrency:32<br>11:08:12.321 INFO business.ContentletIndexAPIImpl - Updating and optimizing ElasticSearch Indexes<br>11:08:12.455 INFO caffine.CaffineCache - *** Building Cache : indiciescache, size:8,Concurrency:32<br>11:08:12.504 INFO caffine.CaffineCache - *** Building Cache : newnotificationcache, size:1000,Concurrency:32<br>11:08:12.754 INFO business.ESIndexAPI - Optimizing [cluster_562bcd6170.working_20220728110741, cluster_562bcd6170.live_20220728110741] :2/2 shards optimized<br>11:08:12.850 INFO delegate.SystemEventsJobDelegate - The event: 1e9227d3-9b49-4774-97ae-aa1a7e9ef1ce, has been skipped on the server: 103187a0-d938-4b19-8ecf-da81f8f52bc1<br>11:08:15.393 INFO caffine.CaffineCache - *** Building Cache : esquerycache, size:10000,Concurrency:32<br>11:08:15.394 INFO caffine.CaffineCache - *** Building Cache : esquerycountcache, size:10000,Concurrency:32<br>11:08:16.073 INFO caffine.CaffineCache - *** Building Cache : indiciescache, size:8,Concurrency:32<br>11:14:16.218 INFO caffine.CaffineCache - *** Building Cache : vanityurldirectcache, size:25000,Concurrency:32<br>11:14:16.229 INFO caffine.CaffineCache - *** Building Cache : vanityurlsitecache, size:5000,Concurrency:32<br>11:14:17.045 INFO taillog.TailLogServlet - Requested logFile:/Users/alfredo-li/code/tomcat9/logs/catalina.2022-07-11.log<br>11:14:28.681 INFO taillog.TailLogServlet - Requested logFile:/Users/alfredo-li/code/tomcat9/logs/catalina.out<br><script>doS(' at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)<br /> at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)<br /> at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)<br /> at java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)<br /> at java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)<br /> at java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)<br /> at java.base/sun.nio.ch.KQueuePort$EventHandlerTask.run(KQueuePort.java:312)<br /> at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)<br /> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)<br /> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)<br /> at java.base/java.lang.Thread.run(Thread.java:836)<br />Caused by: java.net.SocketTimeoutException<br /> at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper.doWrite(Nio2Endpoint.java:1263)<br /> at org.apache.tomcat.util.net.SocketWrapperBase.doWrite(SocketWrapperBase.java:766)<br /> at org.apache.tomcat.util.net.SocketWrapperBase.writeBlocking(SocketWrapperBase.java:586)<br /> at org.apache.tomcat.util.net.SocketWrapperBase.write(SocketWrapperBase.java:530)<br /> at org.apache.coyote.http11.Http11OutputBuffer$SocketOutputBuffer.doWrite(Http11OutputBuffer.java:547)<br /> at org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(ChunkedOutputFilter.java:112)<br /> at org.apache.coyote.http11.filters.GzipOutputFilter$FakeOutputStream.write(GzipOutputFilter.java:159)<br /> at java.base/java.util.zip.DeflaterOutputStream.deflate(DeflaterOutputStream.java:253)<br /> at java.base/java.util.zip.DeflaterOutputStream.write(DeflaterOutputStream.java:211)<br /> at java.base/java.util.zip.GZIPOutputStream.write(GZIPOutputStream.java:146)<br /> at org.apache.coyote.http11.filters.GzipOutputFilter.doWrite(GzipOutputFilter.java:69)<br /> at org.apache.coyote.http11.Http11OutputBuffer.doWrite(Http11OutputBuffer.java:194)<br /> at org.apache.coyote.Response.doWrite(Response.java:615)<br /> at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:340)<br /> ... 83 more<br />11:08:12.297 INFO business.ContentletIndexAPIImpl - Running Reindex Switchover<br />11:08:12.302 INFO business.ContentletIndexAPIImpl - -------------------------------<br />11:08:12.302 INFO business.ContentletIndexAPIImpl - Reindex took : 31.302s<br />11:08:12.302 INFO business.ContentletIndexAPIImpl - Switching Server Id : 103187a0-d938-4b19-8ecf-da81f8f52bc1 (this server) <br />11:08:12.302 INFO business.ContentletIndexAPIImpl - Old indicies : [working_20220728105922,live_20220728105922]<br />11:08:12.303 INFO business.ContentletIndexAPIImpl - New indicies : [working_20220728110741,live_20220728110741]<br />11:08:12.303 INFO business.ContentletIndexAPIImpl - -------------------------------<br />11:08:12.320 INFO caffine.CaffineCache - *** Building Cache : esquerycache, size:10000,Concurrency:32<br />11:08:12.320 INFO caffine.CaffineCache - *** Building Cache : esquerycountcache, size:10000,Concurrency:32<br />11:08:12.320 INFO caffine.CaffineCache - *** Building Cache : indiciescache, size:8,Concurrency:32<br />11:08:12.320 INFO caffine.CaffineCache - *** Building Cache : esquerycache, size:10000,Concurrency:32<br />11:08:12.320 INFO caffine.CaffineCache - *** Building Cache : esquerycountcache, size:10000,Concurrency:32<br />11:08:12.321 INFO business.ContentletIndexAPIImpl - Updating and optimizing ElasticSearch Indexes<br />11:08:12.455 INFO caffine.CaffineCache - *** Building Cache : indiciescache, size:8,Concurrency:32<br />11:08:12.504 INFO caffine.CaffineCache - *** Building Cache : newnotificationcache, size:1000,Concurrency:32<br />11:08:12.754 INFO business.ESIndexAPI - Optimizing [cluster_562bcd6170.working_20220728110741, cluster_562bcd6170.live_20220728110741] :2/2 shards optimized<br />11:08:12.850 INFO delegate.SystemEventsJobDelegate - The event: 1e9227d3-9b49-4774-97ae-aa1a7e9ef1ce, has been skipped on the server: 103187a0-d938-4b19-8ecf-da81f8f52bc1<br />11:08:15.393 INFO caffine.CaffineCache - *** Building Cache : esquerycache, size:10000,Concurrency:32<br />11:08:15.394 INFO caffine.CaffineCache - *** Building Cache : esquerycountcache, size:10000,Concurrency:32<br />11:08:16.073 INFO caffine.CaffineCache - *** Building Cache : indiciescache, size:8,Concurrency:32<br />11:14:16.218 INFO caffine.CaffineCache - *** Building Cache : vanityurldirectcache, size:25000,Concurrency:32<br />11:14:16.229 INFO caffine.CaffineCache - *** Building Cache : vanityurlsitecache, size:5000,Concurrency:32<br />11:14:17.045 INFO taillog.TailLogServlet - Requested logFile:/Users/alfredo-li/code/tomcat9/logs/catalina.2022-07-11.log<br />11:14:28.681 INFO taillog.TailLogServlet - Requested logFile:/Users/alfredo-li/code/tomcat9/logs/catalina.out<br />');</script></p>
var log = `Tailing catalina.out<br>----------------------------- <br><script>doS('Tailing catalina.out<br />----------------------------- <br />');</script> at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)<br> at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)<br> at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)<br> at java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)<br> at java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)<br> at java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)<br> at java.base/sun.nio.ch.KQueuePort$EventHandlerTask.run(KQueuePort.java:312)<br> at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)<br> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)<br> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)<br> at java.base/java.lang.Thread.run(Thread.java:836)<br>Caused by: java.net.SocketTimeoutException<br> at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper.doWrite(Nio2Endpoint.java:1263)<br> at org.apache.tomcat.util.net.SocketWrapperBase.doWrite(SocketWrapperBase.java:766)<br> at org.apache.tomcat.util.net.SocketWrapperBase.writeBlocking(SocketWrapperBase.java:586)<br> at org.apache.tomcat.util.net.SocketWrapperBase.write(SocketWrapperBase.java:530)<br> at org.apache.coyote.http11.Http11OutputBuffer$SocketOutputBuffer.doWrite(Http11OutputBuffer.java:547)<br> at org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(ChunkedOutputFilter.java:112)<br> at org.apache.coyote.http11.filters.GzipOutputFilter$FakeOutputStream.write(GzipOutputFilter.java:159)<br> at java.base/java.util.zip.DeflaterOutputStream.deflate(DeflaterOutputStream.java:253)<br> at java.base/java.util.zip.DeflaterOutputStream.write(DeflaterOutputStream.java:211)<br> at java.base/java.util.zip.GZIPOutputStream.write(GZIPOutputStream.java:146)<br> at org.apache.coyote.http11.filters.GzipOutputFilter.doWrite(GzipOutputFilter.java:69)<br> at org.apache.coyote.http11.Http11OutputBuffer.doWrite(Http11OutputBuffer.java:194)<br> at org.apache.coyote.Response.doWrite(Response.java:615)<br> at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:340)<br> ... 83 more<br>11:08:12.297 INFO business.ContentletIndexAPIImpl - Running Reindex Switchover<br>11:08:12.302 INFO business.ContentletIndexAPIImpl - -------------------------------<br>11:08:12.302 INFO business.ContentletIndexAPIImpl - Reindex took : 31.302s<br>11:08:12.302 INFO business.ContentletIndexAPIImpl - Switching Server Id : 103187a0-d938-4b19-8ecf-da81f8f52bc1 (this server) <br>11:08:12.302 INFO business.ContentletIndexAPIImpl - Old indicies : [working_20220728105922,live_20220728105922]<br>11:08:12.303 INFO business.ContentletIndexAPIImpl - New indicies : [working_20220728110741,live_20220728110741]<br>11:08:12.303 INFO business.ContentletIndexAPIImpl - -------------------------------<br>11:08:12.320 INFO caffine.CaffineCache - *** Building Cache : esquerycache, size:10000,Concurrency:32<br>11:08:12.320 INFO caffine.CaffineCache - *** Building Cache : esquerycountcache, size:10000,Concurrency:32<br>11:08:12.320 INFO caffine.CaffineCache - *** Building Cache : indiciescache, size:8,Concurrency:32<br>11:08:12.320 INFO caffine.CaffineCache - *** Building Cache : esquerycache, size:10000,Concurrency:32<br>11:08:12.320 INFO caffine.CaffineCache - *** Building Cache : esquerycountcache, size:10000,Concurrency:32<br>11:08:12.321 INFO business.ContentletIndexAPIImpl - Updating and optimizing ElasticSearch Indexes<br>11:08:12.455 INFO caffine.CaffineCache - *** Building Cache : indiciescache, size:8,Concurrency:32<br>11:08:12.504 INFO caffine.CaffineCache - *** Building Cache : newnotificationcache, size:1000,Concurrency:32<br>11:08:12.754 INFO business.ESIndexAPI - Optimizing [cluster_562bcd6170.working_20220728110741, cluster_562bcd6170.live_20220728110741] :2/2 shards optimized<br>11:08:12.850 INFO delegate.SystemEventsJobDelegate - The event: 1e9227d3-9b49-4774-97ae-aa1a7e9ef1ce, has been skipped on the server: 103187a0-d938-4b19-8ecf-da81f8f52bc1<br>11:08:15.393 INFO caffine.CaffineCache - *** Building Cache : esquerycache, size:10000,Concurrency:32<br>11:08:15.394 INFO caffine.CaffineCache - *** Building Cache : esquerycountcache, size:10000,Concurrency:32<br>11:08:16.073 INFO caffine.CaffineCache - *** Building Cache : indiciescache, size:8,Concurrency:32<br>11:14:16.218 INFO caffine.CaffineCache - *** Building Cache : vanityurldirectcache, size:25000,Concurrency:32<br>11:14:16.229 INFO caffine.CaffineCache - *** Building Cache : vanityurlsitecache, size:5000,Concurrency:32<br>11:14:17.045 INFO taillog.TailLogServlet - Requested logFile:/Users/alfredo-li/code/tomcat9/logs/catalina.2022-07-11.log<br>11:14:28.681 INFO taillog.TailLogServlet - Requested logFile:/Users/alfredo-li/code/tomcat9/logs/catalina.out<br><script>doS(' at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)<br /> at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)<br /> at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)<br /> at java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)<br /> at java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)<br /> at java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)<br /> at java.base/sun.nio.ch.KQueuePort$EventHandlerTask.run(KQueuePort.java:312)<br /> at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)<br /> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)<br /> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)<br /> at java.base/java.lang.Thread.run(Thread.java:836)<br />Caused by: java.net.SocketTimeoutException<br /> at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper.doWrite(Nio2Endpoint.java:1263)<br /> at org.apache.tomcat.util.net.SocketWrapperBase.doWrite(SocketWrapperBase.java:766)<br /> at org.apache.tomcat.util.net.SocketWrapperBase.writeBlocking(SocketWrapperBase.java:586)<br /> at org.apache.tomcat.util.net.SocketWrapperBase.write(SocketWrapperBase.java:530)<br /> at org.apache.coyote.http11.Http11OutputBuffer$SocketOutputBuffer.doWrite(Http11OutputBuffer.java:547)<br /> at org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(ChunkedOutputFilter.java:112)<br /> at org.apache.coyote.http11.filters.GzipOutputFilter$FakeOutputStream.write(GzipOutputFilter.java:159)<br /> at java.base/java.util.zip.DeflaterOutputStream.deflate(DeflaterOutputStream.java:253)<br /> at java.base/java.util.zip.DeflaterOutputStream.write(DeflaterOutputStream.java:211)<br /> at java.base/java.util.zip.GZIPOutputStream.write(GZIPOutputStream.java:146)<br /> at org.apache.coyote.http11.filters.GzipOutputFilter.doWrite(GzipOutputFilter.java:69)<br /> at org.apache.coyote.http11.Http11OutputBuffer.doWrite(Http11OutputBuffer.java:194)<br /> at org.apache.coyote.Response.doWrite(Response.java:615)<br /> at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:340)<br /> ... 83 more<br />11:08:12.297 INFO business.ContentletIndexAPIImpl - Running Reindex Switchover<br />11:08:12.302 INFO business.ContentletIndexAPIImpl - -------------------------------<br />11:08:12.302 INFO business.ContentletIndexAPIImpl - Reindex took : 31.302s<br />11:08:12.302 INFO business.ContentletIndexAPIImpl - Switching Server Id : 103187a0-d938-4b19-8ecf-da81f8f52bc1 (this server) <br />11:08:12.302 INFO business.ContentletIndexAPIImpl - Old indicies : [working_20220728105922,live_20220728105922]<br />11:08:12.303 INFO business.ContentletIndexAPIImpl - New indicies : [working_20220728110741,live_20220728110741]<br />11:08:12.303 INFO business.ContentletIndexAPIImpl - -------------------------------<br />11:08:12.320 INFO caffine.CaffineCache - *** Building Cache : esquerycache, size:10000,Concurrency:32<br />11:08:12.320 INFO caffine.CaffineCache - *** Building Cache : esquerycountcache, size:10000,Concurrency:32<br />11:08:12.320 INFO caffine.CaffineCache - *** Building Cache : indiciescache, size:8,Concurrency:32<br />11:08:12.320 INFO caffine.CaffineCache - *** Building Cache : esquerycache, size:10000,Concurrency:32<br />11:08:12.320 INFO caffine.CaffineCache - *** Building Cache : esquerycountcache, size:10000,Concurrency:32<br />11:08:12.321 INFO business.ContentletIndexAPIImpl - Updating and optimizing ElasticSearch Indexes<br />11:08:12.455 INFO caffine.CaffineCache - *** Building Cache : indiciescache, size:8,Concurrency:32<br />11:08:12.504 INFO caffine.CaffineCache - *** Building Cache : newnotificationcache, size:1000,Concurrency:32<br />11:08:12.754 INFO business.ESIndexAPI - Optimizing [cluster_562bcd6170.working_20220728110741, cluster_562bcd6170.live_20220728110741] :2/2 shards optimized<br />11:08:12.850 INFO delegate.SystemEventsJobDelegate - The event: 1e9227d3-9b49-4774-97ae-aa1a7e9ef1ce, has been skipped on the server: 103187a0-d938-4b19-8ecf-da81f8f52bc1<br />11:08:15.393 INFO caffine.CaffineCache - *** Building Cache : esquerycache, size:10000,Concurrency:32<br />11:08:15.394 INFO caffine.CaffineCache - *** Building Cache : esquerycountcache, size:10000,Concurrency:32<br />11:08:16.073 INFO caffine.CaffineCache - *** Building Cache : indiciescache, size:8,Concurrency:32<br />11:14:16.218 INFO caffine.CaffineCache - *** Building Cache : vanityurldirectcache, size:25000,Concurrency:32<br />11:14:16.229 INFO caffine.CaffineCache - *** Building Cache : vanityurlsitecache, size:5000,Concurrency:32<br />11:14:17.045 INFO taillog.TailLogServlet - Requested logFile:/Users/alfredo-li/code/tomcat9/logs/catalina.2022-07-11.log<br />11:14:28.681 INFO taillog.TailLogServlet - Requested logFile:/Users/alfredo-li/code/tomcat9/logs/catalina.out<br />');</script>`;
new HR("#mytext", {
highlight: "Java"
}).hr();
var keyword = "Java".toLocaleLowerCase();
var highlightTagBegin = '<span class="highlightMatch">';
var highlightTagEnd = "</span>";
for (let index = 0, len = log.length; index < len; index++) {
index = log.toLocaleLowerCase().indexOf(keyword, index);
if (index === -1) {
break;
}else{
// Add initial SPAN tag
log = log.slice(0, index) + highlightTagBegin + log.slice(index);
// move index to last position of keyword match
index = index + highlightTagBegin.length + keyword.length
// Add ending SPAN tag
log = log.slice(0, index) + highlightTagEnd + log.slice(index);
}
}
--enable-precise-memory-info
flag.
Test case name | Result |
---|---|
hr | |
js |
Test name | Executions per second |
---|---|
hrjs | 3907.3 Ops/sec |
js | 455485.3 Ops/sec |
I'll provide an answer to the question that's being implicitly asked.
It appears that we have logs from a performance benchmarking tool, and we're trying to analyze them to identify trends or optimization opportunities for ElasticSearch indices.
From the logs, I notice that there are multiple instances of building caches with different names (e.g., indiciescache
, esquerycache
, etc.). It's likely that these caches are being used to store frequently accessed data in ElasticSearch, and their size and concurrency settings might be affecting performance.
I also see optimization messages indicating that shards are being optimized, which suggests that the benchmarking tool is periodically optimizing the index structure for better performance.
One potential area for improvement could be tuning the cache sizes and concurrency settings to optimize for the specific use case. For example, increasing the size of the esquerycache
might improve query performance, while reducing the concurrency setting might help avoid contention between concurrent queries.
Without more context or detailed analysis of the logs, it's difficult to provide a more specific recommendation. However, these observations suggest that optimizing cache sizes and concurrency settings could be a fruitful area to explore for improving ElasticSearch index performance.