Hai Alex, Ah, yes, your totaly right. Just checked the systemd service file again and it shows. ExecStartPre=/usr/sbin/squid --foreground -z ExecStart=/usr/sbin/squid -sYC Sorry for the stupic question. Should have seen that. But thank you for the reply. Greetz, Louis > -----Oorspronkelijk bericht----- > Van: Alex Rousskov [mailto:rousskov@xxxxxxxxxxxxxxxxxxxxxxx] > Verzonden: maandag 13 augustus 2018 18:02 > Aan: L.P.H. van Belle; squid-users@xxxxxxxxxxxxxxxxxxxxx > Onderwerp: Re: Squid 4.2 is available ( debian stretch ) > > 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... > > _______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users