Stories
Slash Boxes
Comments

Slash Open Source Project

This discussion has been archived. No new comments can be posted.
Display Options Threshold:
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • Does anybody know if this is needed in Bender? I will be having a number of authors on my Slash site that have neither the privileges nor the knowledge to restart Apache every time they change something.
    --
    Steve Linberg, Chief Goblin
    Silicon Goblin Technologies [silicongoblin.com]
  • by latas (1692) on Friday February 09 2001, @04:39AM (#127) Homepage
    Restart Apache Server. Is very effective always. It works the next time you reload the page.
  • by pudge (6) on Tuesday February 13 2001, @12:18PM (#135) Homepage
    Well, you can set story_expire and block_expire (which also handles templates) to small numbers, so the cache will expire quickly, and then you won't need to restart to do updates. Currently, in bender, blocks expire in an hour, and stories in 10 minutes. Note that resetting these values from the Variables editor _does_ require an httpd restart. But that should not need to be done other than during setup.

    During development, set cache_enabled to 0, and _nothing_ will be cached. This is _not advisable at all_ for production sites, as caching is required to get reasonable performance, especially for templates.
  • by Doc (1734) on Wednesday February 07 2001, @10:17AM (#509) Homepage
    Try restarting your web server. mod_perl has a tendency to hold things in memory. Also, set MaxRequestsPerChild to something small, depending on your hit rate. This will cause the child httpds to exit after they service that many requests, and flush the "caching" of mod_perl automatically.
    --
    Sci-Fi Storm: http://scifistorm.org/
  • by ubiq (1944) on Thursday February 08 2001, @10:15AM (#521)
    Yes, I did stop and restart slashd. That did rebuild pages but not for the logged in user, only for the new user. When I stopped and restarted Apache, though, everything got refreshed for everyone.
  • by Anonymous Coward on Thursday February 08 2001, @08:31AM (#531)
    Stopping and starting slashd also helps because it forces the pages to be rebuilt.
  • 2 replies beneath your current threshold.