keystone shuts down it's own listening socket with 'too many files open'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
New
|
Undecided
|
Unassigned | ||
OpenStack Identity (keystone) |
New
|
High
|
Unassigned | ||
python-keystoneclient |
New
|
Undecided
|
Unassigned |
Bug Description
We're running with mysql - I can grab a rendered config file for you if needed.
Here is what I see in the log:
Traceback (most recent call last):
File "/opt/stack/
readers.
File "/opt/stack/
result = function(*args, **kwargs)
File "/opt/stack/
log=
File "/opt/stack/
client_socket = sock.accept()
File "/opt/stack/
res = socket_accept(fd)
File "/opt/stack/
return descriptor.accept()
File "/usr/lib/
sock, addr = self._sock.accept()
error: [Errno 24] Too many open files
Removing descriptor: 5
keystone-all is still running, netstat -anp shows:
tcp 0 0 0.0.0.0:35357 0.0.0.0:* LISTEN 25530/python
unix 3 [ ] STREAM CONNECTED 44834812 25530/python
restarting it gets me:
root@ubuntu:~# netstat -anp | grep 25267
tcp 0 0 0.0.0.0:35357 0.0.0.0:* LISTEN 25267/python
tcp 0 0 0.0.0.0:5000 0.0.0.0:* LISTEN 25267/python
unix 3 [ ] STREAM CONNECTED 44848565 25267/python
Which is rather more useful.
Changed in keystone: | |
status: | New → Triaged |
importance: | Undecided → High |
tags: | added: grizzly-backport-potential |
Oh, and this happened on an idle cloud sitting there with no requests being sent to it...