How to increase Max. limit of Fifo size on Linux?

This is a discussion on How to increase Max. limit of Fifo size on Linux? within the Linux Administration forums, part of the Linux Forums category; Hi, Does anybody know how to increase FIFO Max. size limit on RedHat 9.0? My current limit is 8*...


Go Back   Usenet Forums > Linux Forums > Linux Administration

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-18-2004
Sandeep
 
Posts: n/a
Default How to increase Max. limit of Fifo size on Linux?

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 argument

Let me know is there is any other way to change the Max. size of Fifo/Pipe?

TIA,
Sandeep
Reply With Quote
  #2 (permalink)  
Old 01-20-2004
Lew Pitcher
 
Posts: n/a
Default Re: How to increase Max. limit of Fifo size on Linux?

Sandeep wrote:

> 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 argument
>
> Let me know is there is any other way to change the Max. size of Fifo/Pipe?


I believe that, in order to increase the size of the PIPE allocation, you
are going to have to change some kernel constants and recompile your kernel.

/usr/include/linux/pipe_fs_i.h carries a constant called
PIPE_SIZE
which defines the size of a pipe. You will have to increase this value, and
recompile the linux/fs/pipe.c (at least) support. I don't know what other
downstream effects this will have; you may have to make other changes to the
kernel or apps and recompile as well.

--
Lew Pitcher, IT Consultant, Application Architecture
Enterprise Technology Solutions, TD Bank Financial Group

(Opinions expressed here are my own, not my employer's)

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:06 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0