기본 성능시험 오류 발생좀 봐주세요.

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

기본 성능시험 오류 발생좀 봐주세요.

Alicee
nGrinder를 도입하려고 테스트 하고 있습니다.

사용자 가이드의 Quick Start대로 기본 설정을 하고 성능시험을 수행했는데

다음과 같은 오류가 발생하네요.

답변 부탁드릴께요^^

Error: no `server' JVM at `C:\Program Files\Java\jre6\bin\server\jvm.dll'.
2013-02-05 17:41:22,553 ERROR net.grinder.AgentDaemon: Exception occurs in the a
gent message loop
net.grinder.engine.common.EngineException: Failed to send initialisation message

        at net.grinder.engine.agent.AbstractWorkerFactory.create(AbstractWorkerF
actory.java:92) ~[grinder-core-3.9.1.jar:na]
        at net.grinder.engine.agent.WorkerLauncher.startSomeWorkers(WorkerLaunch
er.java:103) ~[grinder-core-3.9.1.jar:na]
        at net.grinder.engine.agent.WorkerLauncher.startAllWorkers(WorkerLaunche
r.java:91) ~[grinder-core-3.9.1.jar:na]
        at net.grinder.engine.agent.AgentImplementationEx.run(AgentImplementatio
nEx.java:280) ~[ngrinder-core-3.1.1.jar:na]
        at net.grinder.AgentDaemon$AgentThreadRunnable.run(AgentDaemon.java:138)
 [ngrinder-core-3.1.1.jar:na]
        at java.lang.Thread.run(Unknown Source) [na:1.6.0_35]
Caused by: net.grinder.communication.CommunicationException: Exception whilst se
nding message
        at net.grinder.communication.AbstractSender.send(AbstractSender.java:57)
 ~[grinder-core-3.9.1.jar:na]
        at net.grinder.engine.agent.AbstractWorkerFactory.create(AbstractWorkerF
actory.java:88) ~[grinder-core-3.9.1.jar:na]
        ... 5 common frames omitted
Caused by: java.io.IOException: 파이프가 끝났습니다
        at java.io.FileOutputStream.writeBytes(Native Method) ~[na:1.6.0_35]
        at java.io.FileOutputStream.write(Unknown Source) ~[na:1.6.0_35]
        at java.io.BufferedOutputStream.flushBuffer(Unknown Source) ~[na:1.6.0_3
5]
        at java.io.BufferedOutputStream.flush(Unknown Source) ~[na:1.6.0_35]
        at java.io.BufferedOutputStream.flush(Unknown Source) ~[na:1.6.0_35]
        at java.io.ObjectOutputStream$BlockDataOutputStream.flush(Unknown Source
) ~[na:1.6.0_35]
        at java.io.ObjectOutputStream.flush(Unknown Source) ~[na:1.6.0_35]
        at net.grinder.communication.AbstractSender.writeMessageToStream(Abstrac
tSender.java:90) ~[grinder-core-3.9.1.jar:na]
        at net.grinder.communication.StreamSender.writeMessage(StreamSender.java
:70) ~[grinder-core-3.9.1.jar:na]
        at net.grinder.communication.AbstractSender.send(AbstractSender.java:53)
 ~[grinder-core-3.9.1.jar:na]
        ... 6 common frames omitted
2013-02-05 17:41:22,562 INFO  net.grinder.AgentDaemon: communication shut down
2013-02-05 17:41:22,568 INFO  net.grinder.AgentDaemon: finished
2013-02-05 17:41:22,572 INFO  agent controller: send log for test_2
Reply | Threaded
Open this post in threaded view
|

RE: 기본 성능시험 오류 발생좀 봐주세요.

jiwon jo
This post was updated on .
JDK가 실행이 되지 않고 JRE가 실행되고 있는 상황입니다.
 PATH를 재설정 하세요.
 
-----Original Message-----
From: "Alicee [via ngrinder]"<ml-node+s642n256h96@n7.nabble.com>
To: "jiwon jo"<jiwon.jo@nhn.com>;
Cc:
Sent: 2013-02-05 (화) 17:54:09
Subject: 기본 성능시험 오류 발생좀 봐주세요.

        nGrinder를 도입하려고 테스트 하고 있습니다.

사용자 가이드의 Quick Start대로 기본 설정을 하고 성능시험을 수행했는데

다음과 같은 오류가 발생하네요.

답변 부탁드릴께요^^

Error: no `server' JVM at `C:\Program Files\Java\jre6\bin\server\jvm.dll'.
2013-02-05 17:41:22,553 ERROR net.grinder.AgentDaemon: Exception occurs in the a
gent message loop
net.grinder.engine.common.EngineException: Failed to send initialisation message

        at net.grinder.engine.agent.AbstractWorkerFactory.create(AbstractWorkerF
actory.java:92) ~[grinder-core-3.9.1.jar:na]
        at net.grinder.engine.agent.WorkerLauncher.startSomeWorkers(WorkerLaunch
er.java:103) ~[grinder-core-3.9.1.jar:na]
        at net.grinder.engine.agent.WorkerLauncher.startAllWorkers(WorkerLaunche
r.java:91) ~[grinder-core-3.9.1.jar:na]
        at net.grinder.engine.agent.AgentImplementationEx.run(AgentImplementatio
nEx.java:280) ~[ngrinder-core-3.1.1.jar:na]
        at net.grinder.AgentDaemon$AgentThreadRunnable.run(AgentDaemon.java:138)
 [ngrinder-core-3.1.1.jar:na]
        at java.lang.Thread.run(Unknown Source) [na:1.6.0_35]
Caused by: net.grinder.communication.CommunicationException: Exception whilst se
nding message
        at net.grinder.communication.AbstractSender.send(AbstractSender.java:57)
 ~[grinder-core-3.9.1.jar:na]
        at net.grinder.engine.agent.AbstractWorkerFactory.create(AbstractWorkerF
actory.java:88) ~[grinder-core-3.9.1.jar:na]
        ... 5 common frames omitted
Caused by: java.io.IOException: 파이프가 끝났습니다
        at java.io.FileOutputStream.writeBytes(Native Method) ~[na:1.6.0_35]
        at java.io.FileOutputStream.write(Unknown Source) ~[na:1.6.0_35]
        at java.io.BufferedOutputStream.flushBuffer(Unknown Source) ~[na:1.6.0_3
5]
        at java.io.BufferedOutputStream.flush(Unknown Source) ~[na:1.6.0_35]
        at java.io.BufferedOutputStream.flush(Unknown Source) ~[na:1.6.0_35]
        at java.io.ObjectOutputStream$BlockDataOutputStream.flush(Unknown Source
) ~[na:1.6.0_35]
        at java.io.ObjectOutputStream.flush(Unknown Source) ~[na:1.6.0_35]
        at net.grinder.communication.AbstractSender.writeMessageToStream(Abstrac
tSender.java:90) ~[grinder-core-3.9.1.jar:na]
        at net.grinder.communication.StreamSender.writeMessage(StreamSender.java
:70) ~[grinder-core-3.9.1.jar:na]
        at net.grinder.communication.AbstractSender.send(AbstractSender.java:53)
 ~[grinder-core-3.9.1.jar:na]
        ... 6 common frames omitted
2013-02-05 17:41:22,562 INFO  net.grinder.AgentDaemon: communication shut down
2013-02-05 17:41:22,568 INFO  net.grinder.AgentDaemon: finished
2013-02-05 17:41:22,572 INFO  agent controller: send log for test_2
       
       
                        If you reply to this email, your message will be added to the discussion below: http://ngrinder.642.n7.nabble.com/-tp256.html                                To start a new topic under ngrinder-user-kr, email ml-node+s642n113h63@n7.nabble.com
                To unsubscribe from ngrinder, click here.
                NAML
Reply | Threaded
Open this post in threaded view
|

Re: 기본 성능시험 오류 발생좀 봐주세요.

jiwon jo
In reply to this post by Alicee
JDK설치하기는 다음 URL을 참고하세요.
http://junoyoon.tistory.com/entry/nGrinder-JDK-바로-설치하기
Reply | Threaded
Open this post in threaded view
|

Re: 기본 성능시험 오류 발생좀 봐주세요.

Alicee
답변 감사합니다.
JDK Path를 다시 잡고 시험했더니 위와 같은 오류 발생하지 않네요.
그런데,, 다른 오류가 발생하네요.

Agent 1, Thread 4로 설정하고 10초동안 실행시켰는데
다음과 같은 오류가 발생합니다.
이유가 뭘까요? ㅜㅜ 답변 부탁드려요.

2013-02-13 13:12:01,585 INFO  net.grinder.AgentDaemon: received a stop message
2013-02-13 13:12:01,587 INFO  net.grinder.AgentDaemon: dont start anymore by message from controller.
2013-02-13 13:12:01,607 INFO  net.grinder.AgentDaemon: communication shut down
2013-02-13 13:12:01,885 ERROR net.grinder.AgentDaemon: Error while pumping up the AgentPrcessReportMessage
2013-02-13 13:12:02,135 ERROR worker-bootstrap: Error running worker process
net.grinder.communication.CommunicationException: Exception whilst sending message
        at net.grinder.communication.AbstractSender.send(AbstractSender.java:57)
 ~[grinder-core-3.9.1.jar:na]
        at net.grinder.communication.QueuedSenderDecorator.flush(QueuedSenderDec
orator.java:60) ~[grinder-core-3.9.1.jar:na]
        at net.grinder.engine.process.GrinderProcess.sendStatusMessage(GrinderPr
ocess.java:619) ~[grinder-3.9.1-patch.jar:na]
        at net.grinder.engine.process.GrinderProcess.run(GrinderProcess.java:409
) ~[grinder-3.9.1-patch.jar:na]
        at net.grinder.engine.process.WorkerProcessEntryPoint.run(WorkerProcessE
ntryPoint.java:87) [grinder-core-3.9.1.jar:na]
        at net.grinder.engine.process.WorkerProcessEntryPoint.main(WorkerProcess
EntryPoint.java:60) [grinder-core-3.9.1.jar:na]
Caused by: java.net.SocketException: Software caused connection abort: socket wr
ite error
        at java.net.SocketOutputStream.socketWrite0(Native Method) ~[na:1.6.0_35
]
        at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92) ~
[na:1.6.0_35]
        at java.net.SocketOutputStream.write(SocketOutputStream.java:136) ~[na:1
.6.0_35]
        at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65
) ~[na:1.6.0_35]
        at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123) ~[n
a:1.6.0_35]
        at java.io.ObjectOutputStream$BlockDataOutputStream.flush(ObjectOutputSt
ream.java:1793) ~[na:1.6.0_35]
        at java.io.ObjectOutputStream.flush(ObjectOutputStream.java:699) ~[na:1.
6.0_35]
        at net.grinder.communication.AbstractSender.writeMessageToStream(Abstrac
tSender.java:90) ~[grinder-core-3.9.1.jar:na]
        at net.grinder.communication.StreamSender.writeMessage(StreamSender.java
:70) ~[grinder-core-3.9.1.jar:na]
        at net.grinder.communication.AbstractSender.send(AbstractSender.java:53)
 ~[grinder-core-3.9.1.jar:na]
        ... 5 common frames omitted
2013-02-13 13:12:02,140 ERROR worker-bootstrap: Error running worker process
net.grinder.communication.CommunicationException: Exception whilst sending messa
ge
        at net.grinder.communication.AbstractSender.send(AbstractSender.java:57)
 ~[grinder-core-3.9.1.jar:na]
        at net.grinder.communication.QueuedSenderDecorator.flush(QueuedSenderDec
orator.java:60) ~[grinder-core-3.9.1.jar:na]
        at net.grinder.engine.process.GrinderProcess.sendStatusMessage(GrinderPr
ocess.java:619) ~[grinder-3.9.1-patch.jar:na]
        at net.grinder.engine.process.GrinderProcess.run(GrinderProcess.java:409
) ~[grinder-3.9.1-patch.jar:na]
        at net.grinder.engine.process.WorkerProcessEntryPoint.run(WorkerProcessE
ntryPoint.java:87) [grinder-core-3.9.1.jar:na]
        at net.grinder.engine.process.WorkerProcessEntryPoint.main(WorkerProcess
EntryPoint.java:60) [grinder-core-3.9.1.jar:na]
Caused by: java.net.SocketException: Software caused connection abort: socket wr
ite error
        at java.net.SocketOutputStream.socketWrite0(Native Method) ~[na:1.6.0_35
]
        at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92) ~
[na:1.6.0_35]
        at java.net.SocketOutputStream.write(SocketOutputStream.java:136) ~[na:1
.6.0_35]
        at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65
) ~[na:1.6.0_35]
        at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123) ~[n
a:1.6.0_35]
        at java.io.ObjectOutputStream$BlockDataOutputStream.flush(ObjectOutputSt
ream.java:1793) ~[na:1.6.0_35]
        at java.io.ObjectOutputStream.flush(ObjectOutputStream.java:699) ~[na:1.
6.0_35]
        at net.grinder.communication.AbstractSender.writeMessageToStream(Abstrac
tSender.java:90) ~[grinder-core-3.9.1.jar:na]
        at net.grinder.communication.StreamSender.writeMessage(StreamSender.java
:70) ~[grinder-core-3.9.1.jar:na]
        at net.grinder.communication.AbstractSender.send(AbstractSender.java:53)
 ~[grinder-core-3.9.1.jar:na]
        ... 5 common frames omitted
2013-02-13 13:12:02,526 INFO  net.grinder.AgentDaemon: all workers are finished
2013-02-13 13:12:02,532 INFO  net.grinder.AgentDaemon: finished
2013-02-13 13:12:02,533 INFO  agent controller: send log for test_65
Reply | Threaded
Open this post in threaded view
|

Re: 기본 성능시험 오류 발생좀 봐주세요.

junoyoon
Administrator

혹시 에이전트와 컨트롤러를 한 PC에 넣고 하시는지요?

아래 메시지는 OS가 처리할 수 있는 범위를 벗어난 소켓 통신을 시도할 때 주로 발생합니다.

아래 메시지가 큰 문제는 되지는 않습니다... 3~4번 정도 연속으로 일어나지 않으면 단순히 에러만 출력하고 다음 처리를 계속합니다.

10초가 아닌 약 1분 정도 잡으시고 실행해 보세요.

 

혹시 현재 OS가 어떻게 되시나요? 리눅스에 설치하시 하시거나 컨트롤러와 에이전트를 서로 다른 PC에 설치하실 것을 권장드립니다.

 

-----Original Message-----
From: "Alicee [via ngrinder]"<[hidden email]>
To: "junoyoon"<[hidden email]>;
Cc:
Sent: 2013-02-13 (수) 13:15:18
Subject: Re: 기본 성능시험 오류 발생좀 봐주세요.

답변 감사합니다.
JDK Path를 다시 잡고 시험했더니 위와 같은 오류 발생하지 않네요.
그런데,, 다른 오류가 발생하네요.

Agent 1, Thread 4로 설정하고 10초동안 실행시켰는데
다음과 같은 오류가 발생합니다.
이유가 뭘까요? ㅜㅜ 답변 부탁드려요.

2013-02-13 13:12:01,585 INFO  net.grinder.AgentDaemon: received a stop message
2013-02-13 13:12:01,587 INFO  net.grinder.AgentDaemon: dont start anymore by message from controller.
2013-02-13 13:12:01,607 INFO  net.grinder.AgentDaemon: communication shut down
2013-02-13 13:12:01,885 ERROR net.grinder.AgentDaemon: Error while pumping up the AgentPrcessReportMessage
2013-02-13 13:12:02,135 ERROR worker-bootstrap: Error running worker process
net.grinder.communication.CommunicationException: Exception whilst sending message
        at net.grinder.communication.AbstractSender.send(AbstractSender.java:57)
 ~[grinder-core-3.9.1.jar:na]
        at net.grinder.communication.QueuedSenderDecorator.flush(QueuedSenderDec
orator.java:60) ~[grinder-core-3.9.1.jar:na]
        at net.grinder.engine.process.GrinderProcess.sendStatusMessage(GrinderPr
ocess.java:619) ~[grinder-3.9.1-patch.jar:na]
        at net.grinder.engine.process.GrinderProcess.run(GrinderProcess.java:409
) ~[grinder-3.9.1-patch.jar:na]
        at net.grinder.engine.process.WorkerProcessEntryPoint.run(WorkerProcessE
ntryPoint.java:87) [grinder-core-3.9.1.jar:na]
        at net.grinder.engine.process.WorkerProcessEntryPoint.main(WorkerProcess
EntryPoint.java:60) [grinder-core-3.9.1.jar:na]
Caused by: java.net.SocketException: Software caused connection abort: socket wr
ite error
        at java.net.SocketOutputStream.socketWrite0(Native Method) ~[na:1.6.0_35
]
        at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92) ~
[na:1.6.0_35]
        at java.net.SocketOutputStream.write(SocketOutputStream.java:136) ~[na:1
.6.0_35]
        at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65
) ~[na:1.6.0_35]
        at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123) ~[n
a:1.6.0_35]
        at java.io.ObjectOutputStream$BlockDataOutputStream.flush(ObjectOutputSt
ream.java:1793) ~[na:1.6.0_35]
        at java.io.ObjectOutputStream.flush(ObjectOutputStream.java:699) ~[na:1.
6.0_35]
        at net.grinder.communication.AbstractSender.writeMessageToStream(Abstrac
tSender.java:90) ~[grinder-core-3.9.1.jar:na]
        at net.grinder.communication.StreamSender.writeMessage(StreamSender.java
:70) ~[grinder-core-3.9.1.jar:na]
        at net.grinder.communication.AbstractSender.send(AbstractSender.java:53)
 ~[grinder-core-3.9.1.jar:na]
        ... 5 common frames omitted
2013-02-13 13:12:02,140 ERROR worker-bootstrap: Error running worker process
net.grinder.communication.CommunicationException: Exception whilst sending messa
ge
        at net.grinder.communication.AbstractSender.send(AbstractSender.java:57)
 ~[grinder-core-3.9.1.jar:na]
        at net.grinder.communication.QueuedSenderDecorator.flush(QueuedSenderDec
orator.java:60) ~[grinder-core-3.9.1.jar:na]
        at net.grinder.engine.process.GrinderProcess.sendStatusMessage(GrinderPr
ocess.java:619) ~[grinder-3.9.1-patch.jar:na]
        at net.grinder.engine.process.GrinderProcess.run(GrinderProcess.java:409
) ~[grinder-3.9.1-patch.jar:na]
        at net.grinder.engine.process.WorkerProcessEntryPoint.run(WorkerProcessE
ntryPoint.java:87) [grinder-core-3.9.1.jar:na]
        at net.grinder.engine.process.WorkerProcessEntryPoint.main(WorkerProcess
EntryPoint.java:60) [grinder-core-3.9.1.jar:na]
Caused by: java.net.SocketException: Software caused connection abort: socket wr
ite error
        at java.net.SocketOutputStream.socketWrite0(Native Method) ~[na:1.6.0_35
]
        at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92) ~
[na:1.6.0_35]
        at java.net.SocketOutputStream.write(SocketOutputStream.java:136) ~[na:1
.6.0_35]
        at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65
) ~[na:1.6.0_35]
        at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123) ~[n
a:1.6.0_35]
        at java.io.ObjectOutputStream$BlockDataOutputStream.flush(ObjectOutputSt
ream.java:1793) ~[na:1.6.0_35]
        at java.io.ObjectOutputStream.flush(ObjectOutputStream.java:699) ~[na:1.
6.0_35]
        at net.grinder.communication.AbstractSender.writeMessageToStream(Abstrac
tSender.java:90) ~[grinder-core-3.9.1.jar:na]
        at net.grinder.communication.StreamSender.writeMessage(StreamSender.java
:70) ~[grinder-core-3.9.1.jar:na]
        at net.grinder.communication.AbstractSender.send(AbstractSender.java:53)
 ~[grinder-core-3.9.1.jar:na]
        ... 5 common frames omitted
2013-02-13 13:12:02,526 INFO  net.grinder.AgentDaemon: all workers are finished
2013-02-13 13:12:02,532 INFO  net.grinder.AgentDaemon: finished
2013-02-13 13:12:02,533 INFO  agent controller: send log for test_65



If you reply to this email, your message will be added to the discussion below:
http://ngrinder.642.n7.nabble.com/-tp256p295.html
To start a new topic under ngrinder-user-kr, email [hidden email]
To unsubscribe from ngrinder-user-kr, click here.
NAML
Reply | Threaded
Open this post in threaded view
|

Re: 기본 성능시험 오류 발생좀 봐주세요.

Alicee
네. 에이전트와 컨트롤러를 한 PC에 넣고 수행했습니다.

말씀하신대로 테스트 수행 시간을 1분으로 설정하고 수행하니 에러가 발생하지 않네요.

다음에는 에이전트와 컨트롤러를 다른 PC에 설치해서 사용해봐야겠네요.

감사합니다.^^