fzaninotto / screenshot-as-a-service

Website screenshot service powered by node.js and phantomjs
1.1k stars 243 forks source link

rasterizer hangs forever #79

Open ffeast opened 8 years ago

ffeast commented 8 years ago
  1. $ cat package.json

{ "name": "screenshot-as-a-service", "description": "Website screenshot service powered by node.js and phantomjs", "version": "1.1.0", "repository": "https://github.com/fzaninotto/screenshot-as-a-service", "engines": { "node": ">=0.8.4" }, "dependencies": { "express": "3.x", "config": "0.4.15", "request": "2.9.153" } }

  1. /node_modules/phantomjs/bin/phantomjs --version 1.9.8
  2. ps 25756

    PID TTY STAT TIME COMMAND 25756 ? Rl 13941:31 /home/thumbnailer/screenshot-as-a-service/node_modules/phantomjs/lib/phantom/bin/phantomjs scripts/rasterizer.js /home/thumbnailer/cache/ 3001 1024x600

  3. strace -p 25756 These snippets cycled … gettimeofday({1452852831, 5280}, NULL) = 0 gettimeofday({1452852831, 5482}, NULL) = 0 gettimeofday({1452852831, 7324}, NULL) = 0 gettimeofday({1452852831, 7524}, NULL) = 0 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = 0x7f20ef601000 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = 0x7f20ef5ff000 munmap(0x7f2086b99000, 4096) = 0 mmap(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = 0x7f20ea039000 munmap(0x7f20ef5ff000, 8192) = 0 mmap(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = 0x7f2086ba9000 munmap(0x7f20ea039000, 16384) = 0 mmap(NULL, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = 0x7f2086b99000 munmap(0x7f2086ba9000, 32768) = 0 munmap(0x7f2086b9a000, 61440) = 0 munmap(0x7f20ef601000, 8192) = 0 munmap(0x7f2086ba9000, 32768) = 0 munmap(0x7f2086b9a000, 61440) = 0 munmap(0x7f20ef601000, 8192) = 0 gettimeofday({1452852831, 52296}, NULL) = 0 gettimeofday({1452852831, 54358}, NULL) = 0 gettimeofday({1452852831, 54600}, NULL) = 0 gettimeofday({1452852831, 56494}, NULL) = 0 gettimeofday({1452852831, 56705}, NULL) = 0 gettimeofday({1452852831, 58602}, NULL) = 0 gettimeofday({1452852831, 58810}, NULL) = 0 gettimeofday({1452852831, 60763}, NULL) = 0 gettimeofday({1452852831, 60983}, NULL) = 0 gettimeofday({1452852831, 62877}, NULL) = 0 gettimeofday({1452852831, 63193}, NULL) = 0 gettimeofday({1452852831, 65047}, NULL) = 0