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

端口被占用BUG #56

Open
muyannian opened this issue Jan 24, 2014 · 2 comments
Open

端口被占用BUG #56

muyannian opened this issue Jan 24, 2014 · 2 comments
Labels

Comments

@muyannian
Copy link
Contributor

我觉得 supervisor里 在启动一个worker之前,应该先将 绑定某个端口的进程杀掉 ,防止某些情况因为BUG,某个本应该死亡的worker还占用端口

@muyannian
Copy link
Contributor Author

org.zeromq.ZMQException: Address already in use(0x62)
at org.zeromq.ZMQ$Socket.bind(Native Method)
at com.alipay.bluewhale.core.zilch.ZeroMq.bind(ZeroMq.java:59)
at com.alipay.bluewhale.core.zilch.VirtualPort.launch_virtual_port(VirtualPort.java:109)
at com.alipay.bluewhale.core.messaging.MsgLoader.launchVirtualPort(MsgLoader.java:30)
at com.alipay.bluewhale.core.work.transfer.WorkerVirtualPort.launch(WorkerVirtualPort.java:58)
at com.alipay.bluewhale.core.work.Worker.execute(Worker.java:235)
at com.alipay.bluewhale.core.work.Worker.mk_worker(Worker.java:261)
at com.alipay.bluewhale.core.work.Worker.main(Worker.java:284)
2014-01-25 17:34:24 Worker [INFO] WorkerShutdown topology_id=p4p_pv2topology-2-1390642454,port_str=6703
@

@longdafeng
Copy link

建议升级到jstorm最新版, 这个问题可以得到解决

Longda

发件人: muyannian
发送时间: 2014-01-25 17:41
收件人: alibaba/mdrill
主题: Re: [mdrill] 端口被占用BUG (#56)
org.zeromq.ZMQException: Address already in use(0x62)
at org.zeromq.ZMQ$Socket.bind(Native Method)
at com.alipay.bluewhale.core.zilch.ZeroMq.bind(ZeroMq.java:59)
at com.alipay.bluewhale.core.zilch.VirtualPort.launch_virtual_port(VirtualPort.java:109)
at com.alipay.bluewhale.core.messaging.MsgLoader.launchVirtualPort(MsgLoader.java:30)
at com.alipay.bluewhale.core.work.transfer.WorkerVirtualPort.launch(WorkerVirtualPort.java:58)
at com.alipay.bluewhale.core.work.Worker.execute(Worker.java:235)
at com.alipay.bluewhale.core.work.Worker.mk_worker(Worker.java:261)
at com.alipay.bluewhale.core.work.Worker.main(Worker.java:284)
2014-01-25 17:34:24 Worker [INFO] WorkerShutdown topology_id=p4p_pv2topology-2-1390642454,port_str=6703
@

Reply to this email directly or view it on GitHub.

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

No branches or pull requests

2 participants