[lug] named pipe missunderstanding

Jason Davis jdavis at openactive.org
Tue Feb 1 15:30:27 MST 2011


doh, missunderstood the pseudocode part :D Thanks again

On Tue, Feb 1, 2011 at 3:29 PM, Jason Davis <jdavis at openactive.org> wrote:
> Its real runnabel code.
>
> I use mkfifo
> I have plenty of ram, no swapping.
>
> Thanks!
> Jason
>
> On Tue, Feb 1, 2011 at 2:53 PM, Davide Del Vento
> <davide.del.vento at gmail.com> wrote:
>>>  I think I have a missunderstanding about named pipes. Im using them
>>> for IPC and Im losing data.
>>> Here is the code I used:
>>> http://stackoverflow.com/questions/4867780/linux-named-pipes-losing-data
>>>
>>> Any ideas why I could be losing data?
>>
>>
>> I don't know groovy, but considering it pseudocode I don't see any
>> obvious problem.
>> Just a couple of questions:
>> 1) do you create the named pipe with mkfifo or within groovy? I'd try
>> the former if you aren't already.
>> 2) are you hitting the available memory size on your system and/or
>> starting to fill the swap?
>>
>> You might answer with an update on stackoverflow, if you so prefer.
>>
>> Best,
>> Dav
>> _______________________________________________
>> Web Page:  http://lug.boulder.co.us
>> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
>> Join us on IRC: irc.hackingsociety.org port=6667 channel=#hackingsociety
>>
>



More information about the LUG mailing list