Message boards :
ATLAS application :
Squid proxies may need restart
Message board moderation
Author | Message |
---|---|
Send message Joined: 13 May 14 Posts: 387 Credit: 15,314,184 RAC: 0 ![]() ![]() |
Hi all, This message is only relevant if you run your own squid proxy server for ATLAS tasks. After the CERN database outage last week, a problem was seen with the cached information on squid proxy servers all over the ATLAS Grid which can cause tasks to fail. The solution to the problem is to restart the squid service, so if you are running your own squid please restart it in order to avoid potential problems. The ATLAS-managed squid servers which tasks use by default were restarted earlier today, so if you saw strange failures in tasks between Thursday last week and now this might have been the reason. |
Send message Joined: 17 Oct 06 Posts: 89 Credit: 57,646,097 RAC: 17,081 ![]() ![]() ![]() |
Hi all, By restart do you just mean squid -k restart or deleting the cache and starting fresh? |
Send message Joined: 9 Jan 15 Posts: 151 Credit: 431,596,822 RAC: 0 ![]() ![]() |
So today's power outage was not entirely unnecessary. Have not cleared cache. restart the squid serviceIt sounds like restart daemon is enough. |
![]() Send message Joined: 15 Jun 08 Posts: 2572 Credit: 259,231,175 RAC: 107,690 ![]() ![]() |
This is also in regards to your post in the Theory thread: https://lhcathome.cern.ch/lhcathome/forum_thread.php?id=5431&postid=42775 You may first check your access.log and cache.log. Do you notice error messages that correspond to your issues? If no, squid is most likely running fine and the issues are caused by something else. If yes, you should clear the cache and restart fresh. You may also insert the following line in your squid.conf and do a "squid -k reconfigure". shutdown_lifetime 3 seconds This avoids the 60 seconds default delay when you shutdown/restart squid but I'm not 100% sure if changing this timeout requires a squid -k restart. At least Squid will be prepared for the next restart. |
Send message Joined: 17 Oct 06 Posts: 89 Credit: 57,646,097 RAC: 17,081 ![]() ![]() ![]() |
This is also in regards to your post in the Theory thread: The logs look good to me. And post the squid restart everything seems to be fine. I just got some atlas tasks though so I assume they will kill at least one theory. If I get another stuck one. Ill nuke the cache and also do a project reset to see if that solves the issue. |
![]() Send message Joined: 12 Jun 18 Posts: 126 Credit: 53,906,164 RAC: 0 ![]() ![]() |
You may also insert the following line in your squid.conf and do a "squid -k reconfigure".Not sure where to stick it but this spot felt oh so right: # You don't believe this is enough? For sure, it is! cache_mem 192 MB maximum_object_size_in_memory 24 KB memory_replacement_policy heap GDSF shutdown_lifetime 3 seconds No idea what I'm doing. Is there an LHC Squid Care & Feeding Guide anywhere? |
Send message Joined: 2 May 07 Posts: 2259 Credit: 175,051,176 RAC: 64,218 ![]() ![]() ![]() |
CentOs8-VM (RedHat): systemctl stop squid in console. This will take a few seconds (nearly 10 seconds). No more command is needed. |
©2025 CERN