[squid-users] General Questions in squid 4.x

Dr.X 0xff1f at gmail.com
Wed Apr 12 21:37:02 UTC 2023


Hi Squid Folks,

I have a few questions regarding Squid:

Question #1:

My Squid server is working fine, but we accidentally removed the conf file. The service is still running without any issues, but if we stop it, we won't be able to power it up again as no conf file exists. Is there a file dropped in RAM or somewhere else where we can retrieve the configuration file?

Question #2:

I believe there are some Squid config directives that are added by default to squid.conf and are hidden in the config file. Is there a way to check all the Squid directives that are loaded, whether they are hidden or not?

Question #3:

If we start Squid but mistakenly start it again, we receive the error message below:

2023/04/12 17:33:52| FATAL: squid is already running: Found fresh instance PID file (/var/run/squidtest.pid) with PID 959949
exception location: Instance.cc(121) ThrowIfAlreadyRunningWith

As a result, the old service becomes dead, and we have to stop and start it again. Is there any Squid directive that prevents the instance from crashing in case we accidentally start it again?

Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20230412/88ee7f27/attachment.htm>


More information about the squid-users mailing list