Re: squid runs but client does not receive data

From: Dancer <dancer@dont-contact.us>
Date: Mon, 31 Jan 2000 03:06:00 +0000

The last line of the log is the problem:

    assertion failed: dns_internal.c:185: "nns > 0"

squid is aborting and dying, then (presumably) getting restarted.

Reconfigure and recompile, but try adding '--disable-internal-dns' to the list when you run configure again. Seems like the
internal dns code is dying.

D

Jinsong Zhao wrote:

> Thanks for replying my email regarding the squid question. I'm running
> the squid on Solaris 2.5. The conf file allows any one to access. Now
> I ran the command you gave me:
>
> telnet proxyhostname 3128
> GET http://www.yahoo.com HTTP/1.0
>
> And nothing happens except "Connection closed by foreign host". The
> portion of the log file is enclosed. Looks like there is an assertion
> failure and the squid was not working as expected? Any suggestions?
>
> Thanks a lot.
>
> Jinsong
> 2000/01/30 18:31:22| comm_poll: 1 FDs ready
> 2000/01/30 18:31:22| comm_poll: FD 15 ready for reading
> 2000/01/30 18:31:22| clientReadRequest: FD 15: reading request...
> 2000/01/30 18:31:22| commSetSelect: FD 15 type 1
> 2000/01/30 18:31:22| parseHttpRequest: Method is 'GET'
> 2000/01/30 18:31:22| parseHttpRequest: URI is 'http://www.yahoo.com'
> 2000/01/30 18:31:22| parseHttpRequest: req_hdr = {
> }
> 2000/01/30 18:31:22| parseHttpRequest: end = {}
> 2000/01/30 18:31:22| parseHttpRequest: prefix_sz = 37, req_line_sz = 35
> 2000/01/30 18:31:22| cbdataAdd: 3e5f90
> 2000/01/30 18:31:22| parseHttpRequest: Request Header is
>
> 2000/01/30 18:31:22| parseHttpRequest: Complete request received
> 2000/01/30 18:31:22| conn->in.offset = 0
> 2000/01/30 18:31:22| commSetTimeout: FD 15 timeout 86400
> 2000/01/30 18:31:22| init-ing hdr: 3b99bc owner: 1
> 2000/01/30 18:31:22| parsing hdr: (3b99bc)
>
> 2000/01/30 18:31:22| clientSetKeepaliveFlag: http_ver = 1.0
> 2000/01/30 18:31:22| clientSetKeepaliveFlag: method = GET
> 2000/01/30 18:31:22| 3b99bc lookup for 35
> 2000/01/30 18:31:22| 3b99bc lookup for 9
> 2000/01/30 18:31:22| cbdataAdd: 3e6298
> 2000/01/30 18:31:22| cbdataLock: 1ae040
> 2000/01/30 18:31:22| cbdataLock: 3e4c78
> 2000/01/30 18:31:22| cbdataLock: 3e5f90
> 2000/01/30 18:31:22| cbdataValid: 1ae040
> 2000/01/30 18:31:22| aclCheck: checking 'http_access allow all'
> 2000/01/30 18:31:22| aclMatchAclList: checking all
> 2000/01/30 18:31:22| aclMatchAcl: checking 'acl all src 0.0.0.0/0.0.0.0'
> 2000/01/30 18:31:22| aclMatchIp: '158.140.109.34' found
> 2000/01/30 18:31:22| aclMatchAclList: returning 1
> 2000/01/30 18:31:22| cbdataUnlock: 1ae040
> 2000/01/30 18:31:22| aclCheck: match found, returning 1
> 2000/01/30 18:31:22| aclCheckCallback: answer=1
> 2000/01/30 18:31:22| cbdataValid: 3e5f90
> 2000/01/30 18:31:22| The request GET http://www.yahoo.com is ALLOWED, because it matched 'all'
> 2000/01/30 18:31:22| redirectStart: 'http://www.yahoo.com'
> 2000/01/30 18:31:22| clientRedirectDone: 'http://www.yahoo.com' result=NULL
> 2000/01/30 18:31:22| 3b99bc lookup for 32
> 2000/01/30 18:31:22| 3b99bc lookup for 7
> 2000/01/30 18:31:22| 3b99bc lookup for 47
> 2000/01/30 18:31:22| clientInterpretRequestHeaders: REQ_NOCACHE = NOT SET
> 2000/01/30 18:31:22| clientInterpretRequestHeaders: REQ_CACHABLE = SET
> 2000/01/30 18:31:22| clientInterpretRequestHeaders: REQ_HIERARCHICAL = SET
> 2000/01/30 18:31:22| clientProcessRequest: GET 'http://www.yahoo.com'
> 2000/01/30 18:31:22| storeGet: looking up 61A8DB46F3F8032E7DFDFAD28F5D7361
> 2000/01/30 18:31:22| clientProcessRequest2: storeGet() MISS
> 2000/01/30 18:31:22| clientProcessRequest: TCP_MISS for 'http://www.yahoo.com'
> 2000/01/30 18:31:22| clientProcessMiss: 'GET http://www.yahoo.com'
> 2000/01/30 18:31:22| storeCreateEntry: 'http://www.yahoo.com'
> 2000/01/30 18:31:22| creating rep: 3e6368
> 2000/01/30 18:31:22| init-ing hdr: 3e63a0 owner: 2
> 2000/01/30 18:31:22| 3e63a0 lookup for 35
> 2000/01/30 18:31:22| 3e63a0 lookup for 9
> 2000/01/30 18:31:22| 3e63a0 lookup for 20
> 2000/01/30 18:31:22| new_MemObject: returning 3e4e70
> 2000/01/30 18:31:22| new_StoreEntry: returning 3e4e30
> 2000/01/30 18:31:22| storeKeyPrivate: GET http://www.yahoo.com
> 2000/01/30 18:31:22| storeHashInsert: Inserting Entry 3e4e30 key 'E052A2118394E886D10212C3DD09DF60'
> 2000/01/30 18:31:22| cbdataAdd: 3e63d8
> 2000/01/30 18:31:22| cbdataLock: 3e5f90
> 2000/01/30 18:31:22| storeClientCopy: E052A2118394E886D10212C3DD09DF60, seen 0, want 0, size 4096, cb 223d4, cbdata 3e5f90
> 2000/01/30 18:31:22| cbdataLock: 3e63d8
> 2000/01/30 18:31:22| storeClientCopy2: E052A2118394E886D10212C3DD09DF60
> 2000/01/30 18:31:22| storeClientCopy2: Waiting for more
> 2000/01/30 18:31:22| cbdataUnlock: 3e63d8
> 2000/01/30 18:31:22| aclCheckFast: list: 0
> 2000/01/30 18:31:22| aclCheckFast: no matches, returning: 1
> 2000/01/30 18:31:22| fwdStart: 'http://www.yahoo.com'
> 2000/01/30 18:31:22| cbdataAdd: 3e6410
> 2000/01/30 18:31:22| storeLockObject: key 'E052A2118394E886D10212C3DD09DF60' count=2
> 2000/01/30 18:31:22| peerSelect: http://www.yahoo.com
> 2000/01/30 18:31:22| cbdataAdd: 3e6440
> 2000/01/30 18:31:22| storeLockObject: key 'E052A2118394E886D10212C3DD09DF60' count=3
> 2000/01/30 18:31:22| cbdataLock: 3e6410
> 2000/01/30 18:31:22| peerSelectFoo: 'GET www.yahoo.com'
> 2000/01/30 18:31:22| peerSelectFoo: direct = DIRECT_MAYBE
> 2000/01/30 18:31:22| peerSelectIcpPing: http://www.yahoo.com
> 2000/01/30 18:31:22| neighborsCount: 0
> 2000/01/30 18:31:22| peerSelectIcpPing: counted 0 neighbors
> 2000/01/30 18:31:22| peerAddFwdServer: adding DIRECT DIRECT
> 2000/01/30 18:31:22| peerGetSomeParent: GET www.yahoo.com
> 2000/01/30 18:31:22| getDefaultParent: returning NULL
> 2000/01/30 18:31:22| getRoundRobinParent: returning NULL
> 2000/01/30 18:31:22| getFirstUpParent: returning NULL
> 2000/01/30 18:31:22| getAnyParent: returning NULL
> 2000/01/30 18:31:22| peerSelectCallback: http://www.yahoo.com
> 2000/01/30 18:31:22| cbdataValid: 3e6410
> 2000/01/30 18:31:22| fwdStartComplete: http://www.yahoo.com
> 2000/01/30 18:31:22| fwdConnectStart: http://www.yahoo.com
> 2000/01/30 18:31:22| comm_open: FD 16 is a new socket
> 2000/01/30 18:31:22| fd_open FD 16 http://www.yahoo.com
> 2000/01/30 18:31:22| comm_add_close_handler: FD 16, handler=2cb2c, data=3e6410
> 2000/01/30 18:31:22| cbdataLock: 3e6410
> 2000/01/30 18:31:22| commSetTimeout: FD 16 timeout 120
> 2000/01/30 18:31:22| commConnectStart: FD 16, www.yahoo.com:80
> 2000/01/30 18:31:22| cbdataAdd: 3e6578
> 2000/01/30 18:31:22| cbdataLock: 3e6410
> 2000/01/30 18:31:22| comm_add_close_handler: FD 16, handler=25898, data=3e6578
> 2000/01/30 18:31:22| cbdataLock: 3e6578
> 2000/01/30 18:31:22| ipcache_nbgethostbyname: Name 'www.yahoo.com'.
> 2000/01/30 18:31:22| ipcache_nbgethostbyname: MISS for 'www.yahoo.com'
> 2000/01/30 18:31:22| cbdataLock: 3e6578
> 2000/01/30 18:31:22| cbdataAdd: 3c40b8
> 2000/01/30 18:31:22| idnsALookup: buf is 31 bytes for www.yahoo.com, id = 0x2
> 2000/01/30 18:31:22| cbdataLock: 3c40b8
> 2000/01/30 18:31:22| assertion failed: dns_internal.c:185: "nns > 0"
Received on Sun Jan 30 2000 - 20:15:28 MST

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