Scrapy, a fast high-level web crawling & scraping framework for Python.
ulimit for broad crawls (#5272)
JosephFarrell9e4c9688e058
diff --git a/docs/topics/settings.rst b/docs/topics/settings.rstindex 071d3b5c3..c0d25ad94 100644--- a/docs/topics/settings.rst+++ b/docs/topics/settings.rst@@ -644,6 +644,11 @@ Default: ``16``The maximum number of concurrent (i.e. simultaneous) requests that will beperformed by the Scrapy downloader. Use ``0`` for no limit.+High values may exceed the limit that your operating system sets on the number+of open file descriptors per process, causing errors. Some systems allow that+limit to be raised or removed, e.g. with the `ulimit`_ shell built-in or, for+services, with systemd’s `LimitNOFILE`_; otherwise, lower this setting.+.. setting:: CONCURRENT_REQUESTS_PER_DOMAINCONCURRENT_REQUESTS_PER_DOMAIN@@ -2727,3 +2732,5 @@ environments... _Amazon web services: https://aws.amazon.com/.. _Google Cloud Storage: https://cloud.google.com/storage/+.. _LimitNOFILE: https://www.freedesktop.org/software/systemd/man/latest/systemd.exec.html#LimitNOFILE=+.. _ulimit: https://www.gnu.org/software/bash/manual/bash.html#index-ulimit