home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!murphy!jpradley!colornet!dfilip
- From: dfilip@colornet.UUCP
- Newsgroups: vmsnet.internals
- Subject: Re: Why does emptying a dir take so long?
- Keywords: ACP_DIRCACHE
- Message-ID: <97@colornet.UUCP>
- Date: 26 Jul 92 22:19:47 GMT
- References: <1992Jul15.123436.29887@fel.tno.nl>
- Distribution: world
- Lines: 31
-
- Maarten Landzaat writes :
- >He has a few directories containing a few hundred files. Sometimes, these
- >dirs need to be emptied. He then issues a simple delete *.*;* or whatever.
- >then VMS takes an INCREDIBLE time of 2 hours (5.4) or 45 minutes (5.5)
- >to delete the files.
- <stuff deleted>
-
- If all access to the directory becomes VERY SLOW (including DIR's) then
- I would suggest looking at the SYSGEN parameter ACP_DIRCACHE. This is the
- number of blocks of a directory file that are kept in cache. Although a few
- hundred files should NOT create an extremely large directory, if there were
- ever a lot more (i.e., thousands) then this could be your problem since
- directory files are not automatically compressed when files are deleted.
-
- ACP_DIRCACHE should be slightly larger than your largest directory file.
- The parameter is dynamic, so you can change it without rebooting and see
- if it fixes your problem.
-
- Hope this helps !
-
- Regards,
-
- Dave.
-
- --
- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
- = David E. Filip UUCP : uupsi!jpradley!colornet!dfilip =
- = ColorNet Information Systems CIS : 76430,3111 =
- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
- = 'Why fix the application when we can just keep fixing the data ?' =
- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-