I have 2 programs. One writes data to fifo & other reads from it & processes the data.
There are cases when Writing program keeps populating fifo and the data sent to fifo can exceed 4088 bytes. And the reader program still has not read from fifo. In this case the fifo gets manipulated. The data that is sent after 4088 bytes gets lost.
I want to avoid this by increasing Fifo limit.
Any other ways instead of using ulimit -p command?
thanks,
Sandeep
Ben Yau <byau@xxxxxxxxxxxxxxxx> wrote:
Ben Yau <byau@xxxxxxxxxxxxxxxx> wrote:
From the bash(1) man page for ulimit:-p The pipe size in 512-byte blocks (this may not be set)I guess you can't set it. What is the end thing you are trying to do?Ben Yau
-----Original Message-----
From: shrike-list-admin@xxxxxxxxxx [mailto:shrike-list-admin@xxxxxxxxxx]On Behalf Of Sandeep llll
Sent: Thursday, January 15, 2004 12:47 PM
To: shrike-list@xxxxxxxxxx
Subject: How to increase Fifo Max.size limit in RedHat 9.0?Hi,Does anybody know how to increase FIFO Max. size limit on RedHat 9.0?My current limit is 8*512 bytes, which is as shown by "ulimit -p" command.I tried to increase it to 20*512 bytes using command: "ulimit -p 20".Got this error:ulimit: pipe size: cannot modify limit: Invalid argumentLet me know is there is any other way to change the Max. size of Fifo/Pipe?TIA,Sandeep
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes