From: Demian K. <dem...@vi...> - 2012-07-02 16:50:20
|
> Is there perhaps some parameter that gives very detailed info about > every interaction with the OS JAVA is trying to make? Perhaps I can see > what is going on then. To quote some suggestions recently shared on the solrmarc-tech list by Simon Spero (http://groups.google.com/group/solrmarc-tech/msg/b13498fe8c0ef23a): 1. You can use the jvisualvm command to attach to a running java process and see exactly where it's spending its time. 2. You can use vmstat to look at system activity at a coarse level. 3. You can use iostat to look at disk activity in more detail 4. You can use strace to look at what system calls the process is making, or is stuck in 5. You can use jstack to look at the java call stacks for all threads in a given process. I'm not personally familiar with all of these tools, and some may require X-Windows to operate (possibly an obstacle when dealing with a remote VM), but you might find some clues here. - Demian |