storm multilang seems only process 4Mb spout, and then stop

送分小仙女□ 提交于 2019-12-12 04:09:26

问题


I'am using the storm's multilang throughing PHP. But it seems have some problem.

Then my spout is a php script which read contents from a file.And in the beginning of the 4Mb content,which runs correctly.

But then php process will blocks in the write(1,xxxx...,when i strace -p the php spout. But the next bolt process is blocked in the read(0,

i doubt this is the storm's problem,but the question is why each time the spout analyse is 4Mb, and is it a java processBuild's deadlock? How to avoid it....

My environment is Linux : 2.6.32_1-9-3-1 kernel. Java: 1.6.0_33 Storm:0.8.2 or 0.8.1 PHP: 5.2

来源:https://stackoverflow.com/questions/25350900/storm-multilang-seems-only-process-4mb-spout-and-then-stop

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!