- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NFS problem sharing many files
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2005 08:52 PM
06-01-2005 08:52 PM
NFS-Client is Linux mounting this directory and doing an "ls". This takes about 30 minutes to complete (we have seen up to 90 minutes for more files). This is a mess.
HP told us to increase the number of nfsd processes on the NFS-server from 4 to 16 (it is a 4 processor system), this does not help. We see all the nfsd processes as top-cpu processes consuming almost all of the cpu time.
HP told us, that this is how NFS works and closed the case.
We tried the same using a HP-UX 11.11 client as well, the result is similar.
Any idea?
Does it make sense to try an smbmount?
Thank you, Jens
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2005 09:26 PM
06-01-2005 09:26 PM
Re: NFS problem sharing many files
Any network mounted filesystem containing that many huge number of files will have this problem. so i believe you will be facing the same issue with smbmount also.
you can try for some file grouping (grouping files in to a particular directory structure) so that at a time a directory can contain maximum of 1000 to 2000 files.
Regards,
Gopi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2005 07:50 PM
06-02-2005 07:50 PM
Re: NFS problem sharing many files
As far as I understand `ls` and filesystems, the `ls` 'only' reads the directory, sorts the names and spits that out This should be relatively quick. An `ls -l` does not only read the directory, but also each inode that come with each file for the info stored in there (all but the filename). Specially the latter wil be a lot. For 20000 files, it will be 20000 requests, which each have to be answered. On local storage, this info is cached info and hence relatively quick. With nfs, it has to be asked every time since it can change outside the systems knowledge.
For samba, the requiests are rougly equal, however, I don't know if there the inode info is combined with the directory info at the server side. Best to give it a try (and inform us)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2005 10:36 PM
06-02-2005 10:36 PM
Re: NFS problem sharing many files
The problem seems to be based on the size of the directory entry itself: because of the huge number of files it contained at some time in the past, it was about 95MB. If I rmdir it and recreate it, all looks fine. BUT the problem will show up soon again, as our processes will put many files in it soon ...
I will try to find time to use cifs, but up to the comments I got from various sources up to now, that might no improve the situation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2005 12:35 AM
06-03-2005 12:35 AM
SolutionIf it cannot be avoided, then application routines (and users) should simply avoid doing a directory listing in such filesystems. One possible appllication fix that we've tried in the past is to simply catalog and index the entries if such filesystems in a database. A web front-end (queriable) then takes place of the "ls" / listing front end.
Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2005 03:18 AM
06-07-2005 03:18 AM