Re: Can I *not* have an on-disk cache?

From: Juan Carlos Castro y Castro <jcastro@dont-contact.us>
Date: Tue, 13 Jul 1999 20:14:41 -0300

The logs directory also has to be writable by user nobody. It wouldn't hurt to have them
both mode 775, owned by root, group nobody.

Steve Willer wrote:

> On Tue, 13 Jul 1999, Juan Carlos Castro y Castro wrote:
>
> > > What do you mean by "soft updates"? Other than that, it sounds like what
> > > I'm doing. 'squid -z' doesn't work for me (strange permission problems),
> >
> > Can you ls -l your squid dir for us? Also, which uid/gid squid runs under?
>
> Abridged version:
>
> [root@flamer spool]# ls -l
> total 47
> [...]
> drwxr-xr-x 18 nobody nobody 1024 Jul 13 14:27 cache
> [root@flamer spool]# ls -l cache
> total 11728
> drwxr-xr-x 258 nobody nobody 4096 Jul 7 20:37 00
> drwxr-xr-x 258 nobody nobody 4096 Jul 7 20:37 01
> drwxr-xr-x 258 nobody nobody 4096 Jul 7 20:37 02
> drwxr-xr-x 258 nobody nobody 4096 Jul 7 20:37 03
> drwxr-xr-x 258 nobody nobody 4096 Jul 7 20:37 04
> drwxr-xr-x 258 nobody nobody 4096 Jul 7 20:37 05
> drwxr-xr-x 258 nobody nobody 4096 Jul 7 20:37 06
> drwxr-xr-x 258 nobody nobody 4096 Jul 7 20:37 07
> drwxr-xr-x 258 nobody nobody 4096 Jul 7 20:37 08
> drwxr-xr-x 258 nobody nobody 4096 Jul 7 20:37 09
> drwxr-xr-x 258 nobody nobody 4096 Jul 7 20:38 0A
> drwxr-xr-x 258 nobody nobody 4096 Jul 7 20:38 0B
> drwxr-xr-x 258 nobody nobody 4096 Jul 7 20:38 0C
> drwxr-xr-x 258 nobody nobody 4096 Jul 7 20:38 0D
> drwxr-xr-x 258 nobody nobody 4096 Jul 7 20:38 0E
> drwxr-xr-x 258 nobody nobody 4096 Jul 7 20:38 0F
> -rw-r--r-- 1 nobody nobody 11830878 Jul 13 18:43 log
> -rw-r--r-- 1 nobody nobody 61691 Jul 12 20:16 log.old
> -rw-r--r-- 1 nobody nobody 165 Jul 13 18:28 netdb_state
>
> [root@flamer spool]# ps axuw |grep squid |grep -v rdir
> nobody 28703 68.6 17.1 89648 88544 ? R 14:26 175:56 /usr/local/squid/bin/squid -D
>
> > I purge the logs with this little thingie on the crontab (my rotate level is 8):
> >
> > 0 4 1,5,9,13,17,21,25,29 * * /usr/local/squid/bin/squid -k rotate
>
> I don't think the cache_swap_log (which is what I'm talking about)
> rotates.

Received on Tue Jul 13 1999 - 16:54:40 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:47:23 MST