keith-turner commented on PR #4879:
URL: https://github.com/apache/accumulo/pull/4879#issuecomment-2364754350

   Ran the following code in jshell with the latest changes
   
   ```java
           client.tableOperations().create("foo");
           var executor = Executors.newFixedThreadPool(200);
           var iteratorSetting=new IteratorSetting(10,"not","not");
           var scanner = client.createScanner("foo");
           scanner.addScanIterator(iteratorSetting);
           for(int i =0;i<3000000;i++) {
               executor.submit(()->scanner.stream().count());
           }
   ```
   
   and saw the following in the logs.
   
   
   ```
   $ grep "Unable to send" tserver_localhost.err
   2024-09-20T22:11:42.811651738Z 
Log4j2-TF-1-AsyncLogger[AsyncContext@2cdf8d8a]-1 ERROR Unable to send HTTP in 
appender [MonitorLog]. No monitor is running. discards:1 errors:0 appends:1
   2024-09-20T22:16:11.994583280Z 
Log4j2-TF-1-AsyncLogger[AsyncContext@2cdf8d8a]-1 ERROR Unable to send HTTP in 
appender [MonitorLog]. Queue full. discards:2 errors:0 appends:855
   2024-09-20T22:16:11.995339569Z 
Log4j2-TF-1-AsyncLogger[AsyncContext@2cdf8d8a]-1 ERROR Unable to send HTTP in 
appender [MonitorLog]. Queue full. discards:3 errors:0 appends:856
   2024-09-20T22:16:11.997571913Z 
Log4j2-TF-1-AsyncLogger[AsyncContext@2cdf8d8a]-1 ERROR Unable to send HTTP in 
appender [MonitorLog]. Queue full. discards:4 errors:0 appends:858
   2024-09-20T22:24:48.316727314Z 
Log4j2-TF-1-AsyncLogger[AsyncContext@2cdf8d8a]-1 ERROR Unable to send HTTP in 
appender [MonitorLog]. Queue full. discards:3031 errors:0 appends:3002691
   2024-09-20T22:47:39.418922814Z 
Log4j2-TF-1-AsyncLogger[AsyncContext@2cdf8d8a]-1 ERROR Unable to send HTTP in 
appender [MonitorLog]. Queue full. discards:4104 errors:0 appends:9002670
   ```
   
   Noticed a lot of tcp connections to the monitor while this was running, 
around 1200


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to