Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #172861

Re: system gobbles disk space

From Sven Hartge <sven@svenhartge.de>
Newsgroups linux.debian.user
Subject Re: system gobbles disk space
Date 2016-09-27 18:00 +0200
Message-ID <sm2Xv-2S0-33@gated-at.bofh.it> (permalink)
References (3 earlier) <slFex-4Zu-1@gated-at.bofh.it> <slFHz-5oB-1@gated-at.bofh.it> <slWp3-7kB-11@gated-at.bofh.it> <slYAx-qw-9@gated-at.bofh.it> <sm1RM-2fQ-23@gated-at.bofh.it>
Organization Newsfeed am Wurmloch

Show all headers | View raw


Tony van der Hoff <tony@vanderhoff.org> wrote:

> However, it wouldn't work in this case. Various other applications
> rely on the names of the compressed files being in a particular
> format, which I can't easily achieve with logrotate. So, I'll stick
> with my original script but add "apachectl graceful" before fiddling
> with the files.

You should add this _after_ fiddling with the files. Reloading apache
before renaming/rotating the log files will not stop them from being
reopened again.

You rename/rotate the files _first_ and *then* reload apache to have the
intended effect.

Grüße,
Sven.

-- 
Sigmentation fault. Core dumped.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

system gobbles disk space Tony van der Hoff <tony@vanderhoff.org> - 2016-09-26 11:50 +0200
  Re: system gobbles disk space <tomas@tuxteam.de> - 2016-09-26 12:10 +0200
  Re: system gobbles disk space Erwan David <erwan@rail.eu.org> - 2016-09-26 13:00 +0200
    Re: system gobbles disk space <tomas@tuxteam.de> - 2016-09-26 16:10 +0200
      Re: system gobbles disk space Tony van der Hoff <tony@vanderhoff.org> - 2016-09-26 16:40 +0200
        Re: system gobbles disk space <tomas@tuxteam.de> - 2016-09-26 17:10 +0200
          Re: system gobbles disk space Tony van der Hoff <tony@vanderhoff.org> - 2016-09-27 11:00 +0200
            Re: system gobbles disk space <tomas@tuxteam.de> - 2016-09-27 13:20 +0200
              Re: system gobbles disk space Tony van der Hoff <tony@vanderhoff.org> - 2016-09-27 16:50 +0200
                Re: system gobbles disk space Sven Hartge <sven@svenhartge.de> - 2016-09-27 18:00 +0200
                Re: system gobbles disk space <tomas@tuxteam.de> - 2016-09-27 18:40 +0200
                Re: system gobbles disk space Tony van der Hoff <tony@vanderhoff.org> - 2016-09-27 18:40 +0200
  [SOLVED] Re: system gobbles disk space Tony van der Hoff <tony@vanderhoff.org> - 2016-09-29 11:10 +0200

csiph-web