Есть сервер FreeBSD 7.0 c апгрейдом портов... Установлен apache22 + squd 2.7 + статистика...
Сервер работает в интернет-кафе... 21 компутер... Переодически слетает сам процесс squid... Проверяю через ps ax... помогает squid -D start!
как автоматизировать процес???
Вот мои конфиги:
-----------------------------------
/etc/rc.confgateway_enable="YES"
fsck_y_enable="YES"
background_fsck="NO"
inetd_enable="YES"
keymap="ru.koi8-r"
sshd_enable="YES"
apache22_enable="YES"
mysql_enable="YES"
snmpd_enable="YES"
mysql_enable="YES"
squid_enable="YES"
firewall_enable="YES"
firewall_script="/etc/firewall.conf"
ifconfig_rl2="inet 217.146.246.21/30"
ifconfig_rl1="inet 192.168.0.101 netmask 255.255.255.0"
ifconfig_rl0="DHCP"
hostname="yurchello.dhcp.matrix.private"
ppp_enable="YES"
ppp_mode="ddial"
ppp_nat="YES"
ppp_profile="vpn"
natd_enable="YES"
natd_interface="rl0"
natd_flags=""
linux_enable="YES"
trafd_enable="YES"
trafd_ifaces="rl0 rl1"
trafd_flags=""
trafd_log="/var/log/trafd.log"
/etc/rc.local
/usr/local/etc/rc.d/squid restart
route delete default
route add 10.128.4.0/24 10.0.31.1
route add 10/8 10.0.31.1
/ect/firewall.conf
/sbin/ipfw -f flush
/sbin/ipfw add fwd 127.0.0.1,3128 tcp from 192.168.0.0/24 to any 80 via rl1
/sbin/ipfw add divert natd all from 192.168.0.0/24 to any out via rl0
/sbin/ipfw add divert natd all from any to any in via rl0
/sbin/ipfw add allow ip from any to any
/usr/local/etc/squid/squid.conf
http_port 3128
icp_port 0
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 256 MB
maximum_object_size 8092 KB
maximum_object_size_in_memory 512 KB
minimum_object_size 0 KB
cache_swap_high 95
cache_swap_low 90
cache_dir ufs /usr/local/squid/cache 2048 64 256
cache_access_log /usr/local/squid/logs/access.log
cache_log /usr/local/squid/logs/cache.log
cache_store_log /usr/local/squid/logs/store.log
cache_mgr admin@my_domain.ru
visible_hostname mail.my_domain.ru
tcp_outgoing_address 192.168.0.101
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
acl all src 0.0.0.0/0.0.0.0
acl download urlpath_regex -i \.rm$ \.wma$ \.viv \.mpg$ \.asf$ \.mp2$ \.mp3$ \.mp4$ \.mpeg$ \.mov$ \.wav$ \.avi$ \.swf$ \.wmv$ \.iso$ \.tgz$ \.bz2$ \.exe$ \.rar$ \.zip$ \.gz$ \.rpm$
acl fulldown dstdomain .matrix.farlep.net
delay_pools 1
delay_class 1 1
delay_access 1 allow all download !fulldown
delay_parameters 1 32000/16000
acl allowed_sites dstdomain "/usr/local/my_doc_smb/squid/allowed_sites.conf"
acl limited_IP src "/usr/local/my_doc_smb/squid/limited_IP.conf"
acl denied_sites dstdomain "/usr/local/my_doc_smb/squid/denied_ext.conf"
acl localhost src 127.0.0.0/8
acl our_networks src 192.168.0.0/24
http_access deny denied_sites
http_access allow allowed_sites
http_access deny limited_IP
http_access allow our_networks
http_access allow localhost
http_access deny all
http_port 127.0.0.1:3128 transparent
coredump_dir /usr/local/squid/cache
pid_filename /usr/local/squid/logs/squid.pid
В чем может быть ботва????