You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 29, 2018. It is now read-only.
Before filing an issue, please read the page at
http://code.google.com/p/selenium/wiki/SeleniumHelp This contains lot of
information about how best to get help, and tells you what we need to know.
Still here? We know that bugs are frustrating and annoying things. We also
know that you've probably spent ages trying to figure out what's wrong. The
more information you give us now, the more likely it is that we'll be able
to help.
What steps will reproduce the problem?
> pgrep phantomjs
> wd = webdriver.PhantomJS()
> wd.get('http://google.com')
> wd.quit()
> pgrep phantomjs
987
What is the expected output? What do you see instead?
The expected output is that when using webdriver multiple times, phantomjs processes
do not accumulate. Instead, the more times you use PhantomJS, the more dangling phantomjs
processes there are.
Selenium version: 2.33.0
OS: Ubuntu 12.04
Browser: PhantomJS
Browser version: 1.9.1
Please provide any additional information below. A sample reduced test
case, or a public URL that demonstrates the problem will intrigue our merry
band of Open Source developers far more than nothing at all: they'll be far
more likely to look at your problem if you make it easy for them!
I was able to fix this by replacing self.process.kill() in webdriver/phantomjs/service.py
with self.process.send_signal(signal.SIGTERM). If you look at the source of the /usr/local/bin/phantomjs,
it only kills the spawned phantomjs process if it recieves a SIGTERM.
Reported by michael.j.stringer on 2013-07-13 00:06:13
The text was updated successfully, but these errors were encountered:
I just crashed my computer after filling my 16GB of RAM with runaway PhantomJS processes
because I forgot to apply the patch after switching computers.
Anything I can do to help get this merged more quickly?
Originally reported on Google Code with ID 5921
Reported by
michael.j.stringer
on 2013-07-13 00:06:13The text was updated successfully, but these errors were encountered: