Heres the story.
I have inherited an AIX 5.1 ML5 server, which has a filesystem which has a huge number of small files within it .
I want to create a list of the files, so i can see what they are, for deletion/archiving etc.
However, attempts to run ls against this filesystem are failing,
myserver:/directory# ls | wc -l
ls: 0653-340 There is not enough memory available now.
0
The server has 3gb physical, and 2gb paging space.
size inuse free pin virtual
memory 786415 753658 32757 185444 273898
pg space 524288 144963
I figured the problem is probably limits related, and have tried setting various different limits for rss but to no avail.
myserver:/# ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 131072
stack(kbytes) 32768
memory(kbytes) 32768
coredump(blocks) 2097151
nofiles(descriptors) 2000
section of /etc/security/limits
default:
fsize = 2097151
core = 2097151
cpu = -1
data = 262144
rss = 65536
stack = 65536
nofiles = 2000
root:
fsize = -1
Any ideas what else i can try ?
I have inherited an AIX 5.1 ML5 server, which has a filesystem which has a huge number of small files within it .
I want to create a list of the files, so i can see what they are, for deletion/archiving etc.
However, attempts to run ls against this filesystem are failing,
myserver:/directory# ls | wc -l
ls: 0653-340 There is not enough memory available now.
0
The server has 3gb physical, and 2gb paging space.
size inuse free pin virtual
memory 786415 753658 32757 185444 273898
pg space 524288 144963
I figured the problem is probably limits related, and have tried setting various different limits for rss but to no avail.
myserver:/# ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 131072
stack(kbytes) 32768
memory(kbytes) 32768
coredump(blocks) 2097151
nofiles(descriptors) 2000
section of /etc/security/limits
default:
fsize = 2097151
core = 2097151
cpu = -1
data = 262144
rss = 65536
stack = 65536
nofiles = 2000
root:
fsize = -1
Any ideas what else i can try ?