Closed kitsonk closed 9 years ago
Thanks for the report. This is https://github.com/joyent/node/issues/6041. We can work around it by destroying the read stream manually, in lib/createProxy
.
I looked into this tonight and actually I can’t see any file handles being retained when I look using lsof
. Once the file has finished being transmitted, it’s no longer held open by Node.js. So, I’ll need more information from you in order to reproduce the issue. To start with, right before the test runner crashes, could you please run lsof |grep node
? If file handles are being retained you should see a big long list there.
(For reference, I tested on both Mac OS 10.9.4 and Linux using Node.js 0.10.29.)
It broke at a different point, so I didn't actually get the dump at the moment.
Initialised safari 7.0 on MAC
Error: EMFILE, open '/Users/kitsonk/github/core/node_modules/intern/lib/Suite.js'
No stack or location
I am on OSX 10.9.3. I will try NodeJS 0.10.29 and the OSX upgrade tomorrow.
Here it is (a big long list):
node 27113 kitsonk cwd DIR 1,1 1326 6639441 /Users/kitsonk/github/core
node 27113 kitsonk txt REG 1,1 20036016 16824679 /usr/local/bin/node
node 27113 kitsonk txt REG 1,1 600832 17644775 /usr/lib/dyld
node 27113 kitsonk txt REG 1,1 344443650 18220411 /private/var/db/dyld/dyld_shared_cache_x86_64
node 27113 kitsonk 0u CHR 16,0 0t328362 691 /dev/ttys000
node 27113 kitsonk 1u CHR 16,0 0t328362 691 /dev/ttys000
node 27113 kitsonk 2u CHR 16,0 0t328362 691 /dev/ttys000
node 27113 kitsonk 3 PIPE 0x6b3b9394bc551103 16384 ->0x6b3b9394aec93263
node 27113 kitsonk 4 PIPE 0x6b3b9394aec93263 16384 ->0x6b3b9394bc551103
node 27113 kitsonk 5u KQUEUE count=0, state=0x2
node 27113 kitsonk 6u KQUEUE count=2, state=0x2
node 27113 kitsonk 7 PIPE 0x6b3b9394bc550a23 16384 ->0x6b3b9394aec93e13
node 27113 kitsonk 8 PIPE 0x6b3b9394aec93e13 16384 ->0x6b3b9394bc550a23
node 27113 kitsonk 9 PIPE 0x6b3b9394bc551733 16384 ->0x6b3b9394bc553573
node 27113 kitsonk 10 PIPE 0x6b3b9394bc553573 16384 ->0x6b3b9394bc551733
node 27113 kitsonk 11r DIR 1,1 1190 2 /
node 27113 kitsonk 12u IPv4 0x6b3b9394b58192db 0t0 TCP *:cslistener (LISTEN)
node 27113 kitsonk 13u systm 0t0
node 27113 kitsonk 14u unix 0x6b3b9394c52751d3 0t0 ->0x6b3b9394b1f5955b
node 27113 kitsonk 15u unix 0x6b3b9394afb9a363 0t0 ->0x6b3b9394b1f5761b
node 27113 kitsonk 16u IPv4 0x6b3b9394b5c832db 0t0 TCP localhost:cslistener->localhost:58288 (ESTABLISHED)
node 27113 kitsonk 17u unix 0x6b3b9394b3c417ab 0t0 ->0x6b3b9394b7cecc63
node 27113 kitsonk 18u IPv4 0x6b3b9394b85fcaf3 0t0 TCP localhost:cslistener->localhost:58296 (ESTABLISHED)
node 27113 kitsonk 19u unix 0x6b3b9394c5274d23 0t0 ->0x6b3b9394c527574b
node 27113 kitsonk 20u IPv4 0x6b3b9394b24502db 0t0 TCP localhost:cslistener->localhost:58237 (ESTABLISHED)
node 27113 kitsonk 21u IPv4 0x6b3b9394b56d72db 0t0 TCP localhost:cslistener->localhost:58253 (ESTABLISHED)
node 27113 kitsonk 22u IPv4 0x6b3b9394b58e72db 0t0 TCP localhost:cslistener->localhost:58254 (ESTABLISHED)
node 27113 kitsonk 23u IPv4 0x6b3b9394b581b2db 0t0 TCP localhost:cslistener->localhost:58255 (ESTABLISHED)
node 27113 kitsonk 24u IPv4 0x6b3b9394b87c0af3 0t0 TCP localhost:cslistener->localhost:58256 (ESTABLISHED)
node 27113 kitsonk 25u IPv4 0x6b3b9394b87eeaf3 0t0 TCP localhost:cslistener->localhost:58257 (ESTABLISHED)
node 27113 kitsonk 26u IPv4 0x6b3b9394b85e7af3 0t0 TCP localhost:cslistener->localhost:58258 (ESTABLISHED)
node 27113 kitsonk 27u IPv4 0x6b3b9394b570baf3 0t0 TCP localhost:cslistener->localhost:58259 (ESTABLISHED)
node 27113 kitsonk 28u IPv4 0x6b3b9394b38522db 0t0 TCP localhost:cslistener->localhost:58260 (ESTABLISHED)
node 27113 kitsonk 29u IPv4 0x6b3b9394b8780af3 0t0 TCP localhost:cslistener->localhost:58261 (ESTABLISHED)
node 27113 kitsonk 30u IPv4 0x6b3b9394b32b5af3 0t0 TCP localhost:cslistener->localhost:58263 (ESTABLISHED)
node 27113 kitsonk 31u IPv4 0x6b3b9394b3e7f2db 0t0 TCP localhost:cslistener->localhost:58262 (ESTABLISHED)
node 27113 kitsonk 32u IPv4 0x6b3b9394b24562db 0t0 TCP localhost:cslistener->localhost:58264 (ESTABLISHED)
node 27113 kitsonk 33u IPv4 0x6b3b9394b5ce8af3 0t0 TCP localhost:cslistener->localhost:58265 (ESTABLISHED)
node 27113 kitsonk 34u IPv4 0x6b3b9394b5da72db 0t0 TCP localhost:cslistener->localhost:58266 (ESTABLISHED)
node 27113 kitsonk 35u IPv4 0x6b3b9394b9d132db 0t0 TCP localhost:cslistener->localhost:58267 (ESTABLISHED)
node 27113 kitsonk 36u IPv4 0x6b3b9394b3eceaf3 0t0 TCP localhost:cslistener->localhost:58268 (ESTABLISHED)
node 27113 kitsonk 37u IPv4 0x6b3b9394b5c4eaf3 0t0 TCP localhost:cslistener->localhost:58269 (ESTABLISHED)
node 27113 kitsonk 38u IPv4 0x6b3b9394b581aaf3 0t0 TCP localhost:cslistener->localhost:58270 (ESTABLISHED)
node 27113 kitsonk 39u IPv4 0x6b3b9394b8865af3 0t0 TCP localhost:cslistener->localhost:58271 (ESTABLISHED)
node 27113 kitsonk 40u IPv4 0x6b3b9394b8863af3 0t0 TCP localhost:cslistener->localhost:58272 (ESTABLISHED)
node 27113 kitsonk 41u IPv4 0x6b3b9394b8852af3 0t0 TCP localhost:cslistener->localhost:58275 (ESTABLISHED)
node 27113 kitsonk 42u IPv4 0x6b3b9394b56a52db 0t0 TCP localhost:cslistener->localhost:58276 (ESTABLISHED)
node 27113 kitsonk 43u IPv4 0x6b3b9394b89072db 0t0 TCP localhost:cslistener->localhost:58279 (ESTABLISHED)
node 27113 kitsonk 44u IPv4 0x6b3b9394b8876af3 0t0 TCP localhost:cslistener->localhost:58280 (ESTABLISHED)
node 27113 kitsonk 45u IPv4 0x6b3b9394b8874af3 0t0 TCP localhost:cslistener->localhost:58281 (ESTABLISHED)
node 27113 kitsonk 46u IPv4 0x6b3b9394b8872af3 0t0 TCP localhost:cslistener->localhost:58282 (ESTABLISHED)
node 27113 kitsonk 47u IPv4 0x6b3b9394b886faf3 0t0 TCP localhost:cslistener->localhost:58283 (ESTABLISHED)
node 27113 kitsonk 48u IPv4 0x6b3b9394b8869af3 0t0 TCP localhost:cslistener->localhost:58285 (ESTABLISHED)
node 27113 kitsonk 49u IPv4 0x6b3b9394b886baf3 0t0 TCP localhost:cslistener->localhost:58284 (ESTABLISHED)
node 27113 kitsonk 50u IPv4 0x6b3b9394b8867af3 0t0 TCP localhost:cslistener->localhost:58286 (ESTABLISHED)
node 27113 kitsonk 51u IPv4 0x6b3b9394b5c732db 0t0 TCP localhost:cslistener->localhost:58287 (ESTABLISHED)
node 27113 kitsonk 52u IPv4 0x6b3b9394b44312db 0t0 TCP localhost:cslistener->localhost:58295 (ESTABLISHED)
node 27113 kitsonk 53u IPv4 0x6b3b9394b21d4af3 0t0 TCP localhost:cslistener->localhost:58289 (ESTABLISHED)
node 27113 kitsonk 54u IPv4 0x6b3b9394b85e6af3 0t0 TCP localhost:cslistener->localhost:58292 (ESTABLISHED)
node 27113 kitsonk 55u IPv4 0x6b3b9394b5cd72db 0t0 TCP localhost:cslistener->localhost:58293 (ESTABLISHED)
node 27113 kitsonk 56u IPv4 0x6b3b9394b8804af3 0t0 TCP localhost:cslistener->localhost:58294 (ESTABLISHED)
node 27113 kitsonk 57u IPv4 0x6b3b9394b88f1af3 0t0 TCP localhost:cslistener->localhost:58340 (ESTABLISHED)
node 27113 kitsonk 58u IPv4 0x6b3b9394b85e8af3 0t0 TCP localhost:cslistener->localhost:58297 (ESTABLISHED)
node 27113 kitsonk 59u IPv4 0x6b3b9394b89462db 0t0 TCP localhost:cslistener->localhost:58298 (ESTABLISHED)
node 27113 kitsonk 60u IPv4 0x6b3b9394b8883af3 0t0 TCP localhost:cslistener->localhost:58299 (ESTABLISHED)
node 27113 kitsonk 61u IPv4 0x6b3b9394b887aaf3 0t0 TCP localhost:cslistener->localhost:58300 (ESTABLISHED)
node 27113 kitsonk 62u IPv4 0x6b3b9394b87edaf3 0t0 TCP localhost:cslistener->localhost:58301 (ESTABLISHED)
node 27113 kitsonk 63u IPv4 0x6b3b9394b87faaf3 0t0 TCP localhost:cslistener->localhost:58302 (ESTABLISHED)
node 27113 kitsonk 64u IPv4 0x6b3b9394b87deaf3 0t0 TCP localhost:cslistener->localhost:58303 (ESTABLISHED)
node 27113 kitsonk 65u IPv4 0x6b3b9394b58582db 0t0 TCP localhost:cslistener->localhost:58306 (ESTABLISHED)
node 27113 kitsonk 66u IPv4 0x6b3b9394b878aaf3 0t0 TCP localhost:cslistener->localhost:58307 (ESTABLISHED)
node 27113 kitsonk 67u IPv4 0x6b3b9394b3ca3af3 0t0 TCP localhost:cslistener->localhost:58308 (ESTABLISHED)
node 27113 kitsonk 68u IPv4 0x6b3b9394b52102db 0t0 TCP localhost:cslistener->localhost:58309 (ESTABLISHED)
node 27113 kitsonk 69u IPv4 0x6b3b9394b5ce92db 0t0 TCP localhost:cslistener->localhost:58310 (ESTABLISHED)
node 27113 kitsonk 70u IPv4 0x6b3b9394b21ac2db 0t0 TCP localhost:cslistener->localhost:58311 (ESTABLISHED)
node 27113 kitsonk 71u IPv4 0x6b3b9394b27f0af3 0t0 TCP localhost:cslistener->localhost:58312 (ESTABLISHED)
node 27113 kitsonk 72u IPv4 0x6b3b9394b9c8d2db 0t0 TCP localhost:cslistener->localhost:58313 (ESTABLISHED)
node 27113 kitsonk 73u IPv4 0x6b3b9394b5d712db 0t0 TCP localhost:cslistener->localhost:58314 (ESTABLISHED)
node 27113 kitsonk 74u IPv4 0x6b3b9394b89062db 0t0 TCP localhost:cslistener->localhost:58316 (ESTABLISHED)
node 27113 kitsonk 75u IPv4 0x6b3b9394b89052db 0t0 TCP localhost:cslistener->localhost:58317 (ESTABLISHED)
node 27113 kitsonk 76u IPv4 0x6b3b9394b89032db 0t0 TCP localhost:cslistener->localhost:58318 (ESTABLISHED)
node 27113 kitsonk 77u IPv4 0x6b3b9394b89022db 0t0 TCP localhost:cslistener->localhost:58319 (ESTABLISHED)
node 27113 kitsonk 78u IPv4 0x6b3b9394b89012db 0t0 TCP localhost:cslistener->localhost:58320 (ESTABLISHED)
node 27113 kitsonk 79u IPv4 0x6b3b9394b88ff2db 0t0 TCP localhost:cslistener->localhost:58323 (ESTABLISHED)
node 27113 kitsonk 80u IPv4 0x6b3b9394b88fe2db 0t0 TCP localhost:cslistener->localhost:58324 (ESTABLISHED)
node 27113 kitsonk 81u IPv4 0x6b3b9394b88fd2db 0t0 TCP localhost:cslistener->localhost:58325 (ESTABLISHED)
node 27113 kitsonk 82u IPv4 0x6b3b9394b88fb2db 0t0 TCP localhost:cslistener->localhost:58328 (ESTABLISHED)
node 27113 kitsonk 83u IPv4 0x6b3b9394b88fa2db 0t0 TCP localhost:cslistener->localhost:58329 (ESTABLISHED)
node 27113 kitsonk 84u IPv4 0x6b3b9394b88f82db 0t0 TCP localhost:cslistener->localhost:58330 (ESTABLISHED)
node 27113 kitsonk 85u IPv4 0x6b3b9394b88f72db 0t0 TCP localhost:cslistener->localhost:58331 (ESTABLISHED)
node 27113 kitsonk 86u IPv4 0x6b3b9394b88a0af3 0t0 TCP localhost:cslistener->localhost:58443 (ESTABLISHED)
node 27113 kitsonk 87u IPv4 0x6b3b9394b88f32db 0t0 TCP localhost:cslistener->localhost:58334 (ESTABLISHED)
node 27113 kitsonk 88u IPv4 0x6b3b9394b8776af3 0t0 TCP localhost:cslistener->localhost:58335 (ESTABLISHED)
node 27113 kitsonk 89u IPv4 0x6b3b9394b878b2db 0t0 TCP localhost:cslistener->localhost:58336 (ESTABLISHED)
node 27113 kitsonk 90u IPv4 0x6b3b9394b5d2caf3 0t0 TCP localhost:cslistener->localhost:58337 (ESTABLISHED)
node 27113 kitsonk 91u IPv4 0x6b3b9394b5d2d2db 0t0 TCP localhost:cslistener->localhost:58338 (ESTABLISHED)
node 27113 kitsonk 92u IPv4 0x6b3b9394b88f2af3 0t0 TCP localhost:cslistener->localhost:58339 (ESTABLISHED)
node 27113 kitsonk 93u IPv4 0x6b3b9394b88f0af3 0t0 TCP localhost:cslistener->localhost:58341 (ESTABLISHED)
node 27113 kitsonk 94u IPv4 0x6b3b9394b88f02db 0t0 TCP localhost:cslistener->localhost:58342 (ESTABLISHED)
node 27113 kitsonk 95u IPv4 0x6b3b9394b88ef2db 0t0 TCP localhost:cslistener->localhost:58343 (ESTABLISHED)
node 27113 kitsonk 96u IPv4 0x6b3b9394b88edaf3 0t0 TCP localhost:cslistener->localhost:58345 (ESTABLISHED)
node 27113 kitsonk 97u IPv4 0x6b3b9394b56b02db 0t0 TCP localhost:cslistener->localhost:58389 (ESTABLISHED)
node 27113 kitsonk 98u IPv4 0x6b3b9394b8857af3 0t0 TCP localhost:cslistener->localhost:58390 (ESTABLISHED)
node 27113 kitsonk 99u IPv4 0x6b3b9394b88ecaf3 0t0 TCP localhost:cslistener->localhost:58346 (ESTABLISHED)
node 27113 kitsonk 100u IPv4 0x6b3b9394b7559af3 0t0 TCP localhost:cslistener->localhost:58391 (ESTABLISHED)
node 27113 kitsonk 101u IPv4 0x6b3b9394b85e0af3 0t0 TCP localhost:cslistener->localhost:58392 (ESTABLISHED)
node 27113 kitsonk 102u IPv4 0x6b3b9394b87ed2db 0t0 TCP localhost:cslistener->localhost:58393 (ESTABLISHED)
node 27113 kitsonk 103u IPv4 0x6b3b9394b87fb2db 0t0 TCP localhost:cslistener->localhost:58394 (ESTABLISHED)
node 27113 kitsonk 104u IPv4 0x6b3b9394b88052db 0t0 TCP localhost:cslistener->localhost:58395 (ESTABLISHED)
node 27113 kitsonk 105u IPv4 0x6b3b9394b3ca42db 0t0 TCP localhost:cslistener->localhost:58396 (ESTABLISHED)
node 27113 kitsonk 106u IPv4 0x6b3b9394b305baf3 0t0 TCP localhost:cslistener->localhost:58397 (ESTABLISHED)
node 27113 kitsonk 107u IPv4 0x6b3b9394b85fb2db 0t0 TCP localhost:cslistener->localhost:58398 (ESTABLISHED)
node 27113 kitsonk 108u IPv4 0x6b3b9394b85e72db 0t0 TCP localhost:cslistener->localhost:58399 (ESTABLISHED)
node 27113 kitsonk 109u IPv4 0x6b3b9394b570c2db 0t0 TCP localhost:cslistener->localhost:58400 (ESTABLISHED)
node 27113 kitsonk 110u IPv4 0x6b3b9394b56b4af3 0t0 TCP localhost:cslistener->localhost:58401 (ESTABLISHED)
node 27113 kitsonk 111u IPv4 0x6b3b9394b56afaf3 0t0 TCP localhost:cslistener->localhost:58402 (ESTABLISHED)
node 27113 kitsonk 112u IPv4 0x6b3b9394b56a8af3 0t0 TCP localhost:cslistener->localhost:58403 (ESTABLISHED)
node 27113 kitsonk 113u IPv4 0x6b3b9394b892d2db 0t0 TCP localhost:cslistener->localhost:58404 (ESTABLISHED)
node 27113 kitsonk 114u IPv4 0x6b3b9394b89302db 0t0 TCP localhost:cslistener->localhost:58405 (ESTABLISHED)
node 27113 kitsonk 115u IPv4 0x6b3b9394b89342db 0t0 TCP localhost:cslistener->localhost:58407 (ESTABLISHED)
node 27113 kitsonk 116u IPv4 0x6b3b9394b89322db 0t0 TCP localhost:cslistener->localhost:58406 (ESTABLISHED)
node 27113 kitsonk 117u IPv4 0x6b3b9394b89382db 0t0 TCP localhost:cslistener->localhost:58408 (ESTABLISHED)
node 27113 kitsonk 118u IPv4 0x6b3b9394b893b2db 0t0 TCP localhost:cslistener->localhost:58409 (ESTABLISHED)
node 27113 kitsonk 119u IPv4 0x6b3b9394b89432db 0t0 TCP localhost:cslistener->localhost:58410 (ESTABLISHED)
node 27113 kitsonk 120u IPv4 0x6b3b9394b89452db 0t0 TCP localhost:cslistener->localhost:58411 (ESTABLISHED)
node 27113 kitsonk 121u IPv4 0x6b3b9394b576faf3 0t0 TCP localhost:cslistener->localhost:58412 (ESTABLISHED)
node 27113 kitsonk 122u IPv4 0x6b3b9394b85e42db 0t0 TCP localhost:cslistener->localhost:58413 (ESTABLISHED)
node 27113 kitsonk 123u IPv4 0x6b3b9394b88652db 0t0 TCP kitsonkellysmbp:58421->5.255.93.10:krb524 (ESTABLISHED)
node 27113 kitsonk 124u IPv4 0x6b3b9394b87c12db 0t0 TCP localhost:cslistener->localhost:58415 (ESTABLISHED)
node 27113 kitsonk 125u IPv4 0x6b3b9394b5b21af3 0t0 TCP localhost:cslistener->localhost:58416 (ESTABLISHED)
node 27113 kitsonk 126u IPv4 0x6b3b9394b88532db 0t0 TCP localhost:cslistener->localhost:58417 (ESTABLISHED)
node 27113 kitsonk 127u IPv4 0x6b3b9394b88582db 0t0 TCP localhost:cslistener->localhost:58418 (ESTABLISHED)
node 27113 kitsonk 128u IPv4 0x6b3b9394b5c2c2db 0t0 TCP localhost:cslistener->localhost:58419 (ESTABLISHED)
node 27113 kitsonk 129u IPv4 0x6b3b9394b86002db 0t0 TCP localhost:cslistener->localhost:58420 (ESTABLISHED)
node 27113 kitsonk 130u IPv4 0x6b3b9394b58e6af3 0t0 TCP localhost:cslistener->localhost:58422 (ESTABLISHED)
node 27113 kitsonk 131u IPv4 0x6b3b9394b85e62db 0t0 TCP localhost:cslistener->localhost:58423 (ESTABLISHED)
node 27113 kitsonk 132u IPv4 0x6b3b9394b88692db 0t0 TCP localhost:cslistener->localhost:58424 (ESTABLISHED)
node 27113 kitsonk 133u IPv4 0x6b3b9394b89272db 0t0 TCP localhost:cslistener->localhost:58425 (ESTABLISHED)
node 27113 kitsonk 134u IPv4 0x6b3b9394b892a2db 0t0 TCP localhost:cslistener->localhost:58426 (ESTABLISHED)
node 27113 kitsonk 135u IPv4 0x6b3b9394b892c2db 0t0 TCP localhost:cslistener->localhost:58427 (ESTABLISHED)
node 27113 kitsonk 136u IPv4 0x6b3b9394b88702db 0t0 TCP localhost:cslistener->localhost:58428 (ESTABLISHED)
node 27113 kitsonk 137u IPv4 0x6b3b9394b88732db 0t0 TCP localhost:cslistener->localhost:58429 (ESTABLISHED)
node 27113 kitsonk 138u IPv4 0x6b3b9394b88742db 0t0 TCP localhost:cslistener->localhost:58430 (ESTABLISHED)
node 27113 kitsonk 139u IPv4 0x6b3b9394b88722db 0t0 TCP localhost:cslistener->localhost:58431 (ESTABLISHED)
node 27113 kitsonk 140u IPv4 0x6b3b9394b88772db 0t0 TCP localhost:cslistener->localhost:58432 (ESTABLISHED)
node 27113 kitsonk 141u IPv4 0x6b3b9394b5818af3 0t0 TCP localhost:cslistener->localhost:58433 (ESTABLISHED)
node 27113 kitsonk 142u IPv4 0x6b3b9394b5b222db 0t0 TCP localhost:cslistener->localhost:58434 (ESTABLISHED)
node 27113 kitsonk 143u IPv4 0x6b3b9394b89152db 0t0 TCP localhost:cslistener->localhost:58435 (ESTABLISHED)
node 27113 kitsonk 144u IPv4 0x6b3b9394b891a2db 0t0 TCP localhost:cslistener->localhost:58436 (ESTABLISHED)
node 27113 kitsonk 145u IPv4 0x6b3b9394b5c4f2db 0t0 TCP localhost:cslistener->localhost:58437 (ESTABLISHED)
node 27113 kitsonk 146u IPv4 0x6b3b9394b89122db 0t0 TCP localhost:cslistener->localhost:58187 (ESTABLISHED)
node 27113 kitsonk 147u IPv4 0x6b3b9394b887b2db 0t0 TCP localhost:cslistener->localhost:58438 (ESTABLISHED)
node 27113 kitsonk 148u IPv4 0x6b3b9394b89112db 0t0 TCP localhost:cslistener->localhost:58188 (ESTABLISHED)
node 27113 kitsonk 149u IPv4 0x6b3b9394b89102db 0t0 TCP localhost:cslistener->localhost:58189 (ESTABLISHED)
node 27113 kitsonk 150u IPv4 0x6b3b9394b890f2db 0t0 TCP localhost:cslistener->localhost:58190 (ESTABLISHED)
node 27113 kitsonk 151u IPv4 0x6b3b9394b89082db 0t0 TCP localhost:cslistener->localhost:58191 (ESTABLISHED)
node 27113 kitsonk 152u IPv4 0x6b3b9394b88eaaf3 0t0 TCP localhost:cslistener->localhost:58347 (ESTABLISHED)
node 27113 kitsonk 153u IPv4 0x6b3b9394b88e9af3 0t0 TCP localhost:cslistener->localhost:58348 (ESTABLISHED)
node 27113 kitsonk 154u IPv4 0x6b3b9394b88e8af3 0t0 TCP localhost:cslistener->localhost:58349 (ESTABLISHED)
node 27113 kitsonk 155u IPv4 0x6b3b9394b88e7af3 0t0 TCP localhost:cslistener->localhost:58350 (ESTABLISHED)
node 27113 kitsonk 156u IPv4 0x6b3b9394b88e0af3 0t0 TCP localhost:cslistener->localhost:58351 (ESTABLISHED)
node 27113 kitsonk 157u IPv4 0x6b3b9394b88dfaf3 0t0 TCP localhost:cslistener->localhost:58352 (ESTABLISHED)
node 27113 kitsonk 158u IPv4 0x6b3b9394b88deaf3 0t0 TCP localhost:cslistener->localhost:58353 (ESTABLISHED)
node 27113 kitsonk 159u IPv4 0x6b3b9394b88ddaf3 0t0 TCP localhost:cslistener->localhost:58354 (ESTABLISHED)
node 27113 kitsonk 160u IPv4 0x6b3b9394b4330af3 0t0 TCP localhost:cslistener->localhost:58355 (ESTABLISHED)
node 27113 kitsonk 161u IPv4 0x6b3b9394b2256af3 0t0 TCP localhost:cslistener->localhost:58356 (ESTABLISHED)
node 27113 kitsonk 162u IPv4 0x6b3b9394b56dbaf3 0t0 TCP localhost:cslistener->localhost:58357 (ESTABLISHED)
node 27113 kitsonk 163u IPv4 0x6b3b9394b88dcaf3 0t0 TCP localhost:cslistener->localhost:58358 (ESTABLISHED)
node 27113 kitsonk 164u IPv4 0x6b3b9394b88dbaf3 0t0 TCP localhost:cslistener->localhost:58359 (ESTABLISHED)
node 27113 kitsonk 165u IPv4 0x6b3b9394b88d7af3 0t0 TCP localhost:cslistener->localhost:58360 (ESTABLISHED)
node 27113 kitsonk 166u IPv4 0x6b3b9394b88d6af3 0t0 TCP localhost:cslistener->localhost:58361 (ESTABLISHED)
node 27113 kitsonk 167u IPv4 0x6b3b9394b88d5af3 0t0 TCP localhost:cslistener->localhost:58362 (ESTABLISHED)
node 27113 kitsonk 168u IPv4 0x6b3b9394b88d4af3 0t0 TCP localhost:cslistener->localhost:58363 (ESTABLISHED)
node 27113 kitsonk 169u IPv4 0x6b3b9394b88d2af3 0t0 TCP localhost:cslistener->localhost:58364 (ESTABLISHED)
node 27113 kitsonk 170u IPv4 0x6b3b9394b88d1af3 0t0 TCP localhost:cslistener->localhost:58365 (ESTABLISHED)
node 27113 kitsonk 171u IPv4 0x6b3b9394b88cdaf3 0t0 TCP localhost:cslistener->localhost:58366 (ESTABLISHED)
node 27113 kitsonk 172u IPv4 0x6b3b9394b88ccaf3 0t0 TCP localhost:cslistener->localhost:58367 (ESTABLISHED)
node 27113 kitsonk 173u IPv4 0x6b3b9394b88c3af3 0t0 TCP localhost:cslistener->localhost:58368 (ESTABLISHED)
node 27113 kitsonk 174u IPv4 0x6b3b9394b88c2af3 0t0 TCP localhost:cslistener->localhost:58369 (ESTABLISHED)
node 27113 kitsonk 175u IPv4 0x6b3b9394b88bfaf3 0t0 TCP localhost:cslistener->localhost:58370 (ESTABLISHED)
node 27113 kitsonk 176u IPv4 0x6b3b9394b88beaf3 0t0 TCP localhost:cslistener->localhost:58371 (ESTABLISHED)
node 27113 kitsonk 177u IPv4 0x6b3b9394b88bcaf3 0t0 TCP localhost:cslistener->localhost:58372 (ESTABLISHED)
node 27113 kitsonk 178u IPv4 0x6b3b9394b88bbaf3 0t0 TCP localhost:cslistener->localhost:58373 (ESTABLISHED)
node 27113 kitsonk 179u IPv4 0x6b3b9394b88baaf3 0t0 TCP localhost:cslistener->localhost:58374 (ESTABLISHED)
node 27113 kitsonk 180u IPv4 0x6b3b9394b88b9af3 0t0 TCP localhost:cslistener->localhost:58375 (ESTABLISHED)
node 27113 kitsonk 181u IPv4 0x6b3b9394b88b7af3 0t0 TCP localhost:cslistener->localhost:58376 (ESTABLISHED)
node 27113 kitsonk 182u IPv4 0x6b3b9394b88b6af3 0t0 TCP localhost:cslistener->localhost:58377 (ESTABLISHED)
node 27113 kitsonk 183u IPv4 0x6b3b9394b88b5af3 0t0 TCP localhost:cslistener->localhost:58378 (ESTABLISHED)
node 27113 kitsonk 184u IPv4 0x6b3b9394b88b4af3 0t0 TCP localhost:cslistener->localhost:58379 (ESTABLISHED)
node 27113 kitsonk 185u IPv4 0x6b3b9394b88abaf3 0t0 TCP localhost:cslistener->localhost:58380 (ESTABLISHED)
node 27113 kitsonk 186u IPv4 0x6b3b9394b88aaaf3 0t0 TCP localhost:cslistener->localhost:58381 (ESTABLISHED)
node 27113 kitsonk 187u IPv4 0x6b3b9394b88a8af3 0t0 TCP localhost:cslistener->localhost:58382 (ESTABLISHED)
node 27113 kitsonk 188u IPv4 0x6b3b9394b88882db 0t0 TCP localhost:cslistener->localhost:58439 (ESTABLISHED)
node 27113 kitsonk 189u IPv4 0x6b3b9394b5bac2db 0t0 TCP localhost:cslistener->localhost:58440 (ESTABLISHED)
node 27113 kitsonk 190u IPv4 0x6b3b9394b88a2af3 0t0 TCP localhost:cslistener->localhost:58441 (ESTABLISHED)
node 27113 kitsonk 191u IPv4 0x6b3b9394b88a1af3 0t0 TCP localhost:cslistener->localhost:58442 (ESTABLISHED)
node 27113 kitsonk 192u IPv4 0x6b3b9394b889daf3 0t0 TCP localhost:cslistener->localhost:58444 (ESTABLISHED)
node 27113 kitsonk 193u IPv4 0x6b3b9394b889caf3 0t0 TCP localhost:cslistener->localhost:58445 (ESTABLISHED)
node 27113 kitsonk 194u IPv4 0x6b3b9394b889baf3 0t0 TCP localhost:cslistener->localhost:58446 (ESTABLISHED)
node 27113 kitsonk 195u IPv4 0x6b3b9394b889aaf3 0t0 TCP localhost:cslistener->localhost:58447 (ESTABLISHED)
node 27113 kitsonk 196u IPv4 0x6b3b9394b8899af3 0t0 TCP localhost:cslistener->localhost:58448 (ESTABLISHED)
node 27113 kitsonk 197u IPv4 0x6b3b9394b8898af3 0t0 TCP localhost:cslistener->localhost:58449 (ESTABLISHED)
node 27113 kitsonk 198u IPv4 0x6b3b9394b8897af3 0t0 TCP localhost:cslistener->localhost:58450 (ESTABLISHED)
node 27113 kitsonk 199u IPv4 0x6b3b9394b8896af3 0t0 TCP localhost:cslistener->localhost:58451 (ESTABLISHED)
node 27113 kitsonk 200u IPv4 0x6b3b9394b888faf3 0t0 TCP localhost:cslistener->localhost:58452 (ESTABLISHED)
node 27113 kitsonk 201u IPv4 0x6b3b9394b888eaf3 0t0 TCP localhost:cslistener->localhost:58453 (ESTABLISHED)
node 27113 kitsonk 202u IPv4 0x6b3b9394b888daf3 0t0 TCP localhost:cslistener->localhost:58454 (ESTABLISHED)
node 27113 kitsonk 203u IPv4 0x6b3b9394b88892db 0t0 TCP localhost:cslistener->localhost:58455 (ESTABLISHED)
node 27113 kitsonk 204u IPv4 0x6b3b9394b32a32db 0t0 TCP localhost:cslistener->localhost:58456 (ESTABLISHED)
node 27113 kitsonk 205u IPv4 0x6b3b9394b39742db 0t0 TCP localhost:cslistener->localhost:58457 (ESTABLISHED)
node 27113 kitsonk 206u IPv4 0x6b3b9394b32ad2db 0t0 TCP localhost:cslistener->localhost:58458 (ESTABLISHED)
node 27113 kitsonk 207u IPv4 0x6b3b9394b3e0eaf3 0t0 TCP localhost:cslistener->localhost:58459 (ESTABLISHED)
node 27113 kitsonk 208u IPv4 0x6b3b9394b2893af3 0t0 TCP localhost:cslistener->localhost:58460 (ESTABLISHED)
node 27113 kitsonk 209u IPv4 0x6b3b9394b3c072db 0t0 TCP localhost:cslistener->localhost:58461 (ESTABLISHED)
node 27113 kitsonk 210u IPv4 0x6b3b9394b3c99af3 0t0 TCP localhost:cslistener->localhost:58462 (ESTABLISHED)
BrowserSt 27114 kitsonk cwd DIR 1,1 102 22706676 /Users/kitsonk/github/core/node_modules/intern/node_modules/digdug/browserstack
BrowserSt 27114 kitsonk txt REG 1,1 7727472 22706684 /Users/kitsonk/github/core/node_modules/intern/node_modules/digdug/browserstack/BrowserStackLocal
BrowserSt 27115 kitsonk cwd DIR 1,1 102 22706676 /Users/kitsonk/github/core/node_modules/intern/node_modules/digdug/browserstack
BrowserSt 27115 kitsonk txt REG 1,1 7727472 22706684 /Users/kitsonk/github/core/node_modules/intern/node_modules/digdug/browserstack/BrowserStackLocal
kitsonkellysmbp:~ kitsonk$ lsof |grep node
BrowserSt 27114 kitsonk cwd DIR 1,1 102 22706676 /Users/kitsonk/github/core/node_modules/intern/node_modules/digdug/browserstack
BrowserSt 27114 kitsonk txt REG 1,1 7727472 22706684 /Users/kitsonk/github/core/node_modules/intern/node_modules/digdug/browserstack/BrowserStackLocal
BrowserSt 27115 kitsonk cwd DIR 1,1 102 22706676 /Users/kitsonk/github/core/node_modules/intern/node_modules/digdug/browserstack
BrowserSt 27115 kitsonk txt REG 1,1 7727472 22706684 /Users/kitsonk/github/core/node_modules/intern/node_modules/digdug/browserstack/BrowserStackLocal
Upgraded to OSX 10.9.4 and NodeJS 0.10.29, same results. I also did an rm -rf ~/.npm
, npm clear cache
, rm -rf node_modules
and then npm install
.
And this is only when using the BrowserStack tunnel, not a plain Selenium server, and only when interacting with Safari?
I don't have just a plain Selenium server. I re-ordered my environments like this:
environments: [
{ browserName: 'safari', version: '6.1', platform: 'mac' },
{ browserName: 'safari', version: '7.0', platform: 'mac' },
{ browserName: 'internet explorer', version: '11.0', platform: 'win8' },
{ browserName: 'internet explorer', version: '10.0', platform: 'win8' },
{ browserName: 'internet explorer', version: '9.0', platform: 'windows' },
{ browserName: 'firefox', version: '29.0', platform: 'windows' },
{ browserName: 'chrome', version: '35.0', platform: 'win8' }
]
I get this as output:
Listening on 0.0.0.0:9000
Starting tunnel...
BrowserStackLocal v2.2
Ready
Initialised safari 7.0 on MAC
Initialised safari 6.1 on MAC
And it just "hangs" and I get Session timed out because the browser was idle for 90 seconds
for each test in BrowserStack. I can see the full suite executes fine in the session, and just sits there trying to "post" back the results. I run the same tests locally in Safari 7.0.5 and it completes just fine.
If I switch to SauceLabs and adjust to:
environments: [
{ browserName: 'safari', version: '6', platform: 'OS X 10.8' },
{ browserName: 'safari', version: '7', platform: 'OS X 10.9' },
{ browserName: 'internet explorer', version: '11', platform: 'Windows 8.1' },
{ browserName: 'internet explorer', version: '10', platform: 'Windows 8' },
{ browserName: 'internet explorer', version: '9', platform: 'Windows 7' },
{ browserName: 'firefox', version: '29.0', platform: 'Windows 7' },
{ browserName: 'chrome', version: '35.0', platform: 'Windows 7' }
]
And I can't seem to get consistent test runs... some sessions just seem to hang and maybe I get a "clean" run 1 out of 10 times (which is why I was trying BrowserStack), but they do eventually run.
The only thing that might be odd, is my whole test suite at the moment takes about 6 seconds to execute.
Sorry, nobody has been able to reproduce this issue so far. I know that @jason0x43 has been running tests against BrowserStack without a problem, after they recently fixed some issues. Could you please try again and re-report whether the problem still exists?
@csnover We have what appears to be a similar issue whilst running our unit tests on BrowserStack. Intermittently we get a timeout in BrowserStack for Firefox 31.0 on OS X and every time in Windows 7 environments, even though tests ran successfully. BrowserStack attempts to post back, but there is no resolve in our test runner, and the process hangs indefinitely until manually terminated.
We are on Intern 2.0.1 and Node v0.10.29.
@jfridye That doesn’t sound related, except that it’s a problem with BrowserStack, unless you also get an EMFILE error. Do you?
What's timing out and what's hanging (between Intern and BrowserStack)? Like, is the Intern runner hanging forever and BrowserStack is timing out?
We are not getting the EMFILE error.
The BrowserStack session terminates with a status of Session timed out because the browser was idle for 90 seconds
. However, the Intern runner hangs forever with a last output of Initialised firefox 31.0 on XP
until manually terminated. We are seeing this whether the test runner is executed from our dev machines or CI environment (Jenkins), and for every session in a Windows 7 environment on BrowserStack.
Could this be a problem with the configured value of proxyUrl being the default of http://localhost:9000?
Here is a sample of the last few lines of raw logs taken from a session on BS: https://gist.github.com/jfridye/2de70b4792128f78249e. Hope this helps, and thank you!
@jfridye Could you open a new issue? I don’t want to confuse two unrelated things. Thanks!
@kitsonk I’m going to close this for now since I haven’t heard anything since July, if you have time to loop back please let me know. Nobody at SitePen has been able to reproduce the EMFILE problem.
To follow up on my comment above, we are no longer seeing the issue on BrowserStack, but are not sure what the root cause of the issue was. It is likely the case there was an issue in one of our unit tests that was causing the problem. If the problem comes up again and we are unable to troubleshoot, I will open a new issue against it. Thanks!
I am afraid I can't be more specific, because the issue seems to be non-specific to figure out what is going on. I am attempting to run the following environments on BrowserStack:
And every time, when we seem to hit the Safari/Mac environments, it craps out with an issue trying to read one of the files. My Node version is 0.10.28 and my Intern is 2.0.1. Out of an abundance of caution, I abundance of caution, I raised both my
kernel.maxfiles
andkernel.maxfilesperproc
to see if it was just an issue with file handles not being released, but that didn't affect anything.Here are a few examples: