Skip to content

Instantly share code, notes, and snippets.

View dturner-tw's full-sized avatar

David Turner dturner-tw

  • Twitter
  • New York City
View GitHub Profile
Process: watchman [42249]
Path: /Users/USER/*/watchman
Identifier: watchman
Version: 0
Code Type: X86-64 (Native)
Parent Process: launchd [300]
Responsible: watchman [42249]
User ID: 501
Date/Time: 2015-01-01 10:22:53.896 -0800
Process: watchman [82134]
Path: /Users/USER/*/watchman
Identifier: watchman
Version: 0
Code Type: X86-64 (Native)
Parent Process: ??? [1]
User ID: 501
Date/Time: 2014-12-20 15:26:06.169 -0800
OS Version: Mac OS X 10.8.5 (12F45)
@dturner-tw
dturner-tw / gist:5d411b401aa665f3e136
Last active August 29, 2015 14:06
watchman crash log
Process: watchman [9623]
Path: /Users/USER/*/watchman
Identifier: watchman
Version: 0
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: iTerm [180]
User ID: 502
Date/Time: 2014-09-23 11:33:52.104 -0400
cat /var/folders/w9/p_32pxlx0zb4w4xqyq50bd900000gp/T//.watchman.twbugreporter1.log
1410197198: tid=2015580944 file limit is 4864 kern.maxfilesperproc=10240
1410197198: tid=2015580944 raised file limit to 10240
1410197198: tid=2015580944 path /Users/twbugreporter1/workspace/birdcage is on filesystem type hfs
1410197198: tid=2015580944 path /Users/twbugreporter1/workspace/github/storehaus is on filesystem type hfs
1410197198: tid=2015580944 path /Users/twbugreporter1/workspace/science2 is on filesystem type hfs
1410197198: tid=2015580944 path /Users/twbugreporter1/workspace/github/finagle is on filesystem type hfs
1410197198: tid=2015580944 path /Users/twbugreporter1/workspace/github/summingbird is on filesystem type hfs
1410197198: tid=2015580944 path /opt/twitter is on filesystem type hfs
1410205048: tid=172572672 /Users/twbugreporter1/workspace/birdcage: kFSEventStreamEventFlagKernelDropped: scheduling a tree recrawl
@dturner-tw
dturner-tw / gist:9336584
Last active August 29, 2015 13:56
Demonstrate watchman (kernel, probably) bug
#!/usr/bin/python
from atomicinteger import AtomicInteger
from json import loads, dumps
from random import random
from subprocess import call, check_output
from tempfile import mkdtemp
from time import sleep, time
import os