Reduce number of crawlers from 29 to 27
This commit is contained in:
parent
abc8c7b267
commit
ade5d29d63
1 changed files with 2 additions and 2 deletions
|
@ -1,8 +1,8 @@
|
|||
# run the crawler twice a day
|
||||
# logs sent to /var/log/mirrormanager/crawler.log and crawl/* by default
|
||||
# 29 threads with 32GB of RAM seems to work so far
|
||||
# 27 threads with 32GB of RAM seems to work so far
|
||||
#
|
||||
# [ "`hostname -s`" == "mm-crawler02" ] && sleep 2h is used to start the crawl
|
||||
# later on the second crawler to reduce the number of parallel accesses to
|
||||
# the database
|
||||
0 */12 * * * mirrormanager [ "`hostname -s`" == "mm-crawler02" ] && sleep 2h; /usr/bin/mm2_crawler --timeout-minutes 180 --threads 29 `/usr/local/bin/run_crawler.sh 2` > /dev/null 2>&1
|
||||
0 */12 * * * mirrormanager [ "`hostname -s`" == "mm-crawler02" ] && sleep 2h; /usr/bin/mm2_crawler --timeout-minutes 180 --threads 27 `/usr/local/bin/run_crawler.sh 2` > /dev/null 2>&1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue