Agent Error (?) 질문입니다.

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

Agent Error (?) 질문입니다.

TuNa
안녕하세요.
nGrinder를 이용하여 테스트 중에 에러가 발생되면서 제대로 실행이 되지 않아 문의 드립니다.

증상을 말씀드리면
nGrinder가 작동될때도 있고 아예 시작도 안될때도 잇는데요..
아예 시작이 안될때는 Report화면 Logs에
Please wait and refresh again to get the log from agents. If there are no log retrieved even after several refresh, which means no log is transfered from agents due to agent errors
라고 뜨고 파란색동그라미가 깜빡거리다 바로 빨간색으로 넘어갑니다..

이런경우 말고 가끔 nGriner가 실행되면 아래와 같은 결과가 나옵니다.

아래는 Test에 사용한 Script입니다.
-------------------------------------------------------------
from net.grinder.script import Test
from net.grinder.plugin.http import HTTPRequest

from net.grinder.script.Grinder import grinder
from HTTPClient import NVPair
from java.util import Random, Date
from org.json import JSONObject

test1 = Test(1, "Session Server - Create TEST")

requestGet = test1.wrap(HTTPRequest(url="http://111.111.111.111:20081"))
logger = grinder.logger
random = Random()
randomKey = 0;
       
class TestRunner:
    def __init__(self):
        grinder.logger.info("Create Thread");

    def __call__(self):
        randomKey = random.nextInt(100000000)
        deviceKey = "\"deviceKey" + str(randomKey) + "\""
        grinder.statistics.delayReports = 1
        url = "/session/create"
        json = "{\"deviceKey\" :" + deviceKey + ", ""\"sessionInfo\" : { \"ID\" : \"k1\", \"sessionKey\" : \"sessionKey123123123\" } }"
               
        result = requestGet.POST(url, json, ( NVPair('Content-Type', 'application/json'), ))
               
        errorCode = JSONObject(result.text).get("errorCode")        
               
        if result.statusCode == 200 and errorCode == 0:
            grinder.statistics.forLastTest.success = 1        
           
        else :
            grinder.statistics.forLastTest.success = 0
            print errorCode
----------------------------------------------------

다음은 콘솔창에 출력되는 화면입니다.
.
.
.
2013-08-23 03:43:29,100 INFO  PSL06-0: Report to console failed
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(QueuedSenderDecorator.java:60) ~[grinder-core-3.9.1.jar:na]
        at net.grinder.engine.process.GrinderProcess.sendStatusMessage(GrinderProcess.java:568) ~[grinder-3.9.1-patch.jar:na]
        at net.grinder.engine.process.GrinderProcess.access$6(GrinderProcess.java:563) ~[grinder-3.9.1-patch.jar:na]
        at net.grinder.engine.process.GrinderProcess$ReportToConsoleTimerTask.run(GrinderProcess.java:552) ~[grinder-3.9.1-patch.jar:na]
        at java.util.TimerThread.mainLoop(Timer.java:555) ~[na:1.7.0_25]
        at java.util.TimerThread.run(Timer.java:505) ~[na:1.7.0_25]
Caused by: java.net.SocketException: Connection reset
        at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:113) ~[na:1.7.0_25]
        at java.net.SocketOutputStream.write(SocketOutputStream.java:153) ~[na:1.7.0_25]
        at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82) ~[na:1.7.0_25]
        at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140) ~[na:1.7.0_25]
        at java.io.ObjectOutputStream$BlockDataOutputStream.flush(ObjectOutputStream.java:1816) ~[na:1.7.0_25]
        at java.io.ObjectOutputStream.flush(ObjectOutputStream.java:716) ~[na:1.7.0_25]
        at net.grinder.communication.AbstractSender.writeMessageToStream(AbstractSender.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-08-23 03:43:29,100 INFO  PSL06-6: Report to console failed
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(QueuedSenderDecorator.java:60) ~[grinder-core-3.9.1.jar:na]
        at net.grinder.engine.process.GrinderProcess.sendStatusMessage(GrinderProcess.java:568) ~[grinder-3.9.1-patch.jar:na]
        at net.grinder.engine.process.GrinderProcess.access$6(GrinderProcess.java:563) ~[grinder-3.9.1-patch.jar:na]
        at net.grinder.engine.process.GrinderProcess$ReportToConsoleTimerTask.run(GrinderProcess.java:552) ~[grinder-3.9.1-patch.jar:na]
        at java.util.TimerThread.mainLoop(Timer.java:555) ~[na:1.7.0_25]
        at java.util.TimerThread.run(Timer.java:505) ~[na:1.7.0_25]
Caused by: java.net.SocketException: Connection reset
        at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:113) ~[na:1.7.0_25]
        at java.net.SocketOutputStream.write(SocketOutputStream.java:153) ~[na:1.7.0_25]
        at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82) ~[na:1.7.0_25]
        at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140) ~[na:1.7.0_25]
        at java.io.ObjectOutputStream$BlockDataOutputStream.flush(ObjectOutputStream.java:1816) ~[na:1.7.0_25]
        at java.io.ObjectOutputStream.flush(ObjectOutputStream.java:716) ~[na:1.7.0_25]
        at net.grinder.communication.AbstractSender.writeMessageToStream(AbstractSender.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-08-23 03:43:29,101 INFO  PSL06-4: Report to console failed
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(QueuedSenderDecorator.java:60) ~[grinder-core-3.9.1.jar:na]
        at net.grinder.engine.process.GrinderProcess.sendStatusMessage(GrinderProcess.java:568) ~[grinder-3.9.1-patch.jar:na]
        at net.grinder.engine.process.GrinderProcess.access$6(GrinderProcess.java:563) ~[grinder-3.9.1-patch.jar:na]
        at net.grinder.engine.process.GrinderProcess$ReportToConsoleTimerTask.run(GrinderProcess.java:552) ~[grinder-3.9.1-patch.jar:na]
        at java.util.TimerThread.mainLoop(Timer.java:555) ~[na:1.7.0_25]
        at java.util.TimerThread.run(Timer.java:505) ~[na:1.7.0_25]
Caused by: java.net.SocketException: Connection reset
        at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:113) ~[na:1.7.0_25]
        at java.net.SocketOutputStream.write(SocketOutputStream.java:153) ~[na:1.7.0_25]
        at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82) ~[na:1.7.0_25]
        at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140) ~[na:1.7.0_25]
        at java.io.ObjectOutputStream$BlockDataOutputStream.flush(ObjectOutputStream.java:1816) ~[na:1.7.0_25]
        at java.io.ObjectOutputStream.flush(ObjectOutputStream.java:716) ~[na:1.7.0_25]
        at net.grinder.communication.AbstractSender.writeMessageToStream(AbstractSender.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-08-23 03:43:29,104 INFO  net.grinder.AgentDaemon: received a stop message
2013-08-23 03:43:29,105 INFO  net.grinder.AgentDaemon: dont start anymore by message from controller.
2013-08-23 03:43:29,107 INFO  net.grinder.AgentDaemon: communication shut down
2013-08-23 03:43:29,108 INFO  PSL06-4: waiting for threads to terminate
2013-08-23 03:43:29,108 INFO  PSL06-6: waiting for threads to terminate
2013-08-23 03:43:29,109 INFO  PSL06-7: waiting for threads to terminate
2013-08-23 03:43:29,109 INFO  PSL06-3: waiting for threads to terminate
2013-08-23 03:43:29,110 INFO  PSL06-1: waiting for threads to terminate
2013-08-23 03:43:29,134 INFO  PSL06-0: waiting for threads to terminate
2013-08-23 03:43:29,157 INFO  PSL06-5: waiting for threads to terminate
2013-08-23 03:43:29,159 INFO  PSL06-2: waiting for threads to terminate
2013-08-23 03:43:29,160 INFO  PSL06-2: Report to console failed
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(QueuedSenderDecorator.java:60) ~[grinder-core-3.9.1.jar:na]
        at net.grinder.engine.process.GrinderProcess.sendStatusMessage(GrinderProcess.java:568) ~[grinder-3.9.1-patch.jar:na]
        at net.grinder.engine.process.GrinderProcess.access$6(GrinderProcess.java:563) ~[grinder-3.9.1-patch.jar:na]
        at net.grinder.engine.process.GrinderProcess$ReportToConsoleTimerTask.run(GrinderProcess.java:552) ~[grinder-3.9.1-patch.jar:na]
        at java.util.TimerThread.mainLoop(Timer.java:555) ~[na:1.7.0_25]
        at java.util.TimerThread.run(Timer.java:505) ~[na:1.7.0_25]
Caused by: java.net.SocketException: Connection reset
        at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:113) ~[na:1.7.0_25]
        at java.net.SocketOutputStream.write(SocketOutputStream.java:153) ~[na:1.7.0_25]
        at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82) ~[na:1.7.0_25]
        at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140) ~[na:1.7.0_25]
        at java.io.ObjectOutputStream$BlockDataOutputStream.flush(ObjectOutputStream.java:1816) ~[na:1.7.0_25]
        at java.io.ObjectOutputStream.flush(ObjectOutputStream.java:716) ~[na:1.7.0_25]
        at net.grinder.communication.AbstractSender.writeMessageToStream(AbstractSender.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-08-23 03:43:29,340 INFO  PSL06-3: Report to console failed
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(QueuedSenderDecorator.java:60) ~[grinder-core-3.9.1.jar:na]
        at net.grinder.engine.process.GrinderProcess.sendStatusMessage(GrinderProcess.java:568) ~[grinder-3.9.1-patch.jar:na]
        at net.grinder.engine.process.GrinderProcess.access$6(GrinderProcess.java:563) ~[grinder-3.9.1-patch.jar:na]
        at net.grinder.engine.process.GrinderProcess$ReportToConsoleTimerTask.run(GrinderProcess.java:552) ~[grinder-3.9.1-patch.jar:na]
        at java.util.TimerThread.mainLoop(Timer.java:555) ~[na:1.7.0_25]
        at java.util.TimerThread.run(Timer.java:505) ~[na:1.7.0_25]
Caused by: java.net.SocketException: Connection reset
        at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:113) ~[na:1.7.0_25]
        at java.net.SocketOutputStream.write(SocketOutputStream.java:153) ~[na:1.7.0_25]
        at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82) ~[na:1.7.0_25]
        at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140) ~[na:1.7.0_25]
        at java.io.ObjectOutputStream$BlockDataOutputStream.flush(ObjectOutputStream.java:1816) ~[na:1.7.0_25]
        at java.io.ObjectOutputStream.flush(ObjectOutputStream.java:716) ~[na:1.7.0_25]
        at net.grinder.communication.AbstractSender.writeMessageToStream(AbstractSender.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-08-23 03:43:29,356 INFO  PSL06-7: Report to console failed
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(QueuedSenderDecorator.java:60) ~[grinder-core-3.9.1.jar:na]
        at net.grinder.engine.process.GrinderProcess.sendStatusMessage(GrinderProcess.java:568) ~[grinder-3.9.1-patch.jar:na]
        at net.grinder.engine.process.GrinderProcess.access$6(GrinderProcess.java:563) ~[grinder-3.9.1-patch.jar:na]
        at net.grinder.engine.process.GrinderProcess$ReportToConsoleTimerTask.run(GrinderProcess.java:552) ~[grinder-3.9.1-patch.jar:na]
        at java.util.TimerThread.mainLoop(Timer.java:555) ~[na:1.7.0_25]
        at java.util.TimerThread.run(Timer.java:505) ~[na:1.7.0_25]
Caused by: java.net.SocketException: Connection reset
        at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:113) ~[na:1.7.0_25]
        at java.net.SocketOutputStream.write(SocketOutputStream.java:153) ~[na:1.7.0_25]
        at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82) ~[na:1.7.0_25]
        at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140) ~[na:1.7.0_25]
        at java.io.ObjectOutputStream$BlockDataOutputStream.flush(ObjectOutputStream.java:1816) ~[na:1.7.0_25]
        at java.io.ObjectOutputStream.flush(ObjectOutputStream.java:716) ~[na:1.7.0_25]
        at net.grinder.communication.AbstractSender.writeMessageToStream(AbstractSender.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-08-23 03:43:29,381 INFO  PSL06-5: Report to console failed
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(QueuedSenderDecorator.java:60) ~[grinder-core-3.9.1.jar:na]
        at net.grinder.engine.process.GrinderProcess.sendStatusMessage(GrinderProcess.java:568) ~[grinder-3.9.1-patch.jar:na]
        at net.grinder.engine.process.GrinderProcess.access$6(GrinderProcess.java:563) ~[grinder-3.9.1-patch.jar:na]
        at net.grinder.engine.process.GrinderProcess$ReportToConsoleTimerTask.run(GrinderProcess.java:552) ~[grinder-3.9.1-patch.jar:na]
        at java.util.TimerThread.mainLoop(Timer.java:555) ~[na:1.7.0_25]
        at java.util.TimerThread.run(Timer.java:505) ~[na:1.7.0_25]
Caused by: java.net.SocketException: Connection reset
        at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:113) ~[na:1.7.0_25]
        at java.net.SocketOutputStream.write(SocketOutputStream.java:153) ~[na:1.7.0_25]
        at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82) ~[na:1.7.0_25]
        at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140) ~[na:1.7.0_25]
        at java.io.ObjectOutputStream$BlockDataOutputStream.flush(ObjectOutputStream.java:1816) ~[na:1.7.0_25]
        at java.io.ObjectOutputStream.flush(ObjectOutputStream.java:716) ~[na:1.7.0_25]
        at net.grinder.communication.AbstractSender.writeMessageToStream(AbstractSender.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-08-23 03:43:29,517 INFO  PSL06-1: Report to console failed
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(QueuedSenderDecorator.java:60) ~[grinder-core-3.9.1.jar:na]
        at net.grinder.engine.process.GrinderProcess.sendStatusMessage(GrinderProcess.java:568) ~[grinder-3.9.1-patch.jar:na]
        at net.grinder.engine.process.GrinderProcess.access$6(GrinderProcess.java:563) ~[grinder-3.9.1-patch.jar:na]
        at net.grinder.engine.process.GrinderProcess$ReportToConsoleTimerTask.run(GrinderProcess.java:552) ~[grinder-3.9.1-patch.jar:na]
        at java.util.TimerThread.mainLoop(Timer.java:555) ~[na:1.7.0_25]
        at java.util.TimerThread.run(Timer.java:505) ~[na:1.7.0_25]
Caused by: java.net.SocketException: Connection reset
        at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:113) ~[na:1.7.0_25]
        at java.net.SocketOutputStream.write(SocketOutputStream.java:153) ~[na:1.7.0_25]
        at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82) ~[na:1.7.0_25]
        at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140) ~[na:1.7.0_25]
        at java.io.ObjectOutputStream$BlockDataOutputStream.flush(ObjectOutputStream.java:1816) ~[na:1.7.0_25]
        at java.io.ObjectOutputStream.flush(ObjectOutputStream.java:716) ~[na:1.7.0_25]
        at net.grinder.communication.AbstractSender.writeMessageToStream(AbstractSender.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-08-23 03:43:30,000 ERROR net.grinder.AgentDaemon: Error while pumping up the AgentPrcessReportMessage
2013-08-23 03:43:30,088 INFO  PSL06-2: finished
2013-08-23 03:43:30,090 INFO  PSL06-5: finished
2013-08-23 03:43:30,094 INFO  PSL06-1: finished
2013-08-23 03:43:30,094 INFO  PSL06-0: finished
2013-08-23 03:43:30,095 INFO  PSL06-6: finished
2013-08-23 03:43:30,096 INFO  PSL06-4: finished
2013-08-23 03:43:30,097 INFO  PSL06-3: finished
2013-08-23 03:43:30,098 INFO  PSL06-7: finished
2013-08-23 03:43:30,421 INFO  net.grinder.AgentDaemon: all workers are finished
2013-08-23 03:43:30,422 INFO  net.grinder.AgentDaemon: finished
2013-08-23 03:43:30,422 INFO  agent controller: send log for test_1904

------------------

적다 보니 내용이 길어졌네요..ㅠ
이틀정도 헤매다 도움받고자 질문글 올립니다.. 감사합니다.
Reply | Threaded
Open this post in threaded view
|

RE: Agent Error (?) 질문입니다.

junoyoon
Administrator
혹시 윈도우 인가요?
Reply | Threaded
Open this post in threaded view
|

RE: Agent Error (?) 질문입니다.

TuNa
지금 생각해보니.. 컨트롤러는 윈도우에서 돌리고 에이전트는 리눅스에서 실행했는데..
그게 문제될수도 있을 것 같네요.
Reply | Threaded
Open this post in threaded view
|

RE: Agent Error (?) 질문입니다.

junoyoon
Administrator
일단 아래와 같은 메시지는... 에이전트에 프로세스를 과도하게 실행시켰을때 생길 수 있습니다. 프로세스를 10개 이상 띄우면, OS 에 의해 문제가 발생하는 경우가 많습니다.

Please wait and refresh again to get the log from agents. If there are no log retrieved even after several refresh, which means no log is transfered from agents due to agent errors


그리고 에이전트가 너무도 많은 트래픽을 생성할 경우, 컨트롤러로 보내는 HeartBeat 패킷중 일부가 손실되어 말씀 하신 에러가 발생할수도 있습니다. 컨트롤러는 어느 정도까지는 해당 HeartBeat 메시지가 유실되더라도 이를 이해하고 진행하나, HeartBeat 메시지가 지속적으로 유실되면, 에이전트에 중단 명령을 내립니다.

지금 상황에서는 에이전트가 과도한 트래픽(OS가 핸들하지 못하는)를 발생시키고 있는 듯 한데... 어느 정도의 Rx/TX 값을 보이는지 확인 부탁드립니다.

그리고, 지금 사용하시는 ngrinder 버전이 어떻게 되나요?
Reply | Threaded
Open this post in threaded view
|

RE: Agent Error (?) 질문입니다.

junoyoon
Administrator
In reply to this post by TuNa
그리고 하나더.. 혹시 컨트롤러 자바와 에이전트 자바가 서로 버전이 다른가요?

Reply | Threaded
Open this post in threaded view
|

RE: Agent Error (?) 질문입니다.

TuNa
둘다 같은 자바 버젼이고, ngrinder는 3.2.1쓰고 있습니다..

현재는 컨트롤러 에이전트 둘다 윈도우환경에서 돌려보고 있는데 질문드린것과 같은 오류는 안나네요.

다른 문제점은..

컨트롤러 1대에 에이전트가 5대이고
각 에이전트당 프로세스16, 스레드 37개로 서버 부하테스트를 해보고 있는데
에이전트의 CPU사용량이 10프로가 안되네요.
그래서 vuser수를 1000명이상 늘리면 죽어버리는 현상이 발생되네요..

음, 댓글에 달아주신것 처럼 프로세스수를 줄이고 스레드 수를 늘려서 해봐야겠네요.
Reply | Threaded
Open this post in threaded view
|

RE: Agent Error (?) 질문입니다.

junoyoon
Administrator
아무래도 과거 버전에서 업글 하신듯 합니다.

${ngrinder_home}/process_and_thread_policy.js 를 지우신후, 컨트롤러를 재시작 하시면,
최신 버전(process 최대치를 10개로 제한) 의 process_and_thread_policy.js 가 설치됩니다.

저희 테스트결과 에이전트 1대당 6000 vuser 까지는 실행되었습니다.
(Groovy, 4GRAM, 2 Core Linux 64 bit)