On 27/06/12 07:34, Gabor Szabo wrote:
Yesterday finally I moved trac to the new server and enabled it. It quickly started to show huge load.With the help of Phillip Pollard we tracked it down to running out of memory and filling up the swap disk due to many hits on /trac by search engines. We have not found a "real" solution as I was too tired and had to go to sleep. Configuring Apache to Deny access to the /trac directory for the search engines I noticed proved to eliminate the problem. Most of them are not a great loss as they hardly brought in any visitors but I'd like to enable at least Google at some point. I set up robots.txt so even Google will only hit the important pages but I am not sure if I can tell Google how to re-read robots.txt before it goes on? I even had to set Deny on an individual IP address where an unrestricted wget -r was trying to fetch the whole site. That was surprising, but I have the IP address. There are few more things I need to set up (e.g. cron jobs) but if you notice something is not working or is misbehaving, please let me know. Sorry that it took so long. regards Gabor
Ok here goes A maintenance / info for page for Padre trac if you create a dir call trac off web root ├── trac │ ├── index.html │ ├── logo.png │ └── trac_logo_mini.png add enc files then you can use the a2... command sudo a2dissite trac.conf && sudo service apache2 reload sudo a2ensite trac.conf && sudo service apache2 reload and now we have info page when trac is down.It is simple and quite clean, but any body want to make it better or cleaner, be my guest.
regards bowtieTitle: Maintance Page
Padre trac info page
Why:
Rhubarb Rhubarb Rhubarb Rhubarb Rhubarb Rhubarb Rhubarb Rhubarb Rhubarb Rhubarb Rhubarb Rhubarb Rhubarb Rhubarb Rhubarb Rhubarb Rhubarb Rhubarb Rhubarb Rhubarb Rhubarb Rhubarb Rhubarb Rhubarb Rhubarb Rhubarb Rhubarb Rhubarb Rhubarb Rhubarb Rhubarb Rhubarb Rhubarb Rhubarb Rhubarb Rhubarb Rhubarb Rhubarb Rhubarb Rhubarb Rhubarb Rhubarb Rhubarb Rhubarb Rhubarb Rhubarb Rhubarb Rhubarb Rhubarb Rhubarb
Next Up Date Due:
Rhubarb Rhubarb Rhubarb Rhubarb Rhubarb Rhubarb Rhubarb Rhubarb
<<attachment: logo.png>>
<<attachment: trac_logo_mini.png>>
_______________________________________________ Padre-dev mailing list Padre-dev@perlide.org http://mail.perlide.org/mailman/listinfo/padre-dev