[squid-users] Squid 4.2 is available ( debian stretch )

Alex Rousskov rousskov at measurement-factory.com
Mon Aug 13 16:01:57 UTC 2018


On 08/13/2018 08:58 AM, L.P.H. van Belle wrote:

> My questions for 4.2 is: 
> Anyone any idea why we see 2x "2018/08/13 16:30:57| Created PID file (/var/run/squid.pid)"  in the start up process?  

Your scripts are probably starting Squid twice, first with the -z option
(to create cache_dir directories if they are missing and exit) and then
once again without that option (to serve traffic).

IIRC, older Squids did not create the PID file while creating cache_dir
directories, leading to nasty conflicts between concurrent Squid
instances. Future Squids should create missing directories automatically
(in most cases), but I am not aware of anybody sponsoring that feature.

HTH,

Alex.


> 2018/08/13 16:30:57| Created PID file (/var/run/squid.pid)
> 2018/08/13 16:30:57 kid1| Set Current Directory to /var/spool/squid
> 2018/08/13 16:30:57 kid1| Creating missing swap directories
> 2018/08/13 16:30:57 kid1| No cache_dir stores are configured.
> 2018/08/13 16:30:57| Removing PID file (/var/run/squid.pid)
> 2018/08/13 16:30:57| Created PID file (/var/run/squid.pid)
> 2018/08/13 16:30:57 kid1| Set Current Directory to /var/spool/squid
> 2018/08/13 16:30:57 kid1| Starting Squid Cache version 4.2 for x86_64-pc-linux-gnu...
> 2018/08/13 16:30:57 kid1| Service Name: squid
> 2018/08/13 16:30:57 kid1| Process ID 1658
> 2018/08/13 16:30:57 kid1| Process Roles: worker
> 2018/08/13 16:30:57 kid1| With 4096 file descriptors available
> 2018/08/13 16:30:57 kid1| Initializing IP Cache...


More information about the squid-users mailing list