Decrease the number of parallel crawlers from 35 to 32

This commit is contained in:
Adrian Reber 2015-06-12 16:06:27 +00:00
parent 4d80aff5f1
commit d7a367ae66

View file

@ -1,8 +1,8 @@
# run the crawler twice a day
# logs sent to /var/log/mirrormanager/crawler.log and crawl/* by default
# 32GB of RAM is not enough for 75 threads, 35 seems to work so far
# 32GB of RAM is not enough for 75 threads, 32 seems to work so far
#
# [ "`hostname -s`" == "mm-crawler02" ] && sleep 3h 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 3h; /usr/bin/mm2_crawler --timeout-minutes 180 --threads 35 `/usr/local/bin/run_crawler.sh 2` > /dev/null 2>&1
0 */12 * * * mirrormanager [ "`hostname -s`" == "mm-crawler02" ] && sleep 3h; /usr/bin/mm2_crawler --timeout-minutes 180 --threads 32 `/usr/local/bin/run_crawler.sh 2` > /dev/null 2>&1