shutdown_lifetime setting behavior does not match doc

Bug #685201 reported by AlainKnaff
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
squid (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: squid

When shutting down squid, squid waits for 30 seconds (shutdown_lifetime setting) even if no active client is present, however, the doc says it would.

Moreover the doc says that this also applies to SIGHUP, but (fortunately...) it doesn't.

Proposed fix:
1. Change the code to only wait if there are indeed clients connected. If last client disconnected before wait time is up, exit at that point.
2. Change doc to say " When SIGTERM is received, the cache is put into..." rather than "When SIGTERM or SIGHUP is received..."

Revision history for this message
Chuck Short (zulcss) wrote :

Which version is this with?

chuck

Changed in squid (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
AlainKnaff (kubuntu-misc) wrote :

2.7.STABLE7-1ubuntu12

Changed in squid (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Amos Jeffries (yadi) wrote :

Current (upstream) documentation says "until all active sockets are closed" - that means a lot more than just client sockets.

Changed in squid (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.