Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Abandoned
-
None
-
None
-
None
Description
Hi,All
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 the php process will blocks in the write(1,xxxx...,when i strace -p the php spout.
But when i use 'cat' read from the /proc/pid/fd/1 which is the php process STDOUT. All of the content had been handle correctly in the bolt is still there.
So, i doubt that spout hangs out when write(1,xxx , is because that the process's STDOUT buffer is full of contents. But how can i prevent this issue.
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
Thx
Sean