Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Squid.conf, url_rewrite_children - "самопроизвольно" сбрасывается.

    Scheduled Pinned Locked Moved Russian
    4 Posts 2 Posters 728 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P Offline
      pbx
      last edited by

      Имеется 2.1.4-RELEASE (i386), пыхтящая на старом железе: Celeron 2.2 (478) + 2Gb.

      Трудилась она долго и исправно, до установки openVPN и увеличения общего кол-ва пользователей где-то до 80.

      Проблема в трех словах: при недоступности основного шлюза apinger начинает паниковать, а openVPN, в свою очередь инициирует рестарт всех пакетов (по несколько раз).
      Как результат машинку с pfsense начинает "колбасить" минут по 10-15 (загрузка процессора 100%).

      В конце концов все сервисы вроде-бы как стартуют нормально, но сквид находится в полумертвом состоянии. При попытке открыть страничку получаем следующее сообщение:

      ОШИБКА
      
      Запрошенный URL не может быть доставлен.
      
      Во время доставки URL: http://yandex.ru/set/brand_main/8/?
      
      Произошла следующая ошибка:
      
      Невозможно переслать запрос в настоящий момент.
      Этот запрос не может быть переслан на сервер-источник либо на вышестоящий кэш-сервер. Наиболее вероятная причина ошибки:
      
      Администратор этого сервера запретил прямые соединения с серверами-источниками и
      Все вышестоящие кэш-сервера в текущий момент недоступны.
      
      Generated Thu, 22 Dec 2016 11:54:53 GMT by localhost (squid/2.7.STABLE9)
      

      И что самое важное, значение url_rewrite_children в squid.conf всегда равно 5. Хотя до рестарта было указано совсем другое значение.

      Чтобы "оживить" сквид, увеличиваю значение url_rewrite_children и делаю рестрат сквида. После того все отлично крутится-вертится до следующего падения шлюза.

      Значение url_rewrite_children менять пробовал и через веб морду и через putty в редакторе ee.
      Значение сохраняется. Все вроде бы нормально, перегружал машину - значение url_rewrite_children такое как нужно, но стоит openVPNу начать перезапуск всех пакетов, это значение всегда становится равно 5.

      Для начала хочу спросить / разобраться / понять откуда и почему сквид вытягивает значение равное 5 ???
      А потом уже по возможности постараться минимизировать последствия возникающие при недоступности основного шлюза.

      Что делал:
      Увеличил немного время для apinger`a - слегка полегчало.
      Пробовал играться галкой в State Killing on Gateway Failure - изменений не заметил.

      В прошу простить - много буков, и сумбура….

      часть логов:

      Dec 22 16:07:51 	apinger: ALARM: GW_WAN(xxx.xxx.xxx.xxx) *** loss ***
      Dec 22 16:11:54 	apinger: alarm canceled: GW_WAN(xxx.xxx.xxx.xxx) *** loss ***
      
      Dec 22 16:08:02 	check_reload_status: updating dyndns GW_WAN
      Dec 22 16:08:02 	check_reload_status: Restarting ipsec tunnels
      Dec 22 16:08:02 	check_reload_status: Restarting OpenVPN tunnels/interfaces
      Dec 22 16:08:02 	check_reload_status: Reloading filter
      Dec 22 16:08:20 	php: rc.openvpn: OpenVPN: One or more OpenVPN tunnel endpoints may have changed its IP. Reloading endpoints that may use GW_WAN.
      Dec 22 16:08:20 	php: rc.openvpn: OpenVPN: Resync server1 OpenVPN 1C Connection
      Dec 22 16:08:21 	kernel: ovpns1: link state changed to DOWN
      Dec 22 16:08:21 	check_reload_status: Reloading filter
      Dec 22 16:08:22 	check_reload_status: Reloading filter
      Dec 22 16:08:22 	php: rc.openvpn: OpenVPN: Resync server2 OVPN
      Dec 22 16:08:22 	kernel: ovpns2: link state changed to DOWN
      Dec 22 16:08:23 	kernel: ovpns1: link state changed to UP
      Dec 22 16:08:23 	check_reload_status: rc.newwanip starting ovpns1
      Dec 22 16:08:23 	kernel: ovpns2: link state changed to UP
      Dec 22 16:08:23 	check_reload_status: rc.newwanip starting ovpns2
      Dec 22 16:08:30 	php: rc.newwanip: rc.newwanip: Informational is starting ovpns1.
      Dec 22 16:08:30 	php: rc.newwanip: rc.newwanip: on (IP address: 192.168.82.1) (interface: []) (real interface: ovpns1).
      Dec 22 16:08:30 	php: rc.newwanip: pfSense package system has detected an ip change -> 192.168.82.1 ... Restarting packages.
      Dec 22 16:08:30 	check_reload_status: Starting packages
      Dec 22 16:08:30 	php: rc.newwanip: rc.newwanip: Informational is starting ovpns2.
      Dec 22 16:08:30 	php: rc.newwanip: rc.newwanip: on (IP address: 192.168.99.1) (interface: []) (real interface: ovpns2).
      Dec 22 16:08:30 	php: rc.newwanip: pfSense package system has detected an ip change -> 192.168.99.1 ... Restarting packages.
      Dec 22 16:08:30 	check_reload_status: Starting packages
      Dec 22 16:08:35 	php: rc.start_packages: Restarting/Starting all packages.
      Dec 22 16:08:36 	php: rc.start_packages: Restarting/Starting all packages.
      Dec 22 16:08:38 	php: rc.start_packages: The command '/usr/local/etc/rc.d/cron.sh stop' returned exit code '143', the output was 'Terminated'
      Dec 22 16:08:45 	php: rc.start_packages: Reloading Squid for configuration sync
      Dec 22 16:08:45 	php: rc.start_packages: Reloading Squid for configuration sync
      Dec 22 16:08:51 	check_reload_status: Reloading filter
      Dec 22 16:08:53 	check_reload_status: Reloading filter
      Dec 22 16:08:57 	php: rc.start_packages: Reloading Squid for configuration sync
      Dec 22 16:08:58 	php: rc.start_packages: Reloading Squid for configuration sync
      Dec 22 16:09:04 	check_reload_status: Reloading filter
      Dec 22 16:09:08 	check_reload_status: Reloading filter
      Dec 22 16:09:18 	php: rc.start_packages: Reloading Squid for configuration sync
      Dec 22 16:09:18 	php: rc.start_packages: Reloading Squid for configuration sync
      Dec 22 16:09:23 	check_reload_status: Reloading filter
      Dec 22 16:09:26 	check_reload_status: Reloading filter
      Dec 22 16:09:27 	php: rc.start_packages: Not calling package sync code for dependency squid of squid because some include files are missing.
      Dec 22 16:09:28 	php: rc.start_packages: Not calling package sync code for dependency squid of squid because some include files are missing.
      Dec 22 16:09:36 	php: rc.start_packages: Reloading Squid for configuration sync
      Dec 22 16:09:38 	php: rc.start_packages: Reloading Squid for configuration sync
      Dec 22 16:09:42 	check_reload_status: Reloading filter
      Dec 22 16:09:48 	check_reload_status: Reloading filter
      Dec 22 16:10:04 	php: rc.start_packages: Reloading Squid for configuration sync
      Dec 22 16:10:06 	php: rc.start_packages: Reloading Squid for configuration sync
      Dec 22 16:10:08 	check_reload_status: Reloading filter
      Dec 22 16:10:16 	check_reload_status: Reloading filter
      Dec 22 16:10:29 	php: rc.start_packages: Reloading Squid for configuration sync
      Dec 22 16:10:31 	php: rc.start_packages: Reloading Squid for configuration sync
      Dec 22 16:10:33 	check_reload_status: Reloading filter
      Dec 22 16:10:41 	check_reload_status: Reloading filter
      Dec 22 16:10:57 	php: rc.start_packages: Reloading Squid for configuration sync
      Dec 22 16:11:01 	check_reload_status: Reloading filter
      Dec 22 16:11:05 	php: rc.start_packages: Reloading Squid for configuration sync
      Dec 22 16:11:09 	php: rc.start_packages: The command '/usr/local/etc/rc.d/squid.sh stop' returned exit code '1', the output was ''
      Dec 22 16:11:12 	squid[58038]: Squid Parent: child process 58170 started
      Dec 22 16:11:12 	check_reload_status: Reloading filter
      Dec 22 16:11:19 	php: rc.start_packages: The command '/usr/local/etc/rc.d/squid.sh stop' returned exit code '1', the output was 'squid: ERROR: Could not send signal 15 to process 35664: (3) No such process'
      Dec 22 16:11:23 	squid[80547]: Squid Parent: child process 80684 started
      Dec 22 16:11:41 	check_reload_status: Syncing firewall
      Dec 22 16:11:51 	check_reload_status: Syncing firewall
      Dec 22 16:11:52 	php: rc.start_packages: Reloading Squid for configuration sync
      Dec 22 16:11:55 	check_reload_status: Reloading filter
      Dec 22 16:12:04 	check_reload_status: updating dyndns GW_WAN
      Dec 22 16:12:04 	check_reload_status: Restarting ipsec tunnels
      Dec 22 16:12:04 	check_reload_status: Restarting OpenVPN tunnels/interfaces
      Dec 22 16:12:04 	check_reload_status: Reloading filter
      Dec 22 16:12:05 	php: rc.start_packages: Reloading Squid for configuration sync
      Dec 22 16:12:13 	check_reload_status: Syncing firewall
      Dec 22 16:12:23 	php: rc.openvpn: OpenVPN: One or more OpenVPN tunnel endpoints may have changed its IP. Reloading endpoints that may use GW_WAN.
      Dec 22 16:12:23 	php: rc.openvpn: OpenVPN: Resync server1 OpenVPN 1C Connection
      Dec 22 16:12:26 	check_reload_status: Syncing firewall
      Dec 22 16:12:26 	kernel: ovpns1: link state changed to DOWN
      Dec 22 16:12:26 	check_reload_status: Reloading filter
      Dec 22 16:12:27 	php: rc.openvpn: OpenVPN: Resync server2 OVPN
      Dec 22 16:12:27 	check_reload_status: Reloading filter
      Dec 22 16:12:27 	kernel: ovpns2: link state changed to DOWN
      Dec 22 16:12:27 	kernel: ovpns1: link state changed to UP
      Dec 22 16:12:28 	check_reload_status: rc.newwanip starting ovpns1
      Dec 22 16:12:28 	kernel: ovpns2: link state changed to UP
      Dec 22 16:12:28 	check_reload_status: rc.newwanip starting ovpns2
      Dec 22 16:12:34 	check_reload_status: Syncing firewall
      Dec 22 16:12:44 	php: rc.start_packages: Starting HAVP
      Dec 22 16:12:49 	php: rc.newwanip: rc.newwanip: Informational is starting ovpns1.
      Dec 22 16:12:49 	php: rc.newwanip: rc.newwanip: on (IP address: 192.168.82.1) (interface: []) (real interface: ovpns1).
      Dec 22 16:12:49 	php: rc.newwanip: rc.newwanip: Informational is starting ovpns2.
      Dec 22 16:12:49 	php: rc.newwanip: rc.newwanip: on (IP address: 192.168.99.1) (interface: []) (real interface: ovpns2).
      Dec 22 16:12:51 	php: rc.newwanip: pfSense package system has detected an ip change -> 192.168.82.1 ... Restarting packages.
      Dec 22 16:12:51 	check_reload_status: Reloading filter
      Dec 22 16:12:51 	check_reload_status: Reloading filter
      Dec 22 16:12:51 	check_reload_status: Starting packages
      Dec 22 16:12:51 	php: rc.newwanip: pfSense package system has detected an ip change -> 192.168.99.1 ... Restarting packages.
      Dec 22 16:12:52 	check_reload_status: Starting packages
      Dec 22 16:12:52 	check_reload_status: Syncing firewall
      Dec 22 16:12:53 	squid[80684]: The url_rewriter helpers are crashing too rapidly, need help!
      Dec 22 16:12:53 	squid[80547]: Squid Parent: child process 80684 exited due to signal 6
      Dec 22 16:12:53 	kernel: pid 80684 (squid), uid 62: exited on signal 6
      Dec 22 16:12:56 	check_reload_status: Syncing firewall
      Dec 22 16:12:56 	squid[80547]: Squid Parent: child process 65305 started
      Dec 22 16:13:02 	php: rc.start_packages: Starting HAVP
      Dec 22 16:13:05 	php: rc.start_packages: Restarting/Starting all packages.
      Dec 22 16:13:06 	php: rc.start_packages: Restarting/Starting all packages.
      Dec 22 16:13:07 	php: rc.start_packages: Reloading Squid for configuration sync
      Dec 22 16:13:09 	php: rc.start_packages: The command '/usr/local/etc/rc.d/cron.sh stop' returned exit code '1', the output was ''
      Dec 22 16:13:09 	check_reload_status: Reloading filter
      Dec 22 16:13:14 	check_reload_status: Syncing firewall
      Dec 22 16:13:19 	php: rc.start_packages: Reloading Squid for configuration sync
      Dec 22 16:13:21 	check_reload_status: Reloading filter
      Dec 22 16:13:22 	php: rc.start_packages: Reloading Squid for configuration sync
      Dec 22 16:13:24 	check_reload_status: Reloading filter
      Dec 22 16:13:25 	php: rc.start_packages: Reloading Squid for configuration sync
      Dec 22 16:13:35 	check_reload_status: Syncing firewall
      Dec 22 16:13:38 	squid[65305]: Too many queued url_rewriter requests (13 on 5)
      Dec 22 16:13:38 	kernel: pid 65305 (squid), uid 62: exited on signal 6
      Dec 22 16:13:38 	squid[80547]: Squid Parent: child process 65305 exited due to signal 6
      Dec 22 16:13:41 	php: rc.start_packages: Reloading Squid for configuration sync
      Dec 22 16:13:41 	squid[80547]: Squid Parent: child process 65292 started
      Dec 22 16:13:41 	php: rc.start_packages: The command '/usr/pbi/squid-i386/sbin/squid -k reconfigure' returned exit code '1', the output was 'squid: ERROR: Could not send signal 1 to process 65305: (3) No such process'
      Dec 22 16:13:44 	php: rc.start_packages: Reloading Squid for configuration sync
      Dec 22 16:13:46 	check_reload_status: Syncing firewall
      Dec 22 16:13:59 	php: rc.start_packages: Reloading Squid for configuration sync
      Dec 22 16:14:02 	php: rc.start_packages: Not calling package sync code for dependency squid of squid because some include files are missing.
      Dec 22 16:14:05 	php: rc.start_packages: Reloading Squid for configuration sync
      Dec 22 16:14:08 	php: rc.start_packages: Not calling package sync code for dependency squid of squid because some include files are missing.
      Dec 22 16:14:15 	check_reload_status: Syncing firewall
      Dec 22 16:14:20 	php: rc.start_packages: Reloading Squid for configuration sync
      Dec 22 16:14:25 	check_reload_status: Syncing firewall
      Dec 22 16:14:28 	php: rc.start_packages: Reloading Squid for configuration sync
      Dec 22 16:14:41 	php: rc.start_packages: Reloading Squid for configuration sync
      Dec 22 16:14:44 	check_reload_status: Reloading filter
      Dec 22 16:14:48 	php: rc.start_packages: Reloading Squid for configuration sync
      Dec 22 16:14:54 	check_reload_status: Reloading filter
      Dec 22 16:15:00 	check_reload_status: Syncing firewall
      Dec 22 16:15:03 	php: rc.start_packages: Reloading Squid for configuration sync
      Dec 22 16:15:05 	check_reload_status: Reloading filter
      Dec 22 16:15:10 	check_reload_status: Syncing firewall
      Dec 22 16:15:12 	php: rc.start_packages: Reloading Squid for configuration sync
      Dec 22 16:15:14 	check_reload_status: Reloading filter
      Dec 22 16:15:21 	check_reload_status: Syncing firewall
      Dec 22 16:15:24 	php: rc.start_packages: Reloading Squid for configuration sync
      Dec 22 16:15:26 	check_reload_status: Reloading filter
      Dec 22 16:15:28 	php: rc.start_packages: Reloading Squid for configuration sync
      Dec 22 16:15:29 	check_reload_status: Reloading filter
      Dec 22 16:15:30 	squid[80547]: Squid Parent: child process 65292 exited due to signal 15
      Dec 22 16:15:30 	squid[80547]: Exiting due to unexpected forced shutdown
      Dec 22 16:15:32 	check_reload_status: Syncing firewall
      Dec 22 16:15:33 	php: rc.start_packages: The command '/usr/local/etc/rc.d/squid.sh stop' returned exit code '1', the output was ''
      Dec 22 16:15:35 	php: rc.start_packages: The command '/usr/local/etc/rc.d/squid.sh stop' returned exit code '1', the output was ''
      Dec 22 16:15:35 	squid[77156]: Squid Parent: child process 77657 started
      Dec 22 16:15:54 	check_reload_status: Syncing firewall
      Dec 22 16:16:06 	php: rc.start_packages: Reloading Squid for configuration sync
      Dec 22 16:16:08 	php: rc.start_packages: Reloading Squid for configuration sync
      Dec 22 16:16:09 	check_reload_status: Reloading filter
      Dec 22 16:16:11 	check_reload_status: Syncing firewall
      Dec 22 16:16:16 	check_reload_status: Reloading filter
      Dec 22 16:16:21 	check_reload_status: Syncing firewall
      Dec 22 16:16:21 	php: rc.start_packages: The command '/usr/local/etc/rc.d/bandwidthd.sh stop' returned exit code '1', the output was 'No matching processes were found'
      Dec 22 16:16:24 	bandwidthd: Monitoring subnet 192.168.0.0 with netmask 192.168.0.0
      Dec 22 16:16:24 	bandwidthd: Monitoring subnet 192.168.1.0 with netmask 192.168.1.0
      Dec 22 16:16:24 	bandwidthd: Monitoring subnet 192.168.82.0 with netmask 192.168.82.0
      Dec 22 16:16:24 	bandwidthd: Recovering from log.4.0.cdf
      Dec 22 16:16:26 	bandwidthd: Monitoring subnet 192.168.0.0 with netmask 192.168.0.0
      Dec 22 16:16:26 	bandwidthd: Monitoring subnet 192.168.1.0 with netmask 192.168.1.0
      Dec 22 16:16:26 	bandwidthd: Monitoring subnet 192.168.82.0 with netmask 192.168.82.0
      Dec 22 16:16:26 	bandwidthd: Recovering from log.4.0.cdf
      Dec 22 16:16:26 	bandwidthd: Recovering from log.1.2.cdf
      Dec 22 16:16:26 	bandwidthd: Recovering from log.2.1.cdf
      Dec 22 16:16:26 	bandwidthd: Recovering from log.3.0.cdf
      Dec 22 16:16:29 	bandwidthd: Finished recovering 18263 records
      Dec 22 16:16:29 	bandwidthd: Recovering from log.1.1.cdf
      Dec 22 16:16:31 	bandwidthd: Finished recovering 15994 records
      Dec 22 16:16:31 	bandwidthd: Recovering from log.1.0.cdf
      Dec 22 16:16:32 	bandwidthd: Finished recovering 9734 records
      Dec 22 16:16:32 	bandwidthd: Opening re0
      Dec 22 16:16:32 	bandwidthd: Packet Encoding: Ethernet
      Dec 22 16:16:32 	bandwidthd: Drawing initial graphs
      Dec 22 16:16:33 	bandwidthd: Finished recovering 52289 records
      Dec 22 16:16:33 	bandwidthd: Recovering from log.2.0.cdf
      Dec 22 16:16:40 	check_reload_status: Syncing firewall
      Dec 22 16:16:41 	php: rc.start_packages: The command '/usr/local/etc/rc.d/bandwidthd.sh stop' returned exit code '1', the output was 'No matching processes were found'
      Dec 22 16:16:43 	bandwidthd: Monitoring subnet 192.168.0.0 with netmask 192.168.0.0
      Dec 22 16:16:43 	bandwidthd: Monitoring subnet 192.168.1.0 with netmask 192.168.1.0
      Dec 22 16:16:43 	bandwidthd: Monitoring subnet 192.168.82.0 with netmask 192.168.82.0
      Dec 22 16:16:43 	bandwidthd: Recovering from log.3.0.cdf
      Dec 22 16:16:43 	bandwidthd: Recovering from log.1.2.cdf
      Dec 22 16:16:43 	bandwidthd: Recovering from log.4.0.cdf
      Dec 22 16:16:43 	bandwidthd: Recovering from log.2.1.cdf
      Dec 22 16:16:46 	bandwidthd: Monitoring subnet 192.168.0.0 with netmask 192.168.0.0
      Dec 22 16:16:46 	bandwidthd: Monitoring subnet 192.168.1.0 with netmask 192.168.1.0
      Dec 22 16:16:46 	bandwidthd: Monitoring subnet 192.168.82.0 with netmask 192.168.82.0
      Dec 22 16:16:46 	bandwidthd: Recovering from log.4.0.cdf
      Dec 22 16:16:46 	bandwidthd: Recovering from log.1.2.cdf
      Dec 22 16:16:46 	bandwidthd: Recovering from log.3.0.cdf
      Dec 22 16:16:46 	bandwidthd: Recovering from log.2.1.cdf
      Dec 22 16:16:49 	bandwidthd: Finished recovering 18263 records
      Dec 22 16:16:49 	bandwidthd: Recovering from log.1.1.cdf
      Dec 22 16:16:51 	check_reload_status: Syncing firewall
      Dec 22 16:16:52 	bandwidthd: Finished recovering 15994 records
      Dec 22 16:16:52 	bandwidthd: Recovering from log.1.0.cdf
      Dec 22 16:16:54 	bandwidthd: Finished recovering 9734 records
      Dec 22 16:16:54 	bandwidthd: Opening re0
      Dec 22 16:16:54 	bandwidthd: Packet Encoding: Ethernet
      Dec 22 16:16:54 	bandwidthd: Drawing initial graphs
      Dec 22 16:16:58 	check_reload_status: Syncing firewall
      Dec 22 16:17:05 	bandwidthd: Finished recovering 52289 records
      Dec 22 16:17:05 	bandwidthd: Recovering from log.2.0.cdf
      Dec 22 16:17:07 	squid[77657]: The url_rewriter helpers are crashing too rapidly, need help!
      Dec 22 16:17:07 	squid[77156]: Squid Parent: child process 77657 exited due to signal 6
      Dec 22 16:17:07 	kernel: pid 77657 (squid), uid 62: exited on signal 6
      Dec 22 16:17:07 	php: rc.start_packages: The command '/usr/bin/killall 'squidGuard'' returned exit code '1', the output was 'killall: warning: kill -TERM 97830: No such process'
      Dec 22 16:17:08 	bandwidthd: Finished recovering 9637 records
      Dec 22 16:17:08 	bandwidthd: Opening re0
      Dec 22 16:17:08 	bandwidthd: Packet Encoding: Ethernet
      Dec 22 16:17:08 	bandwidthd: Drawing initial graphs
      Dec 22 16:17:10 	squid[77156]: Squid Parent: child process 49636 started
      Dec 22 16:17:11 	php: rc.start_packages: Starting HAVP
      Dec 22 16:17:15 	php: rc.start_packages: Starting HAVP
      Dec 22 16:17:17 	bandwidthd: Finished recovering 110581 records
      Dec 22 16:17:17 	bandwidthd: Opening re0
      Dec 22 16:17:17 	bandwidthd: Packet Encoding: Ethernet
      Dec 22 16:17:17 	bandwidthd: Drawing initial graphs
      Dec 22 16:17:20 	bandwidthd: Finished recovering 126844 records
      Dec 22 16:17:20 	bandwidthd: Opening re0
      Dec 22 16:17:20 	bandwidthd: Packet Encoding: Ethernet
      Dec 22 16:17:20 	bandwidthd: Drawing initial graphs
      Dec 22 16:17:22 	check_reload_status: Syncing firewall
      Dec 22 16:17:28 	check_reload_status: Syncing firewall
      Dec 22 16:17:34 	php: rc.start_packages: Reloading Squid for configuration sync
      Dec 22 16:17:36 	check_reload_status: Reloading filter
      Dec 22 16:17:38 	php: rc.start_packages: Reloading Squid for configuration sync
      Dec 22 16:17:40 	check_reload_status: Reloading filter
      Dec 22 16:17:46 	check_reload_status: Syncing firewall
      Dec 22 16:17:50 	check_reload_status: Syncing firewall
      Dec 22 16:18:03 	check_reload_status: Syncing firewall
      Dec 22 16:18:05 	check_reload_status: Syncing firewall
      Dec 22 16:18:47 	php: rc.start_packages: The command '/usr/local/etc/rc.d/bandwidthd.sh stop' returned exit code '1', the output was 'No matching processes were found'
      Dec 22 16:18:49 	bandwidthd: Monitoring subnet 192.168.0.0 with netmask 192.168.0.0
      Dec 22 16:18:49 	bandwidthd: Monitoring subnet 192.168.1.0 with netmask 192.168.1.0
      Dec 22 16:18:49 	bandwidthd: Monitoring subnet 192.168.82.0 with netmask 192.168.82.0
      Dec 22 16:18:49 	bandwidthd: Recovering from log.2.1.cdf
      Dec 22 16:18:49 	bandwidthd: Recovering from log.4.0.cdf
      Dec 22 16:18:49 	bandwidthd: Recovering from log.3.0.cdf
      Dec 22 16:18:49 	bandwidthd: Recovering from log.1.2.cdf
      Dec 22 16:18:52 	bandwidthd: Monitoring subnet 192.168.0.0 with netmask 192.168.0.0
      Dec 22 16:18:52 	bandwidthd: Monitoring subnet 192.168.1.0 with netmask 192.168.1.0
      Dec 22 16:18:52 	bandwidthd: Monitoring subnet 192.168.82.0 with netmask 192.168.82.0
      Dec 22 16:18:52 	bandwidthd: Recovering from log.2.1.cdf
      Dec 22 16:18:52 	bandwidthd: Recovering from log.3.0.cdf
      Dec 22 16:18:52 	bandwidthd: Recovering from log.1.2.cdf
      Dec 22 16:18:52 	bandwidthd: Recovering from log.4.0.cdf
      Dec 22 16:18:53 	bandwidthd: Finished recovering 18263 records
      Dec 22 16:18:54 	bandwidthd: Recovering from log.1.1.cdf
      Dec 22 16:18:55 	php: rc.start_packages: The command '/usr/local/etc/rc.d/bandwidthd.sh stop' returned exit code '1', the output was 'No matching processes were found'
      Dec 22 16:18:57 	bandwidthd: Monitoring subnet 192.168.0.0 with netmask 192.168.0.0
      Dec 22 16:18:57 	bandwidthd: Monitoring subnet 192.168.1.0 with netmask 192.168.1.0
      Dec 22 16:18:57 	bandwidthd: Monitoring subnet 192.168.82.0 with netmask 192.168.82.0
      Dec 22 16:18:57 	bandwidthd: Recovering from log.4.0.cdf
      Dec 22 16:18:57 	bandwidthd: Recovering from log.1.2.cdf
      Dec 22 16:18:58 	bandwidthd: Recovering from log.2.1.cdf
      Dec 22 16:18:58 	bandwidthd: Recovering from log.3.0.cdf
      Dec 22 16:19:01 	bandwidthd: Monitoring subnet 192.168.0.0 with netmask 192.168.0.0
      Dec 22 16:19:01 	bandwidthd: Monitoring subnet 192.168.1.0 with netmask 192.168.1.0
      Dec 22 16:19:01 	bandwidthd: Monitoring subnet 192.168.82.0 with netmask 192.168.82.0
      Dec 22 16:19:01 	bandwidthd: Recovering from log.2.1.cdf
      Dec 22 16:19:01 	bandwidthd: Recovering from log.3.0.cdf
      Dec 22 16:19:01 	bandwidthd: Recovering from log.1.2.cdf
      Dec 22 16:19:01 	bandwidthd: Recovering from log.4.0.cdf
      Dec 22 16:19:02 	bandwidthd: Finished recovering 18263 records
      Dec 22 16:19:02 	bandwidthd: Recovering from log.1.1.cdf
      Dec 22 16:19:03 	bandwidthd: Finished recovering 15994 records
      Dec 22 16:19:03 	bandwidthd: Recovering from log.1.0.cdf
      Dec 22 16:19:05 	bandwidthd: Finished recovering 9734 records
      Dec 22 16:19:05 	bandwidthd: Opening re0
      Dec 22 16:19:05 	bandwidthd: Packet Encoding: Ethernet
      Dec 22 16:19:05 	bandwidthd: Drawing initial graphs
      Dec 22 16:19:06 	bandwidthd: Finished recovering 52289 records
      Dec 22 16:19:06 	bandwidthd: Recovering from log.2.0.cdf
      Dec 22 16:19:08 	bandwidthd: Finished recovering 9637 records
      Dec 22 16:19:08 	bandwidthd: Opening re0
      Dec 22 16:19:08 	bandwidthd: Packet Encoding: Ethernet
      Dec 22 16:19:08 	bandwidthd: Drawing initial graphs
      Dec 22 16:19:14 	bandwidthd: Finished recovering 110581 records
      Dec 22 16:19:14 	bandwidthd: Opening re0
      Dec 22 16:19:14 	bandwidthd: Packet Encoding: Ethernet
      Dec 22 16:19:14 	bandwidthd: Drawing initial graphs
      Dec 22 16:19:17 	bandwidthd: Finished recovering 126844 records
      Dec 22 16:19:17 	bandwidthd: Opening re0
      Dec 22 16:19:17 	bandwidthd: Packet Encoding: Ethernet
      Dec 22 16:19:17 	bandwidthd: Drawing initial graphs
      Dec 22 17:31:41 	php: /pkg_edit.php: Reloading Squid for configuration sync
      Dec 22 17:31:42 	check_reload_status: Reloading filter
      Dec 22 17:31:44 	check_reload_status: Syncing firewall
      Dec 22 17:31:44 	check_reload_status: Reloading filter
      Dec 22 17:31:45 	php: /pkg_edit.php: Reloading Squid for configuration sync
      Dec 22 17:40:32 	check_reload_status: Syncing firewall
      Dec 22 17:40:33 	syslogd: exiting on signal 15
      Dec 22 17:40:33 	syslogd: kernel boot file is /boot/kernel/kernel
      Dec 22 17:40:33 	kernel: pflog0: promiscuous mode disabled
      Dec 22 17:40:34 	kernel: pflog0: promiscuous mode enabled
      
      Dec 22 16:11:12 	squid[58038]: Squid Parent: child process 58170 started
      Dec 22 16:11:23 	squid[80547]: Squid Parent: child process 80684 started
      Dec 22 16:12:53 	squid[80684]: The url_rewriter helpers are crashing too rapidly, need help!
      Dec 22 16:12:53 	squid[80547]: Squid Parent: child process 80684 exited due to signal 6
      Dec 22 16:12:56 	squid[80547]: Squid Parent: child process 65305 started
      Dec 22 16:13:38 	squid[65305]: Too many queued url_rewriter requests (13 on 5)
      Dec 22 16:13:38 	squid[80547]: Squid Parent: child process 65305 exited due to signal 6
      Dec 22 16:13:41 	squid[80547]: Squid Parent: child process 65292 started
      Dec 22 16:15:30 	squid[80547]: Squid Parent: child process 65292 exited due to signal 15
      Dec 22 16:15:30 	squid[80547]: Exiting due to unexpected forced shutdown
      Dec 22 16:15:35 	squid[77156]: Squid Parent: child process 77657 started
      Dec 22 16:17:07 	squid[77657]: The url_rewriter helpers are crashing too rapidly, need help!
      Dec 22 16:17:07 	squid[77156]: Squid Parent: child process 77657 exited due to signal 6
      Dec 22 16:17:10 	squid[77156]: Squid Parent: child process 49636 started
      
      

      Буду благодарен за подсказки / советы
      Спасибо!

      1 Reply Last reply Reply Quote 0
      • werterW Offline
        werter
        last edited by

        Доброе.
        А если мониторить не осн. шлюз, а 8.8.8.8 , напр. ?
        Как вариант - обновить пф. Cохр. конфиг и найдите iso с вашей старой версией на всякий случай (http://mirror.transip.net/pfsense/downloads/)

        P.s. Если же переносить немного - поставьте начистую последн. версию. Тот же virtbox можно пользовать - настройте новую вер. на нем, сохраните конфиг, установите новую вер. на реальное железо, подгр. конфиг и переназначьте интерфейсы.

        1 Reply Last reply Reply Quote 0
        • P Offline
          pbx
          last edited by

          @werter:

          Доброе.
          А если мониторить не осн. шлюз, а 8.8.8.8 , напр. ?

          Т.е. в качестве альтернативного IP для мониторинга брать гугловский ДНС?
          Если Вы это имели ввиду - то думаю результат будет тот же, поскольку канал реально пропадает от нескольких секунд до нескольких минут (условия такие. "последняя миля" в виде 60-80км "воздушки" с 3-4 промежуточными точками).

          После обновления скорее всего будут проблемы с HAVP+squid. А переносить - довольно таки много.

          Чтобы обойти проблему - самое простое, на мой взгляд, это загнать pFsense в виртуалку (есть ESXi в работе) и на нее перенести только openVPN сервера. А с реального железа удалить.

          Но думал что получиться решить проблему.
          Просто откуда сквид "самопроизвольно" берет значение этой опции? (url_rewrite_children)

          1 Reply Last reply Reply Quote 0
          • werterW Offline
            werter
            last edited by

            @pbx:

            После обновления скорее всего будут проблемы с HAVP+squid. А переносить - довольно таки много.

            Крайне не рекомендую исп. это связку. Куча проблем - и нуль толку. Вы теперь попробуйте избавиться от этого "антивируса".
            Ибо в старых вер. пф оно таааак плотно связано, что прото ужас. Даже удаление и переустановка сквида не помогает иногда. Только глубокая чистка.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.