[SERVER-28660] memory leak of mongodb database with SSL support Created: 06/Apr/17 Updated: 16/Nov/21 Resolved: 14/Apr/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Security |
| Affects Version/s: | 3.4.2 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Critical - P2 |
| Reporter: | John Wang [X] | Assignee: | Kelsey Schubert |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
The client is a Java program. Server: operating system: Ubuntu 16, CPU: 4 core 3.4GHZ, RAM:8GB, database: Mongodb 3.4 Community version |
||
| Attachments: |
|
||||||||||||
| Issue Links: |
|
||||||||||||
| Participants: | |||||||||||||
| Description |
|
We have Mongodb database server runs with SSL support, the config file about SSL is below, The certificate is self sign created with OpenSSL,
The clients is a Java multi thread program, write a record into Mongodb database every minute,
The issue is that the memory usage of Mongodb server keeps going up until the server throw out of memory error and mongodb service is collapsed. John |
| Comments |
| Comment by John Wang [X] [ 17/Apr/17 ] |
|
Hi Ramon, Thanks for your update so much! I would try the 3.4.4 release and give you feedback. John |
| Comment by Ramon Fernandez Marina [ 17/Apr/17 ] |
|
You're welcome John_Wang. Please note that we just made available a 3.4.4-rc0 release candidate, which should have the same bits as the upcoming 3.4.4 release. It's available for download here, if you install it and run it we'd love to hear whether it addresses your issue. Thanks, |
| Comment by John Wang [X] [ 17/Apr/17 ] |
|
Hi Ramon, Thanks for your update so much! John |
| Comment by Ramon Fernandez Marina [ 14/Apr/17 ] |
|
MongoDB 3.4.4 is currently scheduled for the last week of April. You can subscribe to the mongodb-announce group if you're interested in receiving release notifications. Thanks, |
| Comment by John Wang [X] [ 14/Apr/17 ] |
|
Hi Thomas, Thanks for your support so much! John |
| Comment by Kelsey Schubert [ 14/Apr/17 ] |
|
Hi John_Wang, Thank you for the additional information. After review, it appears that you are hitting Kind regards, |
| Comment by John Wang [X] [ 13/Apr/17 ] |
|
Hi Ramon, Is there any update with this bug? Thanks so much for your support! John |
| Comment by Ramon Fernandez Ext [ 08/Apr/17 ] |
|
Test |
| Comment by John Wang [X] [ 07/Apr/17 ] |
|
Hi Thomas, The log file is 7.9 GB. I can`t upload it to here. Sorry for that! Thanks so much! John |
| Comment by John Wang [X] [ 07/Apr/17 ] |
|
Hi Thomas, Thanks for reaching me so much! We use Mongodb sharded cluster consisting of 4 servers. One is router called router1, two of them are shard servers called data1 and data2. One if config server called config1. The mongodb service is callapsed at the router server due to the memory leak. Attached file has the output of linux top command of router and shard server. Please watch the swap, it was used even though the memory still has plenty of spare. Thanks for your help so much! John |
| Comment by Kelsey Schubert [ 07/Apr/17 ] |
|
Hi John_Wang, Thanks for the report, I'm sorry that your cluster has this instability. To help us continue investigate, would you please provide the complete log files and an archive of the diagnostic.data? Thank you, |