我的电脑出现一些问题,不知道还需要检查或寻找什么。
如果标签或描述不正确,请随时编辑/评论。
基本上问题是:您是否知道我可以在测试再现期间运行的任何工具,该工具会频繁记录并可能提供有关正在发生的情况的提示?
如果有人已经知道可能导致问题的原因,那就太好了。
所以问题是:
我有一个正在运行的 JBoss 4.2.3.GA 服务器应用程序,它提供了一些带有远程接口的 EJB。这些 EJB 向数据库写入或从数据库读取内容,但这似乎并不重要,因为我也有只执行 System.out.println(...)
的方法,仅此而已。
现在我从控制台运行一个测试客户端,它基本上只是“远程”循环调用这些 EJB 方法之一(以进行一些计时等)。
到目前为止,没有什么太不正统的事情应该做,它基本上只是一堆远程 EJB 调用。
然而,在循环执行期间,计算机完全冻结(键盘也没有响应,例如数字锁定键) - 唯一改变的是闪烁的光标。 :)
不幸的是,我没有找到原因,因为我经常从 eclipse 进行测试,所以我希望不要经常发生这种情况(工作空间崩溃等)。
这是我迄今为止尝试过的:
- 大量硬件测试包括Lenovo PC Doctor(这是一台Lenovo PC) - 全部成功,所以我看起来没有硬件问题
- 使用不同的JDK版本:1.5.0、1.6.0、1.7.0 - 全部崩溃了
- JRockit JVM (Java 6) - 崩溃也
- 使 Java 导致 100% CPU 负载(10 个线程在 4 个核心上持续运行) - 成功/没有错误
- 分配 JVM 允许的尽可能多的内存 - 成功
- 在其他计算机上运行测试 - 成功,除了具有相同硬件和类似软件设置的
- Windows 日志不提供提示(除了“系统未正确关闭”......好吧,这有帮助:))
经过所有这些测试,我认为这可能是一个问题与系统配置(驱动程序等)但我不知道如何跟踪它(由于需要大量的时间,我不能只使用蛮力)。
那么,有人遇到过类似的问题吗?
您知道我可以使用什么工具来记录系统的行为并最好在崩溃之前获取日志吗?
提前致谢,
托马斯
I have some issues with my PC and don't know what else to check or look for.
If the tags or description are off, feel free to edit/comment.
Basically the question is: Do you know of any tool that I could run during reproduction of the test, which logs frequently and might provide a hint on what's going on?
If anyone already has a clue of what could cause the problem, that would be great as well.
So here's the problem:
I have a running JBoss 4.2.3.GA server application which provides some EJBs with remote interfaces. Those EJBs write or read stuff to/from the database but that doesn't seem to matter since I also had methods that just did a System.out.println(...)
and nothing more.
Now I run a test client from the console which basically just "remotely" calls one of those EJB methods in a loop (to take some timings etc.).
So far nothing too unorthodox should be done, it's basically just a bunch of remote EJB calls.
However, during the execution of the loop the computer freezes completely (keyboard doesn't respond as well, e.g. num-lock key) - the only thing that changes is the blinking cursor. :)
Unfortunately I didn't manage to find a reason for this and since I often do my tests from eclipse I'd like to not have that happen too often (workspace crashes etc.)
Here's what I tried so far:
- Numerous hardware tests including Lenovo PC Doctor (it's a Lenovo PC) - all succeeded, so i seems like there's no hardware problem
- Use different JDK versions: 1.5.0, 1.6.0, 1.7.0 - all crashed
- JRockit JVM (Java 6) - crashed as well
- make Java cause 100% CPU load (10 thread running constantly on 4 cores) - succeeded/no error
- allocate as much memory as the JVM would allow me - succeeded
- run the tests on other computers - succeeded, except one that has the same hardware and similar software setup
- Windows logs don't provide a hint (except "system was not shut down correctly" ... well that helps :) )
After all these tests I assume it might be a problem with the system configuration (drivers etc.) but I don't know how to track that (and I can't just use brute force due to the massive time requirements).
So, did anyone experience similar problems?
Do you know of any tool that I might use to log what the system does and preferably get a log right before the crash?
Thanks in advance,
Thomas
发布评论