Hi, I have and IB RS/6000 machine running 32-bit AIX 4.3.3. We have a directory that is NFS mounted to this machine. Whenever I run the "ls" command in this directory, I get the following error: 0653-340 There is not enough memory available now
There was originally 512 MB of memory in this system and I doubled it to 1024 MB of memory but I still get the same error.
I Googled this error message and saw that another user got this same error message when running the "ls" command in an NFS mounted directory on an AIX machine. The user was only told that this was not a memory problem.
I am hoping someone can help me with the following questions:
1) What is causing this issue?
2) How can I resolve this issue?
One thing to note is that I want to solve the overlying issue and not a workaround for using find instead of ls. The "ls" issue is just a symptom of the problem.
What is so special about that NFS mount then?
Because although I can remember having heard of something of the sort, I am quite sure I could not reproduce the case, what happend when you type ls on that FS, does it freese ?
I doubt it has to do with RAM... I have systems running with 512MB and run happily...
If I type "ls" in any directory other than the NFS mounted directory, it will give me the results immediately. The NFS mounted directory has many files and subdirectories in it. Most of the other directories on this machine have very little in them. In fact, if I go into a subdirectory of the NFS mounted directory, I can run "ls" and it will quickly give me the results.
Some more info that further complicates this issue:
This issue was first brought to me by a programmer because everytime he ran the "make" command on this mounted directory and even its subdirectories, the cursor would just hang. Unlike the "ls" command, the problem did not go away when he tried to run make from a subdirectory of the NFS mounted directory. He would eventually have to use "ctrl + C" to stop the "make" command.
I am wondering if this issue is being caused by the number of files and folders in the mounted directory.
I am wondering if this issue is being caused by the number of files and folders in the mounted directory.
Edit/Delete Message
Im tempted to say yes... and no...
NFS mounted FS is for your system a Remote FS your system is not responsible for, so when it comes to write, cache etc your system relies on the remote server...
Lets imagine your AIX beeing paranoid ( like they used to in 4.3 ) and you, found a way of letting your system cache the way it would for local FS, since its network your system would not be aware of what is going on the remote side and so can your system guarantee data integrity with its cache?
No...
So to improve performance of remote file access there is a mechanism of read-ahead and write-ahead provided by the biods...
That said you can try troubleshooting with
for a start to see if all is OK or needs a bit of tuning...
I would also go at the NFS mountpoint and use find to look if there arent any ls and make files there that are executables.. ( I remembered a spoof with ls... )
How many files is many? Because yes, even on local FS a big amount of files will give ls a headache..
Last edited by vbe; 03-28-2014 at 02:10 PM..
Reason: typos
Hi all,
I've salveaged a fully working HP 9000 340 model with hard disk and floppy drive.
It boots up and I get to the login screen. I don't have any usernames or passwords. Anyone know any hacks for the version of Unix it runs?
Is there anyway I can reset the root password? Via Floppy?
... (0 Replies)
Hi
I am trying to sort a file of 88075743B size. I am doing some processing on the file and after the processing is done; I get 2 files temp1 and temp2. I need to combine both these files as one and this final file should be sorted on fields 1 and 2. Space is the delimiter between fields. Record... (2 Replies)