Skip to content
This repository has been archived by the owner on Mar 28, 2019. It is now read-only.

ConnectionError: Error 8 connecting to localhost:6379. nodename nor servname provided, or not known. #664

Closed
ayusharma opened this issue Feb 22, 2016 · 7 comments

Comments

@ayusharma
Copy link
Contributor

I am getting this error while make tests:

ConnectionError: Error 8 connecting to localhost:6379. nodename nor servname provided, or not known.
IOError: [Errno 24] Too many open files

I only got these errors on Mac Os X and in ubuntu everything works fine.

After sometime I resolved the error using :

$ ulimit -n 1024

ulimit : It increases the open file limit for a non-root user.

Should we add this to troubleshooting documentation ?

@Natim
Copy link
Contributor

Natim commented Feb 23, 2016

Yes definitely 👍

@leplatrem
Copy link
Contributor

Fixed #666

@guzhenping
Copy link

l try ,but it did not work

@Natim
Copy link
Contributor

Natim commented May 20, 2016

You need to do it in the shell running the redis-server.
Which distribution are you using?

@guzhenping
Copy link

l do it in my Mac pro terminal.sorry ,l don't know my reds's distribution...l installed it via pip .

@Natim
Copy link
Contributor

Natim commented May 20, 2016

How do you run redis?

@guzhenping
Copy link

ok...Thank you! It's a stupid action...l have forgotten installing redis_server.
It's strange that Redis-py Website only have one command "pip install redis"..

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

No branches or pull requests

4 participants