View Issue Details

IDProjectCategoryView StatusLast Update
0000771Squid for OS/2Bugpublic2022-10-01 01:03
ReporterLewisR Assigned Topsmedley  
PrioritylowSeverityminorReproducibilityalways
Status assignedResolutionreopened 
Summary0000771: Squid 5.7 20220925 seems to not shut down with -k shutdown
DescriptionI saw this with the 5.3 builds, as well. The only way to kill a running Squid is Ctrl-C twice in rapid succession.
Additional InformationIt seems that Squid is aware that a shutdown has been requested, as following up:

sbin\squid -k shutdown

with:

sbin\squid -k reconfigure

yields:

canceling reconfiguration request during shutdown

Reminder to also remove the included squid.pid from the zip. ;-)
TagsNo tags attached.

Activities

psmedley

2022-09-26 09:06

administrator   ~0004598

Please try with https://smedley.id.au/tmp/squid-5.7-os2-20220926.zip

Simple fix/workaround - start with no_daemon mode always enabled :)

psmedley

2022-09-26 09:06

administrator   ~0004599

Oh and I also removed the stray squid.pid :)

psmedley

2022-09-30 06:42

administrator   ~0004600

Please confirm this works for you.

LewisR

2022-09-30 13:38

developer   ~0004601

Sorry for the late follow-up. I meant to test more fully, but, well...

While reconfigure seems to work as it should, restart seems to shut down

Not working correctly:

restart (30 second wait notice, 30-second wait, then exit without restarting)

Working as expected:

reconfigure
rotate
shutdown
interrupt
kill
parse
debug
check

psmedley

2022-09-30 22:07

administrator   ~0004602

I didn't test restart - you only mentioned shutdown as not working :)

I assume restart worked with older squid builds?

LewisR

2022-10-01 01:03

developer   ~0004603

When I opened this ticket, I redrafted the summary several times. I thought I left off with "...does not respect all -k options," but I see that I missed the mark on that. :-O

I'll retest...

Confirmed that -k restart was working with:

squid-3.3.11-os2-20131229.zip

All 5.x before squid-5.7-os2-20220926.zip had difficulty with -k options, so I didn't test those. 3.3.11 is what I was using previously.

Issue History

Date Modified Username Field Change
2022-09-26 02:03 LewisR New Issue
2022-09-26 09:06 psmedley Assigned To => psmedley
2022-09-26 09:06 psmedley Status new => feedback
2022-09-26 09:06 psmedley Note Added: 0004598
2022-09-26 09:06 psmedley Note Added: 0004599
2022-09-30 06:42 psmedley Status feedback => resolved
2022-09-30 06:42 psmedley Resolution open => fixed
2022-09-30 06:42 psmedley Note Added: 0004600
2022-09-30 13:38 LewisR Status resolved => feedback
2022-09-30 13:38 LewisR Resolution fixed => reopened
2022-09-30 13:38 LewisR Note Added: 0004601
2022-09-30 22:07 psmedley Note Added: 0004602
2022-10-01 01:03 LewisR Note Added: 0004603
2022-10-01 01:03 LewisR Status feedback => assigned