[SQU] Tunning Diskd (squid 2.4) + Solaris 7 (Aaaarghh! :-)

From: BERTOLI Javier E. <jbertoli@dont-contact.us>
Date: Thu, 4 Jan 2001 16:48:54 +0300 (GMT)

Hi all;

        First thing (and important :-): Happy new year for you all!

        Now to business. I have the following scenario:

        Server: Sun SPARC Ultra10
                512MB RAM
                4 x 18 GB SCSI disks for cache (each one assigned an
individual cache_dir entry)
                SO: Solaris 7

        I'm currently running squid 2.4 using AsyncIO, but I think that
using diskd should be better, as I've read previously in the list that
squid would run a diskd process for each cache_dir entry, distributing the
disk IO operations better. Am I right up to this point? :-)

        Well. The point is that when I change the squid.conf entries to
use diskd instead of aufs, I get these errors in my logs:

        2001/01/04 15:22:48| storeDiskdSend: msgsnd: (22) Invalid argument
2001/01/04 15:22:48| storeDiskdSend OPEN: (22) Invalid argument
2001/01/04 15:22:48| storeDiskdSend: msgsnd: (22) Invalid argument
2001/01/04 15:22:48| storeDiskdSend OPEN: (22) Invalid argument
2001/01/04 15:22:51| storeDiskdSend: msgsnd: (22) Invalid argument

        I don't see any diskd process running, and squid dies repeatedly.
Searching in the mailing-list archive, I guess that it should be a shared
memory configuration problem, but I can't figure out which parameter is
wrong.

        Is there any kind soul that would like to help me? :-)

        Here is my /etc/system:

set semsys:seminfo_semmap=64
set semsys:seminfo_semmni=4096
set semsys:seminfo_semmns=4096
set semsys:seminfo_semmnu=4096
set semsys:seminfo_semume=64
set semsys:seminfo_semmsl=100
 
set shmsys:shminfo_shmmax=536870912
set shmsys:shminfo_shmmin=1
set shmsys:shminfo_shmmni=4096
set shmsys:shminfo_shmseg=32767
 
set msgsys:msginfo_msgmap=8192
set msgsys:msginfo_msgmax=8192
set msgsys:msginfo_msgmnb=1048576
set msgsys:msginfo_msgmni=256
set msgsys:msginfo_msgssz=64
set msgsys:msginfo_msgtql=1024

        
        Any clue will be welcome.

        Thanks in advance.
                
        Saludos

                                        Javier

/* ---------------------------------------------------------------------- */
         Javier E. Bértoli | Centro de Telemática
                                  | Universidad Nacional del Litoral
              jbertoli@unl.edu.ar | Santa Fe - Argentina
/* ---------------------------------------------------------------------- */
  There are two kinds of people: those who do the work and those who take
the credit. Try to be in the first group; there is less competition there.
                                                                Indira Gandhi

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Thu Jan 04 2001 - 13:35:05 MST

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