Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't start server ,Waiting...Warning: EMFILE: Too many opened files. #129

Open
etamity opened this issue Sep 10, 2014 · 3 comments
Open

Comments

@etamity
Copy link

etamity commented Sep 10, 2014

Running "symlinkDev" task
Resolved symlinks: /Users/joey/Documents/server/social/client/fonts

Running "cachebust:dev" (cachebust) task

Running "serverDev" task

Running "express:server" (express) task
Running "express-start" task
debug: [app] app.project: {
"path": {
"bower": "client/js/node_modules/bower_components",
"client": "client",
"config": "config",
"dist": "client-built",
"log": "log",
"server": "server",
"static": "static",
"test": "test",
"temp": ".tmp"
},
"server": {
"livereload": 35729,
"port": 3000,
"repl": false
}
}
debug: [app] app.config (development): {
"api": {
"aws": {
"key": "@@@@@",
"secret": "@@@@@"
},
"facebook": {
"appId": "@@@@@",
"appSecret": "@@@@@"
},
"google": {
"clientId": "@@@@@",
"clientSecret": "@@@@@"
},
"rackspace": {
"username": "@@@@@",
"apiKey": "@@@@@"
},
"twitter": {
"accessToken": "@@@@@",
"accessTokenSecret": "@@@@@",
"consumerKey": "@@@@@",
"consumerSecret": "@@@@@"
}
},
"cookie": {
"secret": "UlTiMaTeSeCrEtKeY"
},
"db": {
"mongo": {
"host": "localhost",
"port": 27017,
"username": null,
"password": null,
"db": "ultimate-seed"
},
"redis": {
"host": "localhost",
"port": 6379,
"password": null,
"namespace": "ultimate-seed"
}
},
"log": {
"_use": [
"console",
"sns"
],
"transport": {
"console": {
"level": "debug"
},
"file": {
"level": "error"
},
"mongo": {
"level": "error"
},
"sns": {
"level": "error",
"subscriber": "@@@@@",
"topicArn": "@@@@@"
}
}
},
"mail": {
"_use": "ses",
"transport": {
"ses": {},
"smtp": {
"host": "@@@@@",
"port": 25,
"username": "@@@@@",
"password": "@@@@@",
"secure": false
}
}
},
"session": {
"_use": "mongo",
"key": "sid",
"secret": "UlTiMaTeSeCrEtKeY",
"store": {
"mongo": {
"collection": "sessions"
},
"redis": {
"prefix": "ultimate-seed:sessions"
}
}
},
"socketio": {
"store": "redis"
},
"storage": {
"_use": "s3",
"backend": {
"cloudFiles": {
"container": {
"main": "@@@@@"
}
},
"s3": {
"bucket": {
"main": "@@@@@"
}
}
}
}
}
to: wrong arguments

debug: [app] app.config.session.store.mongo: {
"collection": "sessions"
}
info: socket.io started
Web server started on port:3000, no hostname specified [pid: 987]

Running "open:dev" (open) task
[Error: Redis connection to localhost:6379 failed - connect ECONNREFUSED]

Running "watch" task
Waiting...Warning: EMFILE: Too many opened files.

Running "watch" task
Waiting...Warning: EMFILE, too many open files 'client/js'

Running "watch" task
Waiting...Warning: EMFILE, too many open files 'client/js'

Running "watch" task
Waiting...Warning: EMFILE, too many open files 'client/js'

Running "watch" task
Waiting...Warning: EMFILE, too many open files 'client/js'

I already commented Redis in app.js, and change the config json file, but I am getting this .
Please help!!

@etamity
Copy link
Author

etamity commented Sep 10, 2014

I sort out the warning problem, but after commented Redis, its still showing
[Error: Redis connection to localhost:6379 failed - connect ECONNREFUSED]

@etamity
Copy link
Author

etamity commented Sep 10, 2014

app.run = function () {
// Connect to DB
ultimate.db.mongoose.connect(app.config.db.mongo);
//ultimate.db.redis.connect(app.config.db.redis);

@Kyii
Copy link

Kyii commented Sep 19, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants