Ask Your Question

Neutron server socket is taken by workers

asked 2015-05-20 10:09:43 -0600

eyosef gravatar image

Hi all, I'm setting up server with 8 workers and when the parent process is killed by "kill -9 pid" It cannot go up again because the file descriptor that is using the port is inherited by one of the workers. How can I fork the workers with inheriting the opened-fd from the parent?


edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-05-21 04:24:19 -0600

uts9 gravatar image

updated 2015-05-21 04:58:24 -0600

If your query is regarding ports getting stolen by clients then you can reserve the ports using net.ipv4.ip_local_reserved_ports sysctl parameter.

sysctl -w net.ipv4.ip_local_reserved_ports = 10001,10002,10002
sysctl -p
edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2015-05-20 10:09:43 -0600

Seen: 174 times

Last updated: May 21 '15