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)
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
Reporter | ||
Updated•11 years ago
|
Whiteboard: [qa+]
Comment 1•11 years ago
|
||
OS X specific bug, doing "uname -n 8191" before running should make the files thing go away. We need to do that automatically somewhere...
Comment 2•11 years ago
|
||
By which I _actually_ meant to type "ulimit -n 8191".
Reporter | ||
Comment 3•11 years ago
|
||
: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.
Comment 4•11 years ago
|
||
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
Comment 5•11 years ago
|
||
I have added a note about it in the README.
https://github.com/mozilla-services/loop-server/commit/188a224c81c37ab55a9b9b1f0a891586986fa6a6
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 6•11 years ago
|
||
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 → ---
Comment 7•11 years ago
|
||
s/script/script only effects/
Reporter | ||
Comment 8•11 years ago
|
||
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...
Reporter | ||
Comment 9•11 years ago
|
||
Over on the ubuntu side I see this:
https://jbonacci.pastebin.mozilla.org/5212343
Comment 10•11 years ago
|
||
James, can you update to master and tell if that works better? Thanks.
Reporter | ||
Comment 11•11 years ago
|
||
I think we are good here...
Status: REOPENED → RESOLVED
Closed: 11 years ago → 11 years ago
Resolution: --- → FIXED
Reporter | ||
Updated•11 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•