Re: [squid-users] select loop fails in QNX6.1

From: Henrik Nordström <>
Date: Tue, 20 Nov 2001 13:49:15 +0100

Good question. A first step is to figure out what handles the invalid
filedescriptor has.

The select() call most likely fails because of Squid including a "invalid"
filedescriptor in the select set.

Start Squid from a debugger, put a breakpoint on the message, and then print
the contents of fd_table[number]

You can also try lowering the optimization level of your compiler, but I have
not seen errors like this caused by broken compilers...

Henrik Nordström
Sqdui Hacker

On Saturday 03 November 2001 06.29, Swaroop K wrote:
> Hello,
> I am trying to get squid working on a QNX 6.1 box.
> I had it working on a QNX6.0 box.
> Now, I have compiled squid. When I try to run it,
> I run into a problem.
> I have also used squid -z to create swap directories.
> I am using squid-2.4
> The cache.log file gets bloated in size.
> The cache.log file gets filled with such messages.
> WARNING: FD <number> has handles, but it is invalid
> FD <number> is a None called ''
> tmout:0 read:0 write:0
> here <number> ranges till 999.
> Then I see this message at the end:
> Select loop Error, Retry 10
> FATAL:Select loop failed!
> I have seen that the problem is with comm_select()
> function in the comm_select.c file. The select call
> fails! It fails for all file descriptors. squid was
> working perfectly on QNX6.0. Can anybody help me with
> this? Is there anything that I can do to get it
> working
> on QNX6.1?
Received on Tue Nov 20 2001 - 05:48:48 MST

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