Guest User!

You are not Sophos Staff.

HTTP Proxy Cache

On my system ( 3.4 GHz Dual Core P4, 80 MB Sata2, 2 Gigs RAM, 10 meg internet pipe ) web access is actually faster with the cache disabled.

With it enabled, I can watch the screens draw on the screen.
With it disabled, the screens just pop in.

With v6 ( same system, different drive (80 gig IDE) ) the cache was always on and the system did not appear slow at all.  I never tried it with the cache off.

Is this something to do with v7 not liking SATA drives, or some other querky thing?
Parents
  • Hi TXGARobert,

    can you post a bit more information about your setup? How many users are using the proxy, what's your configuration (especially virus scanning, etc). Is the proxy constant slow with caching, or only at specific times? can you login to your ASG as loginuser, and post the output of 'top' when it is slow?

    Thanks,

    Sven.
  • I can't give you an exact number of users because the license is "Unlimited" and does not provide a number.

    At any given time, there are 12 sites that connect to the internet through this box, roughly 1000-2000 possible computers accessing the internet.

    v6, a/v, cache worked great, no slowdowns, ever.

    v7, a/v, IPS, IM/P2P, cache, painfully slow

    v7, a/v, no cache, works great, not seeing any slowdowns.

    Out of all the things I have tried, and after yesterday I tried them all at once, nothing made any difference until I turned off the http proxy cache.

    Yesterday, IPS was on, IM/P2P was on, the cache was on, and it was painfull to use.
    This morning I turned off all except the cache, still painfully slow.

    Once I turned off the cache, instant response, everything went back to normal.

    Yesterday when I would shell in and monitor the TOP, it looked to me to be just sitting there idling.  

    Here is what it is doing right now:


    Astaro Security Gateway
    (C) Copyrights by Astaro and by others 2000-2007.

    NOTE: Any modifications done by root will void your support.
          Please use WebAdmin for any configuration changes.

    loginuser@astaro:/home/login > top
    top - 13:59:24 up  1:33,  1 user,  load average: 0.16, 0.17, 0.20
    Tasks:  85 total,   1 running,  83 sleeping,   0 stopped,   1 zombie
    Cpu(s):  2.0%us,  0.8%sy,  0.0%ni, 95.7%id,  0.0%wa,  0.8%hi,  0.7%si,  0.0%st
    Mem:   2066384k total,   893152k used,  1173232k free,   157200k buffers
    Swap:  1052248k total,        0k used,  1052248k free,   426104k cached

      PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
     4662 chroot    15   0  199m  41m 3612 S    3  2.1   3:04.02 httpproxy
     5255 root      15   0 17608  14m 2748 S    2  0.7   1:45.63 websec-reporter
     2796 root      16   0  2624 1612  604 S    0  0.1   0:34.24 syslog-ng
     3672 mysql     16   0  119m  18m 4672 S    0  0.9   0:03.99 mysqld
        1 root      16   0   720  280  244 S    0  0.0   0:00.90 init
        2 root      RT   0     0    0    0 S    0  0.0   0:00.00 migration/0
        3 root      34  19     0    0    0 S    0  0.0   0:00.00 ksoftirqd/0
        4 root      RT   0     0    0    0 S    0  0.0   0:00.00 migration/1
        5 root      34  19     0    0    0 S    0  0.0   0:00.00 ksoftirqd/1
        6 root      10  -5     0    0    0 S    0  0.0   0:00.00 events/0
        7 root      10  -5     0    0    0 S    0  0.0   0:00.00 events/1
        8 root      10  -5     0    0    0 S    0  0.0   0:00.01 khelper
        9 root      11  -5     0    0    0 S    0  0.0   0:00.00 kthread
       12 root      10  -5     0    0    0 S    0  0.0   0:00.00 kblockd/0
       13 root      10  -5     0    0    0 S    0  0.0   0:00.00 kblockd/1
       14 root      14  -5     0    0    0 S    0  0.0   0:00.00 kacpid
      105 root      10  -5     0    0    0 S    0  0.0   0:00.00 khubd
      143 root      15   0     0    0    0 S    0  0.0   0:00.14 pdflush
      144 root      15   0     0    0    0 S    0  0.0   0:00.00 pdflush
  • Hi,


    v7, a/v, IPS, IM/P2P, cache, painfully slow


    can you try if 7.090 improves caching for you? There were several changes that should improve caching. If 7.090 is still slow on your box, is it possible to get access to that box, and a time window where we can enable caching, so we can get an idea why it is so slow?

    Cheers,

    Sven.
Reply
  • Hi,


    v7, a/v, IPS, IM/P2P, cache, painfully slow


    can you try if 7.090 improves caching for you? There were several changes that should improve caching. If 7.090 is still slow on your box, is it possible to get access to that box, and a time window where we can enable caching, so we can get an idea why it is so slow?

    Cheers,

    Sven.
Children
Share Feedback
×

Submitted a Tech Support Case lately from the Support Portal?