Closed Bug 1007451 Opened 11 years ago Closed 11 years ago

Get some nasty errors and a fatal exception running 'make test' on Mac

Categories

(Hello (Loop) :: Server, defect)

x86
macOS
defect
Not set
major

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: jbonacci, Unassigned)

Details

(Whiteboard: [qa+])

I use brew to install Redis I get Redis running I install loop-server and run 'make test' This is what I see: https://jbonacci.pastebin.mozilla.org/5096052
Whiteboard: [qa+]
OS X specific bug, doing "uname -n 8191" before running should make the files thing go away. We need to do that automatically somewhere...
By which I _actually_ meant to type "ulimit -n 8191".
:dmose yea, I figured "ulimit" over "uname" :-) Yep, running ulimit helps a lot. 1. Get Redis running 2. ulimit -n 8191 3. make test We probably should set this up automatically for Mac, anyway. Not sure Linux or Windows needs it so maybe make it optional.
We probably don't want to setup it automatically since it is a system configuration. http://stackoverflow.com/questions/19981065/nodejs-error-emfile-too-many-open-files-on-mac-os
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Setting it with launchctl makes the change system wide, that's correct. However, using ulimit from a shell or shell script that shell and its sub-processes. In the interest of avoiding forced manual steps, I believe the originally proposed solutions serves us better.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
s/script/script only effects/
So, this is looking decent on the first half of the tests. Only the MongoDB stuff fails: https://jbonacci.pastebin.mozilla.org/5212131 But, on the remaining tests, I still see significant errors and an exception: https://jbonacci.pastebin.mozilla.org/5212142 I will see how this looks on Linux AWS...
Over on the ubuntu side I see this: https://jbonacci.pastebin.mozilla.org/5212343
James, can you update to master and tell if that works better? Thanks.
I think we are good here...
Status: REOPENED → RESOLVED
Closed: 11 years ago11 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.