PhantomJS crashes periodically (every 2 to 4 hours) #13210
Comments
Anyone else having the same issue? |
Update:
I also tried adding this property page.settings.clearMemoryCaches and setting it to true or false does not seem to significantly impact the behavior described above. I have read through the different posts and hanging/crashing does not seem to be that uncommon in phantomjs 2.0...unfortunately, I did not see any answer to the problem til now. Any idea guys, |
We also see issues like this downloading jillions of web pages in isp-data-pollution. We also set: dcap['phantomjs.page.settings.loadImages'] = ( 'false' )
dcap['phantomjs.page.settings.clearMemoryCaches'] = ('true') I've wrapped all the calls to |
Due to our very limited maintenance capacity, we need to prioritize our development focus on other tasks. Therefore, this issue will be automatically closed (see #15395 for more details). In the future, if we see the need to attend to this issue again, then it will be reopened. Thank you for your contribution! |
Hi,
I am running Phantomjs v2.0 on a Windows Server 2008 - 64 bits.
We are using it basically to render out html pages to the google crawler in the context of an SPA application.
Phantomjs is installed as a service and monitored to be restarted if it stops.
Turns out, it crashes every 2 to 4 hours depending on something....maybe the number of requests I don't know...I haven't yet to figure that one out.
I have copied below the way phantomjs is started and the snippet from the crash from the windows event viewer. I am aware that the attached dump might not be very helpful. I looked at your instructions to convert the crash dump in a stack trace, but I did not see a Windows version of it. Let me know how I can give you more info. Thank you.
This is how phantomjs is started:
phantomjs.exe --disk-cache=no --local-to-remote-url-access=true myfile.js 4444 http://myapp.com
This is a simplified version of myfile.js
var renderHtml = function(url, cb) {
};
server.listen(port, function (request, response) {
});
crash dump - phantomjs 2 - windows:
(XXXX below are just placeholders that I replaced)
The text was updated successfully, but these errors were encountered: