[SERVER-11973] Remove delay of 300 seconds on rpm init.d script on stop() service Created: 05/Dec/13  Updated: 06/Dec/22  Resolved: 05/May/22

Status: Closed
Project: Core Server
Component/s: Usability
Affects Version/s: None
Fix Version/s: 4.1 Desired

Type: Improvement Priority: Major - P3
Reporter: Norberto Fernando Rocha Leite (Inactive) Assignee: Backlog - Build Team (Inactive)
Resolution: Won't Fix Votes: 1
Labels: build-needs-definition, build-planning
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

prod


Issue Links:
Related
related to SERVER-3824 init.d script is unreliable Closed
related to SERVER-9253 `rpm/init.d-mongod stop` unnecessaril... Closed
Assigned Teams:
Build
Participants:

 Description   

Currently we have a delay set to 300 seconds on the RPM init.d scripts on the stop function:
https://github.com/mongodb/mongo/blob/master/rpm/init.d-mongod#L68

 killproc -p "$PIDFILE" -d 300 /usr/bin/mongod 

The curious thing about this is that the man killproc does not mention -d flag for this behaviour



 Comments   
Comment by Ramon Fernandez Marina [ 17/Jul/14 ]

This was introduced in SERVER-3824, so I'd guess it's a feature...

Generated at Thu Feb 08 03:27:15 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.