Hi,
i am using squid-2.7.STABLE7p0-snmp on openBSD 4.7.
I get every time the message:
[CODE]2010/07/05 18:04:27| storeSwapOutFileClosed: dirno 0, swapfile
0000008D, errflag=-1
(1) Operation not permitted
2010/07/05 18:04:27| storeSwapOutFileClosed: dirno 0, swapfile 0000008E,
errflag=-1
(9) Bad file descriptor
[/CODE]
I am testing:
Kernel option:
option MSGMNB=16384 # max characters per message queue
option MSGMNI=40 # max number of message queue identifiers
option MSGSEG=2048 # max number of message segments in the
system
option MSGSSZ=64 # size of a message segment (Must be 2^N)
option MSGTQL=1024 # max amount of messages in the system
sysctl:
kern.maxfiles=32768
kern.maxclusters=65535 #Default 6144
kern.maxvnodes=8192 #Default 1310
login.conf:
openfiles-cur=16384
All not work. ;/
squid conf:
acl all src all
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8 0.0.0.0/32
acl localnet src 192.168.0.0/16 # RFC1918 possible internal network
acl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
redirector_bypass on
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localnet
http_access deny all
icp_access allow localnet
icp_access deny all
http_port 3128 transparent
hierarchy_stoplist cgi-bin ?
cache_mem 256 MB
cache_dir diskd /var/squid/cache 51200 64 256
access_log /var/squid/logs/access.log squid
logfile_rotate 10
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern . 0 20% 4320
acl shoutcast rep_header X-HTTP09-First-Line ^ICY.[0-9]
upgrade_http0.9 deny shoutcast
acl apache rep_header Server ^Apache
broken_vary_encoding allow apache
header_access From deny all
header_access Referer deny all
header_access Server deny all
header_access WWW-Authenticate deny all
header_access Link deny all
always_direct allow all
forwarded_for off
coredump_dir /var/squid/cache
Please help.
Your sincerly,
Robert
Received on Tue Jul 06 2010 - 19:36:01 MDT
This archive was generated by hypermail 2.2.0 : Wed Jul 07 2010 - 12:00:13 MDT