Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shutdown issue #6

Closed
evijayan2 opened this issue Jun 13, 2012 · 8 comments
Closed

Shutdown issue #6

evijayan2 opened this issue Jun 13, 2012 · 8 comments

Comments

@evijayan2
Copy link

Hi,

my application runs as scheduled, when the task starts it extract mongodb and do the process and stop the mongodb process, this will repeat.

after certain amount of time we are getting the below issue.

Jun 13, 2012 2:48:02 PM de.flapdoodle.embedmongo.MongodProcess stop
WARNING: try to stop mongod
pid = 71331

Wed Jun 13 14:48:02 got kill or ctrl c or hup signal 2 (Interrupt), will terminate after current cmd ends
[mongod output] Jun 13, 2012 2:48:02 PM de.flapdoodle.embedmongo.runtime.ProcessControl executeCommandLine
INFO: execSuccess: true [kill, -2, 71025]

2012-06-13 14:48:03,166 ERROR [org.quartz.core.JobRunShell] - Job DEFAULT.jiraSprintReportJob threw an unhandled Exception:
java.lang.IllegalStateException: Couldn't kill mongod process!


Something bad happend. We couldn't kill mongod process, and tried a lot.
If you want this problem solved you can help us if you open a new issue on github.

Follow this link:
https://github.com/flapdoodle-oss/embedmongo.flapdoodle.de/issues

Thank you:)

at de.flapdoodle.embedmongo.runtime.ProcessControl.waitForProcessGotKilled(ProcessControl.java:126)
at de.flapdoodle.embedmongo.runtime.ProcessControl.stop(ProcessControl.java:62)
at de.flapdoodle.embedmongo.MongodProcess.stop(MongodProcess.java:107)
at com.comcast.cable.cds.merlin.tools.sprint.report.JiraSprintReportTask.mongoStop(JiraSprintReportTask.java:99)
at com.comcast.cable.cds.merlin.tools.sprint.report.JiraSprintReportTask.trigger(JiraSprintReportTask.java:65)
at com.comcast.cable.cds.merlin.tools.sprint.report.JiraSprintReportJob.executeInternal(JiraSprintReportJob.java:25)
at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:111)
at org.quartz.core.JobRunShell.run(JobRunShell.java:223)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)

2012-06-13 14:48:03,168 ERROR [org.quartz.core.ErrorLogger] - Job (DEFAULT.jiraSprintReportJob threw an exception.
org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.IllegalStateException: Couldn't kill mongod process!

@michaelmosmann
Copy link
Member

Which version do you use?

Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.

evijayan2 reply@reply.github.com schrieb:

Hi,

my application runs as scheduled, when the task starts it extract mongodb and do the process and stop the mongodb process, this will repeat.

after certain amount of time we are getting the below issue.

Jun 13, 2012 2:48:02 PM de.flapdoodle.embedmongo.MongodProcess stop
WARNING: try to stop mongod
pid = 71331

Wed Jun 13 14:48:02 got kill or ctrl c or hup signal 2 (Interrupt), will terminate after current cmd ends
[mongod output] Jun 13, 2012 2:48:02 PM de.flapdoodle.embedmongo.runtime.ProcessControl executeCommandLine
INFO: execSuccess: true [kill, -2, 71025]

2012-06-13 14:48:03,166 ERROR [org.quartz.core.JobRunShell] - Job DEFAULT.jiraSprintReportJob threw an unhandled Exception:
java.lang.IllegalStateException: Couldn't kill mongod process!


Something bad happend. We couldn't kill mongod process, and tried a lot.
If you want this problem solved you can help us if you open a new issue on github.

Follow this link:
https://github.com/flapdoodle-oss/embedmongo.flapdoodle.de/issues

Thank you:)


at de.flapdoodle.embedmongo.runtime.ProcessControl.waitForProcessGotKilled(ProcessControl.java:126)
at de.flapdoodle.embedmongo.runtime.ProcessControl.stop(ProcessControl.java:62)
at de.flapdoodle.embedmongo.MongodProcess.stop(MongodProcess.java:107)
at com.comcast.cable.cds.merlin.tools.sprint.report.JiraSprintReportTask.mongoStop(JiraSprintReportTask.java:99)
at com.comcast.cable.cds.merlin.tools.sprint.report.JiraSprintReportTask.trigger(JiraSprintReportTask.java:65)
at com.comcast.cable.cds.merlin.tools.sprint.report.JiraSprintReportJob.executeInternal(JiraSprintReportJob.java:25)
at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:111)
at org.quartz.core.JobRunShell.run(JobRunShell.java:223)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)

2012-06-13 14:48:03,168 ERROR [org.quartz.core.ErrorLogger] - Job (DEFAULT.jiraSprintReportJob threw an exception.
org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.IllegalStateException: Couldn't kill mongod process!


Reply to this email directly or view it on GitHub:
#6

@evijayan2
Copy link
Author

        <groupId>de.flapdoodle.embedmongo</groupId>
        <artifactId>de.flapdoodle.embedmongo</artifactId>
        <version>1.15</version>

Db : Version.V2_0_1

OS: mac Os 10.6.8

@michaelmosmann
Copy link
Member

Try latest snapshot... Does it help?

Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.

evijayan2 reply@reply.github.com schrieb:

de.flapdoodle.embedmongo
de.flapdoodle.embedmongo
1.15

Db : Version.V2_0_1


Reply to this email directly or view it on GitHub:
#6 (comment)

@evijayan2
Copy link
Author

Let me try the snapshot version.

@evijayan2
Copy link
Author

Looks like the 1.16 SNApshot version handling the shutdown nicely till now, i will post the updates,

@evijayan2
Copy link
Author

This version looks promising, When 1.16 will get release. I wanted the release version for Production environment. Thanks for your great work.

@michaelmosmann
Copy link
Member

release done.. expect it tomorrow:)

@evijayan2
Copy link
Author

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants