Medium / phantomjs

NPM wrapper for installing phantomjs
Other
1.43k stars 436 forks source link

phantomjs@1.9.1-1 spawns too many processes #71

Closed wenzowski closed 11 years ago

wenzowski commented 11 years ago

Running MacOS 10.8.4, given

$ node -v
v0.10.12
$ npm -v
1.2.32
$ npm cache clear
$ npm uninstall -g phantomjs
$ npm install -g phantomjs
/Users/alex/.nvm/v0.10.12/bin/phantomjs -> /Users/alex/.nvm/v0.10.12/lib/node_modules/phantomjs/bin/phantomjs

> phantomjs@1.9.1-1 install /Users/alex/.nvm/v0.10.12/lib/node_modules/phantomjs
> node install.js

PhantomJS is already installed at /Users/alex/.nvm/v0.10.12/bin/phantomjs.
phantomjs@1.9.1-1 /Users/alex/.nvm/v0.10.12/lib/node_modules/phantomjs
├── which@1.0.5
├── ncp@0.4.2
├── kew@0.1.7
├── mkdirp@0.3.5
├── adm-zip@0.2.1
├── rimraf@2.0.3 (graceful-fs@1.1.14)
└── npmconf@0.0.24 (inherits@1.0.0, once@1.1.1, osenv@0.0.3, ini@1.1.0, semver@1.1.4, nopt@2.1.1, config-chain@1.1.7)

when I run phantomjs from one terminal no output is produced

$ phantomjs
^C%

and when I run another terminal

$ ps aux | grep node
alex           79336  25.4  0.4  3020884  14872 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79335  17.2  0.4  3020884  14888 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79337  15.0  0.3  3019604  13276 s003  R+   12:19AM   0:00.09 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79334  11.2  0.4  3020884  14816 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79329   8.3  0.4  3020884  14868 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79328   6.0  0.4  3020884  14864 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79327   4.2  0.4  3020884  14732 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79326   2.7  0.3  3020884  14668 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79325   1.8  0.4  3020884  14732 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79324   1.5  0.4  3020884  14848 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79323   1.0  0.4  3020884  14756 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79322   0.6  0.4  3020884  14816 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79321   0.4  0.4  3020884  14904 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79320   0.3  0.4  3020884  14856 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79319   0.2  0.4  3020884  14856 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79318   0.1  0.4  3020884  14808 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79288   0.0  0.3  3020884  14668 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79287   0.0  0.4  3020884  14828 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79286   0.0  0.4  3020884  14808 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79285   0.0  0.3  3020884  14668 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79284   0.0  0.4  3020884  14852 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79283   0.0  0.4  3020884  14844 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79282   0.0  0.3  3020884  14664 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79281   0.0  0.3  3020884  14668 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79280   0.0  0.4  3020884  14688 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79279   0.0  0.3  3020884  14668 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79278   0.0  0.4  3020884  14848 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79277   0.0  0.3  3012692  14660 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79276   0.0  0.4  3020884  14788 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79275   0.0  0.4  3020884  14868 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79274   0.0  0.3  3020884  14664 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79273   0.0  0.4  3020884  14876 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79272   0.0  0.3  3020884  14668 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79271   0.0  0.3  3020884  14664 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79270   0.0  0.4  3020884  14780 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79269   0.0  0.4  3020884  14852 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79268   0.0  0.4  3020884  14864 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79267   0.0  0.4  3020884  14876 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79266   0.0  0.4  3020884  14840 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79265   0.0  0.4  3020884  14740 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79361   0.0  0.0  2432768    456 s004  R+   12:19AM   0:00.00 grep node
alex           79317   0.0  0.4  3020884  14756 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79316   0.0  0.4  3020884  14876 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79315   0.0  0.4  3020884  14812 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79314   0.0  0.4  3020884  14852 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79313   0.0  0.4  3020884  14708 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79312   0.0  0.4  3020884  14852 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79311   0.0  0.4  3020884  14888 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79310   0.0  0.4  3020884  14724 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79309   0.0  0.3  3020884  14668 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79308   0.0  0.3  3020884  14664 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79307   0.0  0.3  3020884  14668 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79306   0.0  0.4  3020884  14888 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79305   0.0  0.4  3020884  14708 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79304   0.0  0.4  3020884  14856 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79303   0.0  0.3  3020884  14668 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79302   0.0  0.4  3020884  14692 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79301   0.0  0.3  3020884  14664 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79300   0.0  0.3  3020884  14676 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79299   0.0  0.3  3020884  14668 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79298   0.0  0.4  3020884  14880 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79297   0.0  0.4  3020884  14724 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79296   0.0  0.3  3020884  14664 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79295   0.0  0.4  3020884  14884 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79294   0.0  0.3  3020884  14668 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79293   0.0  0.3  3020884  14680 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79292   0.0  0.3  3012692  14668 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79291   0.0  0.3  3020884  14676 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79290   0.0  0.3  3020884  14668 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs
alex           79289   0.0  0.4  3020884  14856 s003  S+   12:19AM   0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs

ouch.

dpup commented 11 years ago

Weird. I'm out of town until next week. Will have to loom then. On Jul 3, 2013 9:34 PM, "wenzowski" notifications@github.com wrote:

Running MacOS 10.8.4, given

$ node -v v0.10.12 $ npm -v 1.2.32 $ npm cache clear $ npm uninstall -g phantomjs $ npm install -g phantomjs /Users/alex/.nvm/v0.10.12/bin/phantomjs -> /Users/alex/.nvm/v0.10.12/lib/node_modules/phantomjs/bin/phantomjs

phantomjs@1.9.1-1 install /Users/alex/.nvm/v0.10.12/lib/node_modules/phantomjs node install.js

PhantomJS is already installed at /Users/alex/.nvm/v0.10.12/bin/phantomjs. phantomjs@1.9.1-1 /Users/alex/.nvm/v0.10.12/lib/node_modules/phantomjs ├── which@1.0.5 ├── ncp@0.4.2 ├── kew@0.1.7 ├── mkdirp@0.3.5 ├── adm-zip@0.2.1 ├── rimraf@2.0.3 (graceful-fs@1.1.14) └── npmconf@0.0.24 (inherits@1.0.0, once@1.1.1, osenv@0.0.3, ini@1.1.0, semver@1.1.4, nopt@2.1.1, config-chain@1.1.7)

when I run phantomjs from one terminal no output is produced

$ phantomjs ^C%

and when I run another terminal

$ ps aux | grep node alex 79336 25.4 0.4 3020884 14872 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79335 17.2 0.4 3020884 14888 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79337 15.0 0.3 3019604 13276 s003 R+ 12:19AM 0:00.09 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79334 11.2 0.4 3020884 14816 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79329 8.3 0.4 3020884 14868 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79328 6.0 0.4 3020884 14864 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79327 4.2 0.4 3020884 14732 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79326 2.7 0.3 3020884 14668 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79325 1.8 0.4 3020884 14732 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79324 1.5 0.4 3020884 14848 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79323 1.0 0.4 3020884 14756 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79322 0.6 0.4 3020884 14816 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79321 0.4 0.4 3020884 14904 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79320 0.3 0.4 3020884 14856 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79319 0.2 0.4 3020884 14856 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79318 0.1 0.4 3020884 14808 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79288 0.0 0.3 3020884 14668 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79287 0.0 0.4 3020884 14828 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79286 0.0 0.4 3020884 14808 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79285 0.0 0.3 3020884 14668 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79284 0.0 0.4 3020884 14852 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79283 0.0 0.4 3020884 14844 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79282 0.0 0.3 3020884 14664 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79281 0.0 0.3 3020884 14668 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79280 0.0 0.4 3020884 14688 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79279 0.0 0.3 3020884 14668 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79278 0.0 0.4 3020884 14848 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79277 0.0 0.3 3012692 14660 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79276 0.0 0.4 3020884 14788 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79275 0.0 0.4 3020884 14868 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79274 0.0 0.3 3020884 14664 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79273 0.0 0.4 3020884 14876 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79272 0.0 0.3 3020884 14668 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79271 0.0 0.3 3020884 14664 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79270 0.0 0.4 3020884 14780 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79269 0.0 0.4 3020884 14852 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79268 0.0 0.4 3020884 14864 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79267 0.0 0.4 3020884 14876 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79266 0.0 0.4 3020884 14840 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79265 0.0 0.4 3020884 14740 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79361 0.0 0.0 2432768 456 s004 R+ 12:19AM 0:00.00 grep node alex 79317 0.0 0.4 3020884 14756 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79316 0.0 0.4 3020884 14876 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79315 0.0 0.4 3020884 14812 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79314 0.0 0.4 3020884 14852 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79313 0.0 0.4 3020884 14708 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79312 0.0 0.4 3020884 14852 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79311 0.0 0.4 3020884 14888 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79310 0.0 0.4 3020884 14724 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79309 0.0 0.3 3020884 14668 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79308 0.0 0.3 3020884 14664 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79307 0.0 0.3 3020884 14668 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79306 0.0 0.4 3020884 14888 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79305 0.0 0.4 3020884 14708 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79304 0.0 0.4 3020884 14856 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79303 0.0 0.3 3020884 14668 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79302 0.0 0.4 3020884 14692 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79301 0.0 0.3 3020884 14664 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79300 0.0 0.3 3020884 14676 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79299 0.0 0.3 3020884 14668 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79298 0.0 0.4 3020884 14880 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79297 0.0 0.4 3020884 14724 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79296 0.0 0.3 3020884 14664 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79295 0.0 0.4 3020884 14884 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79294 0.0 0.3 3020884 14668 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79293 0.0 0.3 3020884 14680 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79292 0.0 0.3 3012692 14668 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79291 0.0 0.3 3020884 14676 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79290 0.0 0.3 3020884 14668 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs alex 79289 0.0 0.4 3020884 14856 s003 S+ 12:19AM 0:00.10 node /Users/alex/.nvm/v0.10.12/bin/phantomjs

ouch.

— Reply to this email directly or view it on GitHubhttps://github.com/Obvious/phantomjs/issues/71 .

inf0rmer commented 11 years ago

I found the problem with this, I think. It appears this version doesn't include the phantomjs binary. The loops are happening because /usr/local/bin/phantomjs is pointing to the script that spawns a new instance of /usr/local/bin/phantomjs, thus creating an endless recursion. This is a major bug, since simply running phantomjs will max out the computer's RAM in no time.

vsviridov commented 11 years ago

Just got hit by this today. Had to revert to -0, i suggest you pull it from npm archive ASAP. It causes other processes to die too. I was monitoring with htop and it was segfaulting on me.

dpup commented 11 years ago

Good call, done. Sorry for the delay. Was backpacking in the wilderness.

-- Dan

On Thu, Jul 4, 2013 at 5:34 PM, Vasili Sviridov notifications@github.comwrote:

Just got hit by this today. Had to revert to -0, i suggest you pull it from npm archive ASAP

— Reply to this email directly or view it on GitHubhttps://github.com/Obvious/phantomjs/issues/71#issuecomment-20497254 .

arnesten commented 11 years ago

I experience the same issue on Ubuntu 12.04.

dpup commented 11 years ago

See #85.