[MediaWiki-l] php rebuildFileCache.php

Brian Wolff bawolff at gmail.com
Tue Jul 4 14:34:19 UTC 2017

This is more a generic sysadmin question.

First step is figure out where all your diskspace has gone - run the command:

du | sort

to find out (The command will list space usage in all the
subdirectories of the current directory). Delete files as necessary.
Obviously be careful you don't delete anything important.

As Florian said, using file cache and varnish at the same time makes
no sense. varnish does the same thing as file cache, but much better.
Having both enabled will just make things slower. You should only have
varnish enabled.


On Tue, Jul 4, 2017 at 2:29 AM, John Foster <jfoster81747 at gmail.com> wrote:
> Just a situation I find myself in. I recently started trying to improve the
> speed of performance of my mediawiki site. To do so I installed varnish,
> and set up memcached to run on that server. debian Linux 8 with php7  from
> backports. Now I got all of the update done and checked to see that the
> server was running OK: the last step was to rebuild the caching files using
> the command php rebuildFileCache.php. I've used this before with no
> complications however this time it filled up my entire diskdrive 923GB and
> I'm not sure what to do the clean up my mess. The entire system will boot
> up but the drive is so bloated that I cant even log in in the xterminal
> desktop. I do have full access as root on the regular terminal.
> I would really appreciate any tips to handle this.
> Thanks
> --
> John Foster
> <https://www.avast.com/lp-safe-emailing-3177-b?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=oa-3177-b>
> Virus-free.
> www.avast.com
> <https://www.avast.com/lp-safe-emailing-3177-b?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=oa-3177-b>
> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> _______________________________________________
> MediaWiki-l mailing list
> To unsubscribe, go to:
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

More information about the MediaWiki-l mailing list