Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Squid memory

I keep getting E-Mails about squid taking up to much memory.  I know the work around (rm -rf /var/chroot-squid/cache) or something another.  But when is this going to be fixed?

Also, I'd like squid to take up more RAM then it currently is (system is running with 1gb ram).  I was hoping to use more ram cache, but afraid I'll just get more errors.  Is there a way to set the error level of the software higher?


This thread was automatically locked due to age.
Parents
  • well, first things first, memory is RAM, RAM is memory... if you are referring to the size of the squid cache, that is hard drive space,
    not memory... to set the size of the cache, edit:
     
    /var/chroot-sqiuid/etc/squid.conf-default

    and change the cache_dir line to suit your needs... 

    as for how much RAM/Memory it is using, you shouldnt have to tell it to use more, as it will use the amount of memory it needs to use to perform its duties... if it needs more, it will take it...
Reply
  • well, first things first, memory is RAM, RAM is memory... if you are referring to the size of the squid cache, that is hard drive space,
    not memory... to set the size of the cache, edit:
     
    /var/chroot-sqiuid/etc/squid.conf-default

    and change the cache_dir line to suit your needs... 

    as for how much RAM/Memory it is using, you shouldnt have to tell it to use more, as it will use the amount of memory it needs to use to perform its duties... if it needs more, it will take it...
Children
  • I don't think maybe I was clear the first time.  To put it easy, I keep getting this message:

    ALARM - to much memory for a single process:
    63136 kb for (squid) -sYD
    squid    30240  0.5  6.2 63136 56340 ?       S    May25  43:14 (squid) -sYD

    Astaro Security Linux  1.820


    How can I fix this, perminatly?  If I remove the squid cache directory, and restart squid, it goes away for a little bit (2-3 days or so), then comes right back and fills my E-Mail box up very quick.

    Eirik