Search squid archive

Re: Squid 4.2 is available ( debian stretch )

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hai, 

Thank you for the new release.

If people want to test against Debian, i've create Debian Stretch packages for Squid 4.2 today. 
I am testing them as we speak and if you want to test them, you can find them here: 
https://downloads.van-belle.nl 

I took the Debian squid GIT sources for this rebuild against Debian Stretch.
Build logs are avaible through the dowloads link.
Drop me a note how they are working, if they are ok, i'll put them on my repo.
I've keept all settings the default in these tests. Only enabled the "localnet" 

Im using the following systemd service settings. 

The defaults, +  ( systemctl edit squid.service ) 
# /etc/systemd/system/squid.service.d/override.conf
[Service]
# The default is 1024, increase this if needed.
LimitNOFILE=4096

For squid 4.1, i changed the logrotate file a bit. 
I added systemd part and changed reload to restart, due to assertion fail. 

A part of : /etc/logrotate.d/squid
        postrotate
            if [ -d /run/systemd/system ] && command systemctl >/dev/null 2>&1 && systemctl is-active --quiet squid.service; then
                systemctl reload squid.service
            elif [ -f /var/run/squid.pid ]; then
                test ! -e /var/run/squid.pid || test ! -x /usr/sbin/squid || /usr/sbin/squid -k rotate
            fi
        endscript

After the upgrade to 4.2, i change the restart back to reload, and no assertion failed anymore in 4.2 :-).  

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?  
I notice this in the cache.log, i tested this with a normal start/stop and restart and reboot.

The Log part. ( from a restart ) 
2018/08/13 16:30:26 kid1| Preparing for shutdown after 0 requests
2018/08/13 16:30:26 kid1| Waiting 30 seconds for active connections to finish
2018/08/13 16:30:26 kid1| Closing HTTP(S) port [::]:3128
2018/08/13 16:30:26 kid1| Closing Pinger socket on FD 14
2018/08/13 16:30:33| Pinger exiting.
2018/08/13 16:30:57 kid1| Shutdown: NTLM authentication.
2018/08/13 16:30:57 kid1| Shutdown: Negotiate authentication.
2018/08/13 16:30:57 kid1| Shutdown: Digest authentication.
2018/08/13 16:30:57 kid1| Shutdown: Basic authentication.
2018/08/13 16:30:57 kid1| Shutting down...
2018/08/13 16:30:57 kid1| storeDirWriteCleanLogs: Starting...
2018/08/13 16:30:57 kid1|   Finished.  Wrote 0 entries.
2018/08/13 16:30:57 kid1|   Took 0.00 seconds (  0.00 entries/sec).
CPU Usage: 0.044 seconds = 0.044 user + 0.000 sys
Maximum Resident Size: 94112 KB
Page faults with physical i/o: 0
2018/08/13 16:30:57 kid1| Logfile: closing log daemon:/var/log/squid/access.log
2018/08/13 16:30:57 kid1| Logfile Daemon: closing log daemon:/var/log/squid/access.log
2018/08/13 16:30:57 kid1| Open FD UNSTARTED    10 IPC UNIX STREAM Parent
2018/08/13 16:30:57 kid1| Squid Cache (Version 4.2): Exiting normally.
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| 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...


Greetz, 

Louis


_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux