On the topic of Drupal and caching/performance, there is some great work being done using Pressflow (Drupal 6 core with enhancements) and Varnish - A forward proxy. Its not for everyone as it sounds like it takes a bit of setting up, but for a very high performance site its well worth looking into. see http://groups.drupal.org/node/25617
Paul Bennett wrote: > Yep, but that should be the same user that created the files so... > > Things certainly are a bit hinky. If we can get to the bottom of the > issues I'll certainly be sending the updates back to the module > maintainers as other than the cache clean up it's a fantastic module > for high traffic sites. > > Paul > > On Mon, Aug 24, 2009 at 3:49 PM, Aaron Fulton > <[email protected] <mailto:[email protected]>> wrote: > > > Are you running cron as the web user (eg www-data) it could be a file > permissions problem. > > > This may be COMPLETELY left field and no help at all, but it may > provide > > food for thought. I've got no idea how this Boost module works. > > > > > > > > I had a problem once where a command was running perfectly fine > at the > > command line, but not when specified inside crontab. It was > running, but > > not > > doing its job properly. > > > > > > > > Turns out the command I was running was using a default > configuration file > > in the user's home folder, and this is why it was failing when > run by cron > > but working when executed at the command line. When I manually > specified > > the > > path to the configuration file in the crontab line, it worked > perfectly > > fine. Perhaps something along these lines is holding up the > removal of the > > files? > > > > > > > > HTH. > > > > > > > > From: [email protected] <mailto:[email protected]> > [mailto:[email protected] > <mailto:[email protected]>] On Behalf > > Of Paul Bennett > > Sent: Monday, 24 August 2009 2:59 p.m. > > To: [email protected] <mailto:[email protected]> > > Subject: [phpug] Re: Drupal > Boost > Removing expired pages > > > > > > > > Hi Chris, > > > > Pretty sure - I've had a look through the module and it has a > cron hook > > which removes files on disk using unlink(). > > It's writing success messages to the system log, but from what I > see it > > only > > seems to remove files when a user is logged in and cron is run > manually. > > This is odd, as there is no user id reference in the module > (that I can > > see). > > > > > > Paul > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > No virus found in this incoming message. > Checked by AVG - www.avg.com > Version: 8.5.409 / Virus Database: 270.13.65/2322 - Release Date: 08/23/09 > 18:03:00 > > --~--~---------~--~----~------------~-------~--~----~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to [email protected] To unsubscribe, send email to [email protected] -~----------~----~----~----~------~----~------~--~---
