[lug] named pipe missunderstanding

Davide Del Vento davide.del.vento at gmail.com
Tue Feb 1 14:53:42 MST 2011


>  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



More information about the LUG mailing list