Why 'too many' filesystems? How many do you have already? The OS will cope with many more than you could likely want.
You mention multiple SAN disks, and that makes me wonder a little. Are you worried that you would have to allocate a new disk from the SAN and use them directly as your filesystem? You should be building the provisioned storage into volume groups and slicing a filesystem of whatever size you want from that.
As a starter to help you, can you show us the output from:-
I want to have a permanent file created - and limit the size that this file can grow.. I want a circular file..
ie max size of file is 10 mb.. and if any new data written to file the oldest data removed..
How can I do this?
I am on solaris 9 x86 (3 Replies)
Hi,
I have a problem writing or copying a file 2GB or larger to either the second or third disk on my C8000. I've searched this forum and found some good information on this but still nothing to solve the problem.
I'm running hpux 11i, JFS3.3 and disk version 4 (from fstyp) on all 3 disks.
... (2 Replies)
Hi, I am not root, but I need to limit the size of my directory, so that it cannot contain more than 200M of stuff inside. Is this possible?
Also, how can I see the total size of that directory? If I do ls -ltrd, it does not give me the size of all the files inside the directory. And if I do df... (6 Replies)
Hello
I want to limit the size of a directory;
so a user cant copy more staff inside it then 5 Giga for example..
eg. /nfs/temp/jhon size can not increase more that 5Gb
I havnt found anything on the net. Is there a way to do it? (2 Replies)
Hi
i configured log rotate for a specific file.
/var/log/sauer
i configured create a file in logrotate.d
# cat /etc/logrotate.d/sauer
#this is a logrotate configuration file for msu_ng logs
/var/log/sauer {
rotate 5
size=1M
daily
compress
... (5 Replies)
Hi All,
I want to store 32KB of file in Oracle DB into CLOB field. I am not able to insert more than 32KB of file into CLOB. So i want to put a limit on the file size. I am using k shell.
My file size will dynamically increase its size, i want to check the file size if it is more than 32KB... (1 Reply)
Hey everyone
I'm trying to limit the size a directory can be under Solaris 10. I can find plenty of guides to do it for user home directories, ut what I'm after is an absolute limit, regardless of the user.
For example:
I want /export/example/ to never pass say 5 GB, no matter what user is... (3 Replies)
To find the whole size of a particular directory i use "du -sk /dirname".. but after finding the direcory's size how do i make conditions like if the size of the dir is more than 1 GB i hav to delete some of the files inside the dir (0 Replies)
Discussion started by: shaal89
0 Replies
LEARN ABOUT OSX
htcacheclean
HTCACHECLEAN(8) htcacheclean HTCACHECLEAN(8)NAME
htcacheclean - Clean up the disk cache
SYNOPSIS
htcacheclean [ -D ] [ -v ] [ -t ] [ -r ] [ -n ] -ppath -llimit
htcacheclean [ -n ] [ -t ] [ -i ] -dinterval -ppath -llimit
SUMMARY
htcacheclean is used to keep the size of mod_disk_cache's storage within a certain limit. This tool can run either manually or in daemon
mode. When running in daemon mode, it sleeps in the background and checks the cache directories at regular intervals for cached content to
be removed. You can stop the daemon cleanly by sending it a TERM or INT signal.
OPTIONS -dinterval
Daemonize and repeat cache cleaning every interval minutes. This option is mutually exclusive with the -D, -v and -r options. To
shutdown the daemon cleanly, just send it a SIGTERM or SIGINT.
-D Do a dry run and don't delete anything. This option is mutually exclusive with the -d option.
-v Be verbose and print statistics. This option is mutually exclusive with the -d option.
-r Clean thoroughly. This assumes that the Apache web server is not running (otherwise you may get garbage in the cache). This option
is mutually exclusive with the -d option and implies the -t option.
-n Be nice. This causes slower processing in favour of other processes. htcacheclean will sleep from time to time so that (a) the disk
IO will be delayed and (b) the kernel can schedule other processes in the meantime.
-t Delete all empty directories. By default only cache files are removed, however with some configurations the large number of directo-
ries created may require attention. If your configuration requires a very large number of directories, to the point that inode or
file allocation table exhaustion may become an issue, use of this option is advised.
-ppath Specify path as the root directory of the disk cache. This should be the same value as specified with the CacheRoot directive.
-llimit
Specify limit as the total disk cache size limit. The value is expressed in bytes by default (or attaching B to the number). Attach
K for Kbytes or M for MBytes.
-i Be intelligent and run only when there was a modification of the disk cache. This option is only possible together with the -d
option.
EXIT STATUS
htcacheclean returns a zero status ("true") if all operations were successful, 1 otherwise.
Apache HTTP Server 2008-05-06 HTCACHECLEAN(8)