seanXh created STORM-459:
----------------------------

             Summary: multilang seems had read from pipe but didn't clear the 
spout process's STDOUT
                 Key: STORM-459
                 URL: https://issues.apache.org/jira/browse/STORM-459
             Project: Apache Storm (Incubating)
          Issue Type: Bug
            Reporter: seanXh


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



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to