Re: [squid-users] Squid 64Bits ?

From: Hederson <hederson.ramos@dont-contact.us>
Date: Thu, 21 Jun 2001 12:47:50 -0300

Hi Henrik,
  Thanks, I understand now.

   I have a big problem with filedescriptors in sun E4000.
   I am being crazy..., I changed in the system the parameters below:

set rlim_fd_cur=65535
set rlim_fd_max=65535

  But the squid does not recognizes more than 32768 filedescriptors...

  I changed the parameter #define FD_SETSIZE of 1024 to 65535 in the
file /usr/include/sys/select.c

  Before I changed parameter in the file autoconf.h in /include of the
squid :

of
  /* Maximum number of open filedescriptors */
  #define SQUID_MAXFD 32768

to
 
  /* Maximum number of open filedescriptors */
  #define SQUID_MAXFD 65532

  I compiled and when squid started initiated, it presented 65532, but
the erros still they continue... see log file below:

2001/06/21 12:18:29| Process ID 11674
2001/06/21 12:18:29| With 65532 file descriptors available
2001/06/21 12:18:29| DNS Socket created on FD 4
2001/06/21 12:18:29| Adding nameserver 127.0.0.1 from squid.conf
2001/06/21 12:18:30| Starting Squid Cache version 2.4.STABLE1 for
sparc-sun-solaris2.8...
....
....

2001/06/21 12:24:27| comm_accept: FD 74: (130) Software caused
connection abort
2001/06/21 12:24:27| httpAccept: FD 74: accept failure: (130) Software
caused connection abort
2001/06/21 12:24:35| comm_accept: FD 74: (130) Software caused
connection abort
2001/06/21 12:24:35| httpAccept: FD 74: accept failure: (130) Software
caused connection abort
2001/06/21 12:24:58| comm_accept: FD 74: (130) Software caused
connection abort
2001/06/21 12:24:58| httpAccept: FD 74: accept failure: (130) Software
caused connection abort
....
....

  Note: I applied all the recommendations of the FAQ for solaris, but I
did not get success.

  I dont know solve this problem.
   I thank any help.....

Thanks in advance

Best Regards

_______________________________________
 Hederson Velasco Ramos
 Technology Consultant
 EI - Network Services
 Email: hederson.ramos@edb.ericsson.se

Henrik Nordstrom wrote:

> Hederson wrote:
>
>> Hi all,
>>
>> Is possible compile squid 2.4 in 64 Bits architecture (using egcs -m64
>> in sun solaris 8) ?
>
>
> Should work, except for a few annoyances in cachemgr where values may be
> printed wrongly.
>
> One issue thou: Squid will use quite a bit more memory on 64 bit
> architectures than 32 bit ones, and as it is rarely limited by the CPU
> compiling for 64 bits may be a waste of resources.
>
> --
> Henrik Nordstrom
> Squid Hacker
> MARA Systems
>

-- 
Received on Thu Jun 21 2001 - 09:48:53 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:00:49 MST