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


Groups > linux.debian.user > #172855

Re: system gobbles disk space

From Tony van der Hoff <tony@vanderhoff.org>
Newsgroups linux.debian.user
Subject Re: system gobbles disk space
Date 2016-09-27 16:50 +0200
Message-ID <sm1RM-2fQ-23@gated-at.bofh.it> (permalink)
References (2 earlier) <slELv-4MV-11@gated-at.bofh.it> <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>
Organization linux.* mail to news gateway

Show all headers | View raw


On 27/09/16 13:09, tomas@tuxteam.de wrote:
> On Tue, Sep 27, 2016 at 10:55:52AM +0200, Tony van der Hoff wrote:
>> On 26/09/16 17:04, tomas@tuxteam.de wrote:
>>> On Mon, Sep 26, 2016 at 04:38:01PM +0200, Tony van der Hoff wrote:
>>>> On 26/09/16 16:03, tomas@tuxteam.de wrote:
>>>>> On Mon, Sep 26, 2016 at 12:54:49PM +0200, Erwan David wrote:
>>>>>
>>>>>> A possibility is that you have processes writing into deleted files. You can see them with lsof +L1 (as root)
>>>>>
> 
>> Thanks again to all who have helped with this.
> 
>> After the overnight run, I'm now seeing this:
> 
> [...]
> 
> Bad Apache, bad :-)
>
> Seems this "cron job" is doing logrotate's job (or I am misunderstanding).
> 
Well, I guess you're correct. It never occurred to me to use logrotate
for this purpose. I imagined that was exclusively for the system
packages. Evidently not!

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. The
only snag seems to be that the script now has to run as root. Not a
terrible deal.

>> This setup has existed for a number of years unchanged, so what's caused
>> it to start misbehaving?
> 
I still don't understand what's changed; this server is running
oldstable, so should only receive security updates. I guess it's just
taken a long time to fill up the file space with deleted files. Ho hum!

Thanks for your help.

-- 
Tony van der Hoff  | mailto:tony@vanderhoff.org
Ariège, France     |

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