Is there any limit to AIX 5.3 pipe size ?
- by snowflake
Hello,
I'm in trouble while performing cat/tail/head operation on large files on Aix 5.3. When asking for a cat of several 1Go file redirected to another one:
cat file1 file2 file3 > outputfile
The outputfile is limited to 2Go (cat: output error and result file is 2147483647 bytes)
Filesystem is jfs2. I successfully uploaded through ftp 10Go files on the filesystem without problem.
I found nothing relevant in etc/security/limits:
default:
fsize = -1
core = 2097151
cpu = -1
data = 262144
rss = 65536
stack = 65536
nofiles = 20000
ulimit -a
core file size (blocks) unlimited
data seg size (kbytes) 245759
file size (blocks) unlimited
max memory size (kbytes) unlimited
open files 2000
pipe size (512 bytes) 64
stack size (kbytes) 32768
cpu time (seconds) unlimited
max user processes 2048
virtual memory (kbytes) 278527
The problem does not occur on another AIX 5.3 server, I'm just looking for a different configuration that might be the source of the problem.
/etc/security/limits on the server without the problem:
default:
fsize = -1
core = 2097151
cpu = -1
data = 262144
rss = 65536
stack = 65536
nofiles = 20000
ulimit -a on the server without the problem:
core file size (blocks, -c) 1048575
data seg size (kbytes, -d) 131072
file size (blocks, -f) unlimited
max memory size (kbytes, -m) 32768
open files (-n) 20000
pipe size (512 bytes, -p) 64
stack size (kbytes, -s) 32768
cpu time (seconds, -t) unlimited
max user processes (-u) 262144
virtual memory (kbytes, -v) unlimited