Re: 1 cset was pushed to modules/stable: bug 3740 - regenerate the static/session...

mikespub <[email protected]>
Newsgroups gmane.comp.cms.xaraya.bk-notices
Organization Xaraya
Message-ID <[email protected]>
Jonn Beames wrote:
> ...
> Bad: we still have all the same problems you were aluding to that make
> background processes a problem: if they take a long time and are triggered
> often, people will get in trouble.
> ...

I would like to avoid using the scheduler module for minute-by-minute
(or even per-request) processing. Putting frequent and/or long-running
actions as shutdown functions ties up the current webserver process
and will often increase its memory footprint - and the same with another
process the next time it's called, and so on...

So although it may be convenient, it's not a very nice or efficient way
of scheduling things. If you need to regenerate many pages, I would
definitely go for a cron job that :

a. extracts the URLs from config.caching.php to autolist.txt

b. runs wget -i autolist.txt -o autolist.log -nd --delete-after

There's no need to tie up a web process or Xaraya for this :-)

Mike.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.