Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

High Memory Usage with ScrapydWeb #236

Open
vikhilrestaverse opened this issue Aug 23, 2024 · 1 comment
Open

High Memory Usage with ScrapydWeb #236

vikhilrestaverse opened this issue Aug 23, 2024 · 1 comment

Comments

@vikhilrestaverse
Copy link

High Memory Usage with ScrapydWeb

I've observed an issue where ScrapydWeb causes excessive memory usage when running alongside Scrapyd. On an EC2 instance with 8GB of RAM and 2 vCPUs, Scrapyd alone uses around 2GB of memory, which is expected. However, when ScrapydWeb is started, the memory usage spikes to 100%, leading to the instance becoming unresponsive and eventually stopping.

Expected behavior
ScrapydWeb should operate without causing such a drastic increase in memory usage, allowing the system to remain stable.

Actual behaviour
When ScrapydWeb is running, the memory usage increases significantly, leading to the system becoming unresponsive.

Environment:
Instance: AWS EC2, 8GB RAM, 2 vCPUs
Scrapy Version: 2.11.2
Scrapyd Version: 1.4.3
ScrapydWeb Version: 1.5.0
Operating System: Linux Arm

Additional Information:
This issue occurs consistently with ScrapydWeb.
The instance is running minimal other processes, so the memory spike is attributable to ScrapydWeb.

*Request for Assistance:
Any guidance on resolving this memory usage issue or optimizing ScrapydWeb would be greatly appreciated.

@vikhilrestaverse
Copy link
Author

@my8100 Can you please giude on this ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant