[erlang-questions] Port process exits with status einval while external program still runs
Khitai Pang
khitai.pang@REDACTED
Sat May 27 17:57:59 CEST 2017
No it can't be the case, port_command will return error and the data
will not be sent to the port. This is really weird, this erlang app has
been running for a month and millions and millions of messages have been
processed by the ports, and this is first time I see port process exit
with einval and external prog still runs.
Thanks
Khitai
On 2017/5/27 23:42, Khitai Pang wrote:
> The port is opened with {packet, 2}, I'm guessing that the data sent to
> the port is too big and it's size can't fit in a two-byte integer.
>
> Thanks
> Khitai
>
> On 2017/5/27 23:31, Khitai Pang wrote:
>> I have observed a situation where the port process exits with reason
>> 'einval' but the external program still runs. The connected process of
>> the port receives {EXIT,#Port<0.3069817>,einval}. What makes a port
>> process exit with 'einval' while the external program still runs?
>>
>>
>> Thanks
>> Khitai
>> _______________________________________________
>> erlang-questions mailing list
>> erlang-questions@REDACTED
>> http://erlang.org/mailman/listinfo/erlang-questions
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
More information about the erlang-questions
mailing list