Re: [squid-users] Cache problem- should i remove the cache In doing so will it be recrated once gain ?

From: pedro noticioso <cucnews_at_yahoo.com>
Date: Wed, 10 Sep 2008 10:35:56 -0700 (PDT)

add more disk space

for example, in my case I add hd 3 months ago, /dev/sde

step 1
format /dev/sde1

step 2
STOP SQUID CACHE!

step 3
MAKE SURE YOU DID STOP SQUID CACHE!

step 4
mount new disk
mkdir /tmp
mount /dev/sde1 /tmp

step 5
move all /var data to new disk
mv /var/* /tmp

step 5
add this line in /etc/fstab:

/dev/sde1 /var ext3 defaults,errors=remount-ro 0 1

step 6
run mount or reboot server, whatever you want, this will permanently mount /var on /dev/sde1

to see results, just type mount and one of the lines will look like this:

/dev/sde1 on /var type ext3 (rw,errors=remount-ro)

or, flush cache and configure squid to a smaller squid size, but I would definitelly add more disk :D

--- On Wed, 9/10/08, jmaan_at_nits.ac.in <jmaan_at_nits.ac.in> wrote:

> From: jmaan_at_nits.ac.in <jmaan_at_nits.ac.in>
> Subject: [squid-users] Cache problem- should i remove the cache In doing so will it be recrated once gain ?
> To: squid-users_at_squid-cache.org
> Date: Wednesday, September 10, 2008, 4:53 PM
> *************************************************
> This message has been scanned by IMSS NIT-Silchar
>
>
> Dear ALL SQUID USERS,
>
>
> I am not an expert in squid. However I have observed that
> in my squid
> cache (proxy server) used for students to surf the internet
> shows very
> little space in the /var partition. It is alwayz almost
> 93%. That makes
> the squid server diffcult to run too at times.
>
> May I know from you all how to resolve this problem
> permanently ?
>
> Should I delete the squid directory to remove the present
> cache to remove
> the cache stored in the /var partition. or will it hamper
> my proxy server
> ?
>
>
> Do give some pointers ? I have definite;y did my home work
> but then I a
> new to squid, in no case I would like to re-work in
> installing and
> re-configuring the squid ?
>
>
> Thanking you all, in advance,
>
> jmaan
>
> Thanks & Regards
> Jyotishmaan Ray
> Computer Center,NITS
> National Institute of Technology Silchar
> Assam, INDIA
> Pin - 788 010
> Tele: 0091-3842-233179
> Fax: 0091-3842-233797
> Mobile: 09435554598
> URL: http://www.nits.ac.in

      
Received on Wed Sep 10 2008 - 17:36:04 MDT

This archive was generated by hypermail 2.2.0 : Wed Sep 10 2008 - 12:00:03 MDT