Stories
Slash Boxes
Comments

Slash Open Source Project

This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login
Loading... please wait.
  • 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]
  • Restart Apache Server. Is very effective always. It works the next time you reload the page.
  • 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.
  • Oh, fuck you. Don't know shit, boy.
    --

    On Taco-Snot [slashdot.org]

  • Burn in hell. You homosexual gay flaming faggot...
    --

    On Taco-Snot [slashdot.org]

  • 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/
  • 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
    Stopping and starting slashd also helps because it forces the pages to be rebuilt.