Hey folks,
Our MediaFlux server has not responded for an hour or so. At this point, we're just looking to retstart it, but the /etc/init.d/mediaflux script tries to shut it down by sending it a "terminate" via aterm, which just locks up. Interactive aters just stall at the blue screen after credentials are entered, and no logs have been written to for an hour.
Are we safe to just issue a "kill [PID of java -jar /QCMG/mediaflux/mediaflux/bin/aserver.jar]"? As always, thanks for your help.
Regards,
Yes its "probably" ok to kill the process, but the question is what else is happening?
Are there any logs in the OS that point to any problems... running out of memory or disk errors etc?
You should also get a Java stack trace.... now I haven't done this is a while but on Linux systems this is done with jstack
jstack -l <pid>
or
jstack -F -l <pid> if the jstack hangs as well.
Post them to the list.
Note that there are usually two aserver.jar processes. The master aserver.jar process and the actual aserver.jar instance.
In a "ps -ef"
$ ps -ef | grep aserv
501 7627 7127 0 Wed01pm ?? 0:47.53 java -jar /Users/brian/mf/bin/aserver.jar
501 7628 7627 0 Wed01pm ?? 1:40.26 java -d64 -Xmx512m -XX:ErrorFile=/Users/brian/mf/volatile/logs/jvm/jvm_crash_20140129_1318_pid%p.log -cp /Users/brian/mf/bin/aserver.jar ..etc etc
7628 is the pid of the instance, 7627 is the master
When you kill -HUP 7628 the master should restart the instance, if it dies but does not restart then kill 7627 as well.
Start with HUP then a TERM
You should not have to "kill -KILL"
--
You received this message because you are subscribed to the Google Groups "mediaflux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mediaflux+...@googlegroups.com.
To post to this group, send email to medi...@googlegroups.com.
Visit this group at http://groups.google.com/group/mediaflux.
For more options, visit https://groups.google.com/groups/opt_out.
