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

WARNING: Consider increasing the number of redirector processes in your config file.

Scheduled Pinned Locked Moved Cache/Proxy
8 Posts 3 Posters 2.7k 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.
  • G
    gtrovato
    last edited by Oct 18, 2018, 10:12 AM

    Hi All,

    I've very slow surfing performance on my connection, using Squid + SquidGuard, and I've discovered this message on the log.
    Is this the cause of poor performance?
    How can I increase such number?

    Thank you!

    1 Reply Last reply Reply Quote 0
    • K
      KOM
      last edited by KOM Oct 18, 2018, 2:01 PM Oct 18, 2018, 2:01 PM

      Check Services - Squid Proxy Server - General - Show Advanced Options (at the bottom). Notice the line like this:

      url_rewrite_program /usr/local/bin/squidGuard -c /usr/local/etc/squidGuard/squidGuard.conf;url_rewrite_bypass off;url_rewrite_children 16 startup=8 idle=4 concurrency=0

      You want to increase the number of children.

      http://www.squid-cache.org/Doc/config/url_rewrite_children/

      J 1 Reply Last reply Jan 10, 2023, 2:53 AM Reply Quote 1
      • G
        gtrovato
        last edited by Oct 18, 2018, 2:06 PM

        Thanks!
        What I can set? 48?
        What's the maximum?

        1 Reply Last reply Reply Quote 0
        • K
          KOM
          last edited by Oct 18, 2018, 2:15 PM

          There is no single answer. Bump it up and see if it helps your problem. If not, bump it some more. I would double it to start at 32.

          Are you in a multi-user environment, like an Internet cafe or corporate LAN? Usually you don't see this type of error unless you have a lot of people hitting the web at the same time. For every URL requested, squid spawns a request to squidguard to process the URL through its filter. Too many users with not enough child processes means URL requests sit there until squid can get around to asking squidguard to look at them.

          1 Reply Last reply Reply Quote 0
          • G
            gtrovato
            last edited by Oct 18, 2018, 2:23 PM

            I can have also 50 simultaneous users spread on several VLANs.
            Is there a way to prioritize some users (subnet)?

            Thank you!

            J 1 Reply Last reply Jan 12, 2023, 6:05 AM Reply Quote 0
            • K
              KOM
              last edited by Oct 18, 2018, 2:59 PM

              No, I don't believe there is any priority handling in squid. Just create enough child processes to handle the number of users you have.

              1 Reply Last reply Reply Quote 0
              • J
                JonathanLee @KOM
                last edited by Jan 10, 2023, 2:53 AM

                @kom Thanks I had this issue also

                Screenshot 2023-01-09 at 6.51.01 PM.png

                Make sure to upvote

                1 Reply Last reply Reply Quote 0
                • J
                  JonathanLee @gtrovato
                  last edited by Jan 12, 2023, 6:05 AM

                  @gtrovato I just noticed the correct location to adjust them is different. If you are using squidguard is Package/Proxy filter SquidGuard: General settings/General settings under service options.
                  Screenshot 2023-01-11 at 9.58.52 PM.png
                  (Image: Rewrite Process Children)

                  If you try to set this with just Squid advanced options it gets rewritten each time Squidguard is reconfigured or with every reboot. Just configure this advanced setting inside of squidguard and the advanced settings in Squid Proxy will reflect the change better this way.

                  After the new configurations holds
                  Screenshot 2023-01-11 at 10.04.49 PM.png

                  Make sure to upvote

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                    This community forum collects and processes your personal information.
                    consent.not_received