vbauer / manet

Website screenshot service powered by Node.js, SlimerJS and PhantomJS
MIT License
576 stars 102 forks source link

High CPU and memory usage #87

Open malayladu opened 7 years ago

malayladu commented 7 years ago

Hello,

I am taking a screenshot of 1000 domains. I am fetching 10 domains from a queue (Rabbit MQ) and taking a screenshot. CPU usage got increased consistently and memory usage also got increased. After sometime it got crashed.

How can I lower the CPU and memory consumption?

Any help would greatly be appreciated.

malayladu commented 7 years ago

@vbauer Any news on this?

L3o-pold commented 6 years ago

Could you check with the command ps -aux if they are Defunct process that could lead to high CPU usage?