Search squid archive

comm_select: select failure: (22) Invalid argument

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I recently installed a pre-compiled version (OpenCSW package) of squid
(2.7.STABLE9) on solaris 10.
First I tried running the squid with the default OS file descriptor
limit (256) but it turned out that this limit was set far to low.

So I changed the limit to 4096 and after the restart and some traffic
coming in I got this error:
2012/08/23 22:04:57| comm_select: select failure: (22) Invalid argument
2012/08/23 22:04:57| Select loop Error. Retry 1
2012/08/23 22:04:57| comm_select: select failure: (22) Invalid argument
2012/08/23 22:04:57| Select loop Error. Retry 2
2012/08/23 22:04:57| comm_select: select failure: (22) Invalid argument
2012/08/23 22:04:57| Select loop Error. Retry 3
2012/08/23 22:04:57| comm_select: select failure: (22) Invalid argument
2012/08/23 22:04:57| Select loop Error. Retry 4
2012/08/23 22:04:57| comm_select: select failure: (22) Invalid argument
2012/08/23 22:04:57| Select loop Error. Retry 5
2012/08/23 22:04:57| comm_select: select failure: (22) Invalid argument
2012/08/23 22:04:57| Select loop Error. Retry 6
2012/08/23 22:04:57| comm_select: select failure: (22) Invalid argument
2012/08/23 22:04:57| Select loop Error. Retry 7
2012/08/23 22:04:57| comm_select: select failure: (22) Invalid argument
2012/08/23 22:04:57| Select loop Error. Retry 8
2012/08/23 22:04:57| comm_select: select failure: (22) Invalid argument
2012/08/23 22:04:57| Select loop Error. Retry 9
2012/08/23 22:04:57| comm_select: select failure: (22) Invalid argument
2012/08/23 22:04:57| Select loop Error. Retry 10
FATAL: Select Loop failed!
Squid Cache (Version 2.7.STABLE9): Terminated abnormally.

If I set the limit to 1024 the squid does not terminate but it becomes
very slow when the traffic kicks in...

I noticed some posts regarding the limitation of select() on Solaris
which won't handle more than 1024 FD.

So, I'm wondering, is there any way to set more then 1024 FD in
Solaris 10 to be used by the Squid?
If not, is there any way at all to get a high performance squid to be
used by a few thousand of users on Solaris 10?

Thanks.

Regards,
Uros.


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux