> That's what newsyslog is for, and you don't have to stop apache:
> /path/to/httpd-access.log 640 7 * $W0D0 B /var/run/httpd.pid 30
Yep, and there's also the rotatelogs(8) utility that comes with apache,
e.g. to rotate once a week:
CustomLog "| rotatelogs /path/to/log/fileprefix 604
That's what newsyslog is for, and you don't have to stop apache:
/path/to/httpd-access.log 640 7 * $W0D0 B /var/run/httpd.pid 30
- Scott
Guezou Philippe([EMAIL PROTECTED])@2002.10.10 10:05:10 +:
> [Charset iso-8859-1 unsupported, filtering to ASCII...]
> > Thank you for your suggestion
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> Thank you for your suggestion I restarted apache on my server my df -h is
> giving
>
> FilesystemSize Used Avail Capacity Mounted on
> /dev/ad0s2a 9.6G 1.0G 7.8G12%/
> /dev/ad2s1e55G39G11G77%/data
On Thu, 10 Oct 2002, Naga Suresh B wrote:
>What might be the problem??? In future how can I overcome this type of
>problems without restarting the service.
Sounds like you moved/rotated/deleted your Apache log file but Apache
still had it open and continued logging to it. The space on disk will n
Maxim Konovalov" <[EMAIL PROTECTED]>
To: "Naga Suresh B" <[EMAIL PROTECTED]>
Sent: Thursday, October 10, 2002 3:21 PM
Subject: Re: disk running out of space
>
> Try killall -HUP syslogd
>
> On 13:49+0400, Oct 10, 2002, Naga Suresh B wrote:
>
> > Hai,
>
On Thu, 10 Oct 2002, Naga Suresh B wrote:
>I went into / and measured all the folders it is coming around 2GB as usable
>space.
>
>What might be the problem???
This would probably be better on questions@ but it is possible that you
have files on the root partition under /usr that are being hidden
Hai,
I am facing a problem in disk space, when I say df -h on my server, it
is giving the following results:-
FilesystemSize Used Avail Capacity Mounted on
/dev/ad0s2a 9.6G 8.5G 337M96%/
/dev/ad2s1e55G39G11G77%/data
/dev/ad0s1e 9.6G 2.0K 8.8G