meshapiro80 commented on issue #5886:
URL: https://github.com/apache/couchdb/issues/5886#issuecomment-3928379670

   Thank you for that detailed response.  In a state of the unknown metric 
errors flooding the couch.log I tried
   
   `couch_stats:sample([mem3, shard_cache, hit]).`
   
   and received
   ```
   [email protected])3> couch_stats:sample([mem3, shard_cache, hit]).           
                                                     
   *** ERROR: Shell process terminated! (^G to start new job) ***
   =ERROR REPORT==== 19-Feb-2026::08:11:50.705167 ===
   Error in process <8227.2825400.0> on node '[email protected]' with exit 
value:                                                     
   {undef,
       [{erl_error,format_exception,
            [4,throw,unknown_metric,
             [{couch_stats_util,sample,4,
                  [{file,"src/couch_stats_util.erl"},{line,189}]},
              {erl_eval,do_apply,7,[{file,"erl_eval.erl"},{line,750}]},         
                                                      
              {shell,exprs,7,[{file,"shell.erl"},{line,783}]},
              {shell,eval_exprs,7,[{file,"shell.erl"},{line,739}]},
              {shell,eval_loop,4,[{file,"shell.erl"},{line,724}]}],
             #Fun<shell.3.18354929>,#Fun<shell.2.18354929>,unicode],
            []},
        {shell,report_exception,4,[{file,"shell.erl"},{line,685}]},
        {shell,shell_rep,5,[{file,"shell.erl"},{line,645}]},
        {shell,server_loop,8,[{file,"shell.erl"},{line,229}]}]}
   
   ```
   
   
   and even launching remsh I would sometimes receive
   ```
   =ERROR REPORT==== 19-Feb-2026::08:23:44.553715 ===
   File operation error: emfile. Target: 
/usr/local/apache-couchdb-fips/couchdb/bin/../lib/custodian-3.5.0/ebin. 
Function: list_dir.  
   =ERROR REPORT==== 19-Feb-2026::08:23:44.592884 ===
   File operation error: emfile. Target: 
/usr/local/apache-couchdb-fips/couchdb/bin/../lib/ddoc_cache-3.5.0/ebin. 
Function: list_dir. 
   =ERROR REPORT==== 19-Feb-2026::08:23:44.645045 ===
   File operation error: emfile. Target: 
/usr/local/apache-couchdb-fips/couchdb/bin/../lib/dreyfus-3.5.0/ebin. Function: 
list_dir.    
   =ERROR REPORT==== 19-Feb-2026::08:23:44.670679 ===
   File operation error: emfile. Target: 
/usr/local/apache-couchdb-fips/couchdb/bin/../lib/global_changes-3.5.0/ebin. 
Function: list_dir.
   =ERROR REPORT==== 19-Feb-2026::08:23:44.736481 ===
   File operation error: emfile. Target: 
/usr/local/apache-couchdb-fips/couchdb/bin/../lib/jiffy-1.1.2/ebin. Function: 
list_dir.      
   =ERROR REPORT==== 19-Feb-2026::08:23:44.758874 ===
   File operation error: emfile. Target: 
/usr/local/apache-couchdb-fips/couchdb/bin/../lib/jwtf-3.5.0/ebin. Function: 
list_dir.       
   =ERROR REPORT==== 19-Feb-2026::08:23:44.793785 ===
   File operation error: emfile. Target: 
/usr/local/apache-couchdb-fips/couchdb/bin/../lib/ken-3.5.0/ebin. Function: 
list_dir.        
   =ERROR REPORT==== 19-Feb-2026::08:23:44.843781 ===
   File operation error: emfile. Target: 
/usr/local/apache-couchdb-fips/couchdb/bin/../lib/nouveau-3.5.0/ebin. Function: 
list_dir.    
   =ERROR REPORT==== 19-Feb-2026::08:23:44.891758 ===
   File operation error: emfile. Target: 
/usr/local/apache-couchdb-fips/couchdb/bin/../lib/mango-3.5.0/ebin. Function: 
list_dir.
   ```
   
   
   once the system quieted down I was able to run multiple times
   `couch_stats:sample([mem3, shard_cache, hit]).`
   and received numbers increasing by 20,000 every second


-- 
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