Andrew, On 12/10/15 11:34, Andrew Elwell wrote: > which part of the scan cycle does the progress get updated? The scan is parallelized by splitting the namespace into multiple tasks, processed by several worker threads. An individual task consists in scanning a directory. The progress counter (as reported by 'rbh-report -a') is updated in robinhood memory once a thread completes a task (which can be quite long in your case if the thread is scanning a very large flat directory). Then the DB counter is updated at regular interval (according to config parameter "logs::stats_interval", whose default must be 15min or 20min).
If you want to track progress in real-time, you can use "rbh-report -i". It indicates the number of entries actually inserted in the DB. > I've also spotted another 'feature' (this is with 2.5.5) - if I start > robinhood with a command line like > robinhood --scan=/scratch/partner1065 --no-gc --once --purge --detach > -f /ivec/etc/robinhood/scratch.conf > > and sigterm during scanning, it then goes on to start purging and > won't respond to another sigterm. Is this a bug or a feature? This is a bug. Can you please note it in "https://github.com/cea-hpc/robinhood/issues", so we keep it in mind to fix it. > - I'm guessing this is the logic buried in rbh_daemon.c in > if ( terminate_sig != 0 ) > loop? Thanks, Thomas > > Andrew > > ------------------------------------------------------------------------------ > _______________________________________________ > robinhood-support mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/robinhood-support ------------------------------------------------------------------------------ _______________________________________________ robinhood-support mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/robinhood-support
