mirror of https://github.com/scrapy/scrapy.git
ulimit for broad crawls
issue #5259 Information / Documentation on Linux's ulimit: https://www.ibm.com/docs/cs/aix/7.1?topic=u-ulimit-command https://askubuntu.com/questions/162229/how-do-i-increase-the-open-files-limit-for-a-non-root-user
This commit is contained in:
parent
65d60b9692
commit
852ad0b3a8
|
|
@ -82,6 +82,11 @@ should pick a concurrency where CPU usage is at 80-90%.
|
|||
Increasing concurrency also increases memory usage. If memory usage is a
|
||||
concern, you might need to lower your global concurrency limit accordingly.
|
||||
|
||||
.. note:: While performing a broad crawl with a high :setting:`CONCURRENT_REQUESTS` value,
|
||||
you may encounter ``OSError``s as the number of open files can exceed the default
|
||||
Linux user limit (``ulimit``), which is typically ``1024``. In this case, you can
|
||||
manually increase the Soft value of ``ulimit`` by using ``ulimit -S -n``.
|
||||
|
||||
|
||||
Increase Twisted IO thread pool maximum size
|
||||
============================================
|
||||
|
|
|
|||
Loading…
Reference in New Issue