[DOCS-10586] Enabling profiler causes restart, but the ops manager manual does not mention that Created: 27/Jul/17  Updated: 29/Oct/23  Resolved: 08/Feb/18

Status: Closed
Project: Documentation
Component/s: Ops Manager
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Lungang Fang Assignee: Robert Justice (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Participants:
Days since reply: 6 years, 6 days ago
Story Points: 0.1

 Description   

Customer found that the mongod process was restarted after he enabled the profiler. This is an expected behaviour. Actually, any mongod configuration change results in a restart. However, it is not documented. Can we add a note of this somewhere in the Ops Manager document?

Thanks,
Lungang



 Comments   
Comment by Robert Justice (Inactive) [ 08/Feb/18 ]

Kay merged!

Comment by Githook User [ 08/Feb/18 ]

Author:

{'email': 'robertjustice@Roberts-MacBook-Air-3.local', 'name': 'Robert Justice'}

Message: Added note that enabling profiling causes the mongod processes to restart. (DOCS-10586)

Review by Ravind. (DOCS-10586)

Comment by Louisa Berger. (DOCS-10586)

Review comment from Louisa Berger. (DOCS-10586)
Branch: v3.6
https://github.com/10gen/mms-docs/commit/6a6910da80bee14d393c1ebeaa8d706504205148

Comment by Githook User [ 08/Feb/18 ]

Author:

{'email': 'robertjustice@Roberts-MacBook-Air-3.local', 'name': 'Robert Justice'}

Message: Added note that enabling profiling causes the mongod processes to restart. (DOCS-10586)

Review by Ravind. (DOCS-10586)

Comment by Louisa Berger. (DOCS-10586)

Review comment from Louisa Berger. (DOCS-10586)
Branch: v3.6
https://github.com/10gen/mms-docs/commit/6a6910da80bee14d393c1ebeaa8d706504205148

Comment by Githook User [ 08/Feb/18 ]

Author:

{'email': 'robertjustice@Roberts-MacBook-Air-3.local', 'name': 'Robert Justice'}

Message: Added note that enabling profiling causes the mongod processes to restart. (DOCS-10586)

Review by Ravind. (DOCS-10586)

Comment by Louisa Berger. (DOCS-10586)

Review comment from Louisa Berger. (DOCS-10586)
Branch: v3.6
https://github.com/10gen/mms-docs/commit/6a6910da80bee14d393c1ebeaa8d706504205148

Comment by Githook User [ 08/Feb/18 ]

Author:

{'email': 'robertjustice@Roberts-MacBook-Air-3.local', 'name': 'Robert Justice'}

Message: Added note that enabling profiling causes the mongod processes to restart. (DOCS-10586)

Review by Ravind. (DOCS-10586)

Comment by Louisa Berger. (DOCS-10586)

Review comment from Louisa Berger. (DOCS-10586)
Branch: v3.6
https://github.com/10gen/mms-docs/commit/6a6910da80bee14d393c1ebeaa8d706504205148

Comment by Githook User [ 08/Feb/18 ]

Author:

{'email': 'robertjustice@Roberts-MacBook-Air-3.local', 'name': 'Robert Justice'}

Message: Added note that enabling profiling causes the mongod processes to restart. (DOCS-10586)

Review by Ravind. (DOCS-10586)

Comment by Louisa Berger. (DOCS-10586)

Review comment from Louisa Berger. (DOCS-10586)
Branch: master
https://github.com/10gen/mms-docs/commit/9a9a6f04b701d7c1a6c8cb9c8416bd270ac9e230

Comment by Githook User [ 08/Feb/18 ]

Author:

{'email': 'robertjustice@Roberts-MacBook-Air-3.local', 'name': 'Robert Justice'}

Message: Added note that enabling profiling causes the mongod processes to restart. (DOCS-10586)

Review by Ravind. (DOCS-10586)

Comment by Louisa Berger. (DOCS-10586)

Review comment from Louisa Berger. (DOCS-10586)
Branch: master
https://github.com/10gen/mms-docs/commit/9a9a6f04b701d7c1a6c8cb9c8416bd270ac9e230

Comment by Githook User [ 08/Feb/18 ]

Author:

{'email': 'robertjustice@Roberts-MacBook-Air-3.local', 'name': 'Robert Justice'}

Message: Added note that enabling profiling causes the mongod processes to restart. (DOCS-10586)

Review by Ravind. (DOCS-10586)

Comment by Louisa Berger. (DOCS-10586)

Review comment from Louisa Berger. (DOCS-10586)
Branch: master
https://github.com/10gen/mms-docs/commit/9a9a6f04b701d7c1a6c8cb9c8416bd270ac9e230

Comment by Githook User [ 08/Feb/18 ]

Author:

{'email': 'robertjustice@Roberts-MacBook-Air-3.local', 'name': 'Robert Justice'}

Message: Added note that enabling profiling causes the mongod processes to restart. (DOCS-10586)

Review by Ravind. (DOCS-10586)

Comment by Louisa Berger. (DOCS-10586)

Review comment from Louisa Berger. (DOCS-10586)
Branch: master
https://github.com/10gen/mms-docs/commit/9a9a6f04b701d7c1a6c8cb9c8416bd270ac9e230

Comment by Louisa Berger [ 06/Feb/18 ]

Let's move the concerns about how the Automation Agent is functioning to a feature request ticket, and keep this Docs ticket focused on the documentation of the current behavior. I see you've already found PRODUCT-534 – that's actually the best place to raise these issues, since then Product can actually prioritize them.

Thanks!

Comment by John Page [ 06/Feb/18 ]

This doesn't address the basic issue that we NEED to be able to turn profiling on and off without any restart. In production systems we enable it in the UI then disable manaully pending needing the turn it back on at some future point.

Comment by Louisa Berger [ 06/Feb/18 ]
  • Startup parameter changes generally trigger a rolling restart. A bounce restart is what we call it when we restart all the processes in a cluster at once. This is just used for things like sslMode changes. Happy to provide a full list of those params if needed, but in general, we just do rolling restarts.
  • I believe that line in the docs is referring to a delay that continues happening after profiling is turned on – all future configuration changes take more time. So this is a different time concern – a one-time operation (turning profiling on) that takes some time, but only once.
Comment by Rohit Malik [ 16/Oct/17 ]

I just enabled database profiling from automation and the mongodb instance got restarted, we should mention this in the documentation as this can cause a big issue on production systems being restarted without change request or correct communications.

Comment by Louisa Berger [ 08/Sep/17 ]

The sslMode parameter is changed by a totally different procedure / codepath. The regular parameters will trigger a restart.

Feel free to link any requests with our CLOUDP-13951 ticket!

Comment by John Page [ 08/Sep/17 ]

Except automation does change other setParameter things without a rolling restart - specifically sslmode, I know it does it without a restart because when you change it - the mongod.conf file doesn't change until the next restart but the behaviour does.

However as quite a few complaints have come in from the field I will hunt down or raise a PAIN ticket for this.

Comment by Louisa Berger [ 08/Sep/17 ]

Yes, any parameter change will trigger a rolling restart. It's correct that MongoDB allows you to change this parameter via the setParameter command without a restart, but Automation does not currently support changing parameters via the setParameter command (not a bug).

Future ticket here : https://jira.mongodb.org/browse/CLOUDP-13951

Comment by James Broadhead (Inactive) [ 17/Aug/17 ]

tbqh, I don't know – maybe louisa.berger does?

Comment by John Page [ 11/Aug/17 ]

MongoDB does not need a restart to enable profiling and Ops Manager can modify parameters without a restart in some cases - so why does OM restart the instance (which is then probably no longer the primary and no longer NEEDS profiling on as it's now secondary)

Generated at Thu Feb 08 08:00:56 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.