Hi,
# Sorry bothering you.
That's Ok :-)
# I ran into a problem trying to run Squi beta 9 in a FreeBSD2.1R box.
Have beta7 in production usage -- no problems yet.
I'd probably check what's new in beta9 and is it worth
to do upgrade. (BTW your daemon reports it's beta8).
# Maybe you have already saw the same problem, and can help me. I tried to
# subscribe to the Squid list but until now no answer.
Strange. I didn't see your post on the Squid list, I'm
here too.
# The problem is that squid do not accept any queries that I direct to him. I'm
# running netscape in another box and I have set the proxy address of the
# machine running Squid. I just want to run an http accelerator. It always
# replies:
# Acess Denied. You're not allowed to request ... from this cache .... I set
# the acl all src 0.0.0.0/0.0.0.0 and http access allow all. But I think the
# problem is not in the squid.conf file. That's the readout from cache.log:
I had something similar until I did a proper configuration
in a squid.conf. Never saw that since.
Are you _really_ sure that you want "accelerator" mode not
proxy mode? It seems to me that accelerator mode is to
take some load off your own (overloaded) HTTP server.
# [25/May/1996:13:40:35 -0300] main.c:233: Starting Squid Cache (version
# 1.0.beta8)...
# [25/May/1996:13:40:35 -0300] main.c:234: With 256 file descriptors available
# [25/May/1996:13:40:35 -0300] ipcache.c:95: Performing DNS Tests...
# [25/May/1996:13:40:35 -0300] ipcache.c:1168: Successful DNS name lookup
# tests...
# [25/May/1996:13:40:35 -0300] ipcache.c:1100: ipcacheOpenServers: Starting 5
# 'dns_server' processes
# [25/May/1996:13:40:35 -0300] neighbors.c:732: neighbors_init: Initializing
# Neighbors...
# [25/May/1996:13:40:35 -0300] filemap.c:36: file_map_create: creating space
# for 2097152 files
# [25/May/1996:13:40:35 -0300] store.c:1459: Rebuilding storage from disk
# image in /usr/local/squid/cache
# [25/May/1996:13:40:36 -0300] store.c:1492: Rebuilding in FAST MODE.
# [25/May/1996:13:40:36 -0300] main.c:140: Accepting HTTP (ASCII) connections
# on FD 16.
# [25/May/1996:13:40:36 -0300] main.c:276: Ready to serve requests.
# [25/May/1996:13:40:36 -0300] store.c:1416: Finished rebuilding storage from
# disk image.
# [25/May/1996:13:40:36 -0300] store.c:1417: 0 Lines read from
# previous logfile.
# [25/May/1996:13:40:36 -0300] store.c:1418: 0 Objects loaded.
# [25/May/1996:13:40:36 -0300] store.c:1419: 0 Objects expired.
# [25/May/1996:13:40:36 -0300] store.c:1420: 0 Duplicate URLs purged.
# [25/May/1996:13:40:36 -0300] store.c:1421: 0 Swapfile clashes avoided.
# [25/May/1996:13:40:36 -0300] store.c:1422: Took 0 seconds ( 0.0
# objects/sec).
# [25/May/1996:13:40:36 -0300] store.c:1424: store_swap_size = 0k
#
# The problem starts here:
#
# [25/May/1996:13:41:57 -0300] tools.c:173: Preparing for shutdown after 1
# connections
# [25/May/1996:13:41:57 -0300] main.c:166: FD 16 Closing Ascii connection
# [25/May/1996:13:41:58 -0300] comm.c:689: comm_select: select failure: (9)
# Bad file descriptor ^^^^^^^^^^^^^^^^
# ^^^^^^^^^^^^^^^^^^^^ Something wrong here, but I don't know what is.
I have seen this messages even today; they seem to be harmless. (?)
Just an attempt to close a socket already closed by client,
I think. (I never went too deep into the code)
# [25/May/1996:13:41:58 -0300] comm.c:1020: examine_select: Examining open
# file descriptors...
# [25/May/1996:13:41:58 -0300] comm.c:1033: WARNING: FD 12 has handlers, but
# it's invalid. ^^^^^^^^^^^^^^^^^^^^
# ^^^^^^^^^^^^^^^^^^
# and keeps repeating...
See above.
For me, this messages dissapear after a successful restart.
# [25/May/1996:13:41:58 -0300] comm.c:1034: lifetm:0x0 tmout:0x0 read:0xdeb0
# write:0x0 expt:0x0
# [25/May/1996:13:41:58 -0300] comm.c:1062: examine_select: Finished
# examining open file descriptors.
# [25/May/1996:13:41:58 -0300] main.c:359: Select loop Error. Retry 1
# [25/May/1996:13:41:58 -0300] ipcache.c:913: ipcache_dnsHandleRead:
# Connection from DNSSERVER is closed.
# [25/May/1996:13:41:58 -0300] ipcache.c:914:
# Disabling this server ID 0.
# [25/May/1996:13:41:58 -0300] disk.c:295: diskHandleWrite: disk write error
# (9) Bad file descriptor
^^^ THIS one is much more interesting... I have no idea what does it
mean really.
# [25/May/1996:13:41:58 -0300] ipcache.c:913: ipcache_dnsHandleRead:
# Connection from DNSSERVER is closed.
# [25/May/1996:13:41:58 -0300] ipcache.c:914:
# Disabling this server ID 1.
# [25/May/1996:13:41:58 -0300] disk.c:295: diskHandleWrite: disk write error
# (9) Bad file descriptor
# [25/May/1996:13:41:58 -0300] ipcache.c:913: ipcache_dnsHandleRead:
# Connection from DNSSERVER is closed.
# [25/May/1996:13:41:58 -0300] ipcache.c:914:
# Disabling this server ID 2.
# [25/May/1996:13:41:58 -0300] disk.c:295: diskHandleWrite: disk write error
# (9) Bad file descriptor
# [25/May/1996:13:41:58 -0300] ipcache.c:913: ipcache_dnsHandleRead:
# Connection from DNSSERVER is closed.
# [25/May/1996:13:41:58 -0300] ipcache.c:914:
# Disabling this server ID 3.
# [25/May/1996:13:41:58 -0300] disk.c:295: diskHandleWrite: disk write error
# (9) Bad file descriptor
# [25/May/1996:13:41:58 -0300] ipcache.c:913: ipcache_dnsHandleRead:
# Connection from DNSSERVER is closed.
# [25/May/1996:13:41:58 -0300] ipcache.c:914:
# Disabling this server ID 4.
# [25/May/1996:13:41:58 -0300] disk.c:295: diskHandleWrite: disk write error
# (9) Bad file descriptor
# [25/May/1996:13:41:58 -0300] tools.c:155: Shutting down...
# [25/May/1996:13:41:58 -0300] store.c:2635: storeWriteCleanLog: Starting...
# [25/May/1996:13:41:58 -0300] store.c:2681: Finished. Wrote 0 lines.
# [25/May/1996:13:41:58 -0300] store.c:2682: Took 0 seconds ( 0.0 lines/sec).
# CPU Usage: user 0 sys 0
# Memory Usage: rss 5865 KB
# Page faults with physical i/o: 0
# [25/May/1996:13:41:58 -0300] tools.c:163: Squid Cache (Version 1.0.beta8):
# Exiting normally.
#
# Thanks for any help !
# regards,
# Helio.
#
-- With best regards -- Andrew Stesin. +380 (44) 2760188 +380 (44) 2713457 +380 (44) 2713560 "You may delegate authority, but not responsibility." Frank's Management Rule #1.Received on Mon May 27 1996 - 10:13:42 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:32:26 MST