[ic] First access is slow
Mike Heins
mike at perusion.com
Wed Nov 10 15:53:15 EST 2004
Quoting Grant (emailgrant at gmail.com):
> I've been noticing that the first access I make to my site is pretty
> slow while subsequent accesses are much quicker. It just dawned on me
> that this could indicate a performance problem with starting sessions.
> Maybe I'm not expiring them properly. Here's what I do:
>
> 40 4 * * * find /catalogs/cat/tmp -type f -mmin +480 | xargs
> --no-run-if-empty rm
> 45 4 * * * find /catalogs/cat/tmp -type d -empty -depth -mindepth 1 |
> xargs --no-run-if-empty rmdir
> 50 4 * * * find /catalogs/cat/session -type f -mmin +480 | xargs
> --no-run-if-empty rm
> 55 4 * * * find /catalogs/cat/session -type d -empty -depth -mindepth
> 1 | xargs --no-run-if-empty rmdir
>
> Should I be doing something different? Is there a way to check and
> see if I'm bogged down with old sessions? Could there be another
> remedy to my problem?
no, this is undoubtedly too much swap in use on the system. you need
more memory for the amount of stuff you are doing on the system.
--
Mike Heins
Perusion -- Expert Interchange Consulting http://www.perusion.com/
phone +1.765.647.1295 tollfree 800-949-1889 <mike at perusion.com>
p.s. sorry for lower case, injured hand
There's nothing sweeter than life nor more precious than time.
-- Barney
More information about the interchange-users
mailing list