[squid-users] --foreground vs -N
bcook at poughkeepsieschools.org
Wed Sep 18 17:59:37 UTC 2019
is there any functional difference between the two?
Using runit to handle my squid processes.
I have Observium graphing system information.
My data/traffic is consistent
In my run file I changed from squid -N to squid --foreground
chpst -o 131070 \
chpst -e ./env \
/usr/sbin/squid --foreground -s
# /usr/sbin/squid -N -s
I made the change at 10:30 and the cpu usage increased.
cpu graph: https://imgur.com/a/PWrpDcM
memory graph: https://imgur.com/a/uUhwHA6
bandwidth graph: https://imgur.com/a/dzHDiKO
(bandwidth has trend applied)
I can not tell from the graph if 'performance' increased or 'latency'
decreased.. but cpu usage certainly did increase.
I have no workers defined.
stock squid.conf plus this:
cache deny all
shutdown_lifetime 1 seconds
cache_mem 1024 MB
cache_mgr Support_ at _PCSD_0_120
read_ahead_gap 512 KB
quick_abort_min 1024 KB
url_rewrite_extras "%>a %un %>rm myip=%la myport=%lp"
store_id_extras "%>a %un %>rm myip=%la myport=%lp"
Archlinux squid 4.8, 4.19.72-1-lts kernel
Thank you in advance for taking the time to read this..
Poughkeepsie City School District
SMS & Mobile: (202) 810-5827
If you can't explain it simply, you don't understand it well enough.
This message may contain confidential information and is intended only for
the individual(s) named. If you are not an intended recipient you are not
authorized to disseminate, distribute or copy this e-mail. Please notify
the sender immediately if you have received this e-mail by mistake and
delete this e-mail from your system.
More information about the squid-users