[ic] First access is slow

Grant emailgrant at gmail.com
Tue Nov 16 10:53:52 EST 2004


> > 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.
> 

I've upgraded from 512 to 1024 and there is now no swap in use, and
the slow first access problem seems to be gone.  Thank you very much
for the advice.

- Grant

> --
> Mike Heins


More information about the interchange-users mailing list