[SERVER-2200] "limit nofile 20000" in upstart job breaks things Created: 10/Dec/10 Updated: 12/Jul/16 Resolved: 10/Dec/10 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 1.6.5 |
| Fix Version/s: | 1.7.4 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Scott Hernandez (Inactive) | Assignee: | Richard Kreuter (Inactive) |
| Resolution: | Done | Votes: | 3 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Operating System: | ALL | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
The debian packages now seem to have this line in the upstart job, and lots of people are getting "start: Unknown job: mongodb"; I think this needs to get rolled back ASAP! |
| Comments |
| Comment by Serge Matveenko [ 14/Dec/10 ] |
|
I can confirm for 10.04-amd64 and 10.10-amd64 |
| Comment by Richard Kreuter (Inactive) [ 10/Dec/10 ] |
|
The fixed upstart file is present in packages with version number 20101210. By inspection on a 10.4 system, 'aptitude install mongodb-stable' installs the new conf file and starts the service successfully. |
| Comment by Richard Kreuter (Inactive) [ 10/Dec/10 ] |
|
I think this is fixed in git head. Pushing new packages now. |
| Comment by auto [ 10/Dec/10 ] |
|
Author: {u'login': u'kreuter', u'name': u'Richard Kreuter', u'email': u'richard@10gen.com'}Message: Fix error in upstart file. |
| Comment by Serge Matveenko [ 10/Dec/10 ] |
|
deleting this line and starting mongodb service just works for me |
| Comment by Timothy Bell [ 10/Dec/10 ] |
|
OK..... workaround (i guess); what work for me anyway. sudo apt-get purge mongodb-stable Then edit /etc/init/mongodb.conf removing the line "limit nofile 20000" sudo vi /etc/init/mongodb.conf I'm now back up and running..... FYI confirmed fix in a number of systems 10.10 and 10.04 LTS |
| Comment by Timothy Bell [ 10/Dec/10 ] |
|
I currently have over thirty systems with this issue...... (some 10.10 but mostly 10.4 LTS, All 64 bit) I tried removing "limit nofile 20000" and I'm able to run "sudo start mongodb". I no longer get the "start: Unknown job: mongodb" message but the process is not running when I run "ps". I was able to start my mongo servers manually by running "sudo mongod --dbpath /var/lib/mongodb". But as of right now the upstart script has an issue. |