Mail Index


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ApacheGallery] [feature request] Actual caching that lasts through sessions?



On Mon, Aug 23, 2004 at 06:15:43PM -0700, Jake Appelbaum wrote:

Firstly, you should use /var/tmp/ - and not /tmp/ for more permanent
temporary stuff, please reference 
http://www.debian.org/doc/packaging-manuals/fhs/fhs-3.11.html
http://www.debian.org/doc/packaging-manuals/fhs/fhs-5.12.html
But that does not seem to be the actual issue, since your cache has
pretty old stuff in it.

> >  Include
> > copy and paste from error log, dir -l, etc as appropriate if you are
> > still having trouble and need more help.
> 
> Without any changes, I am still having trouble with this enabled feature
> 
> Here's a symptom of the issue:

Please keep the legend, not all top/ps implementations are alike.
Im' assuming this is:

  PID   USER      PR  NI  VIRT  RES   SHR S    %CPU %MEM  TIME+ COMMAND
> 14436 www-data  16   0 86592  15M 73072 S     0.0  6.0   2:17 apache
> 14437 www-data  16   0 79744 8164 73072 S     0.0  3.2   0:10 apache
> 14438 www-data  16   0 85200  13M 73784 S     0.0  5.2   0:29 apache
> 14439 www-data  16   0 80280 9044 73072 S     0.0  3.5   0:06 apache
> 14440 www-data  16   0 78856 7276 73072 S     0.0  2.8   0:17 apache
> 14504 www-data  16   0 82016  10M 73072 S     0.0  4.1   0:11 apache
> 14557 www-data  16   0 85368  13M 73784 S     0.0  5.3   0:23 apache
> 14676 www-data  16   0 95980  23M 73784 S     0.0  9.5   0:35 apache
> 14677 www-data  16   0 79688 8100 73072 S     0.0  3.1   0:12 apache
> 14778 www-data  16   0 78912 7320 73072 S     0.0  2.8   0:01 apache
> 
> Those apache processes with 15M,13M,10M,13M,23M denial of service the

RES usage of those sizes are not uncommon when running mod_perl, how
much memory in this box?
I'm a bit surprised about the amount of shared memory though, is this
apache running anything else than A::G? - We may be looking at an
excessively swapping machine.

> box. It's directly correlated to users accessing the photo gallery
> (obviously). When any users access the site, it will start to run out of
> memory quickly. If it's caching all of the images correctly, what's the
> deal?
> 
> Why is this happening if the site isn't regenerating the thumbnails?

If your machine has gone into a downward swapping spiral, no
optimization that can be done to A::G can save you :)

> And apparently on a personal note you felt the need to say:

Please keep this off the list

-- 
Andreas Plesner Jacobsen | I'd like MY data-base JULIENNED and stir-fried!
_______________________________________________
users mailing list
users@xxxxxxxxxxxxxxxx
http://ufo.hestdesign.com/cgi-bin/mailman/listinfo/agusers