You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Lorenz Quack (JIRA)" <ji...@apache.org> on 2015/11/13 13:02:11 UTC

[jira] [Updated] (QPID-6804) PerfTests potentially underestimate consumtion rate

     [ https://issues.apache.org/jira/browse/QPID-6804?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lorenz Quack updated QPID-6804:
-------------------------------
    Attachment: 0001-QPID-6804-Java-Perftests-Ensure-ProducerParticipant-.patch

This should fix PerfTest failure of this sort: 
{noformat}
2015-11-12 20:51:51,060 ERROR [Thread-131-Producer_9] o.a.q.d.c.ParticipantExecutor Unhandled error: Unable to create and send message with producer: Producer_9 on session: producingSession_9
org.apache.qpid.disttest.DistributedTestException: Unable to create and send message with producer: Producer_9 on session: producingSession_9
	at org.apache.qpid.disttest.jms.ClientJmsDelegate.sendNextMessage(ClientJmsDelegate.java:444) ~[qpid-perftests-6.0.0-SNAPSHOT.jar:6.0.0-SNAPSHOT]
	at org.apache.qpid.disttest.client.ProducerParticipant.startTest(ProducerParticipant.java:135) ~[qpid-perftests-6.0.0-SNAPSHOT.jar:6.0.0-SNAPSHOT]
	at org.apache.qpid.disttest.client.ParticipantExecutor$ParticipantRunnable.runParticipantAndSendResults(ParticipantExecutor.java:91) [qpid-perftests-6.0.0-SNAPSHOT.jar:6.0.0-SNAPSHOT]
	at org.apache.qpid.disttest.client.ParticipantExecutor$ParticipantRunnable.run(ParticipantExecutor.java:75) [qpid-perftests-6.0.0-SNAPSHOT.jar:6.0.0-SNAPSHOT]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_67]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_67]
	at java.lang.Thread.run(Thread.java:745) [na:1.7.0_67]
Caused by: javax.jms.IllegalStateException: Object org.apache.qpid.client.AMQSession_0_10@354c0a31 has been closed
	at org.apache.qpid.client.Closeable.checkNotClosed(Closeable.java:62) ~[qpid-client-5.1.7-SNAPSHOT.jar:5.1.7-SNAPSHOT]
	at org.apache.qpid.client.AMQSession.checkNotClosed(AMQSession.java:472) ~[qpid-client-5.1.7-SNAPSHOT.jar:5.1.7-SNAPSHOT]
	at org.apache.qpid.client.AMQSession.createTextMessage(AMQSession.java:1527) ~[qpid-client-5.1.7-SNAPSHOT.jar:5.1.7-SNAPSHOT]
	at org.apache.qpid.disttest.client.MessageProvider.createTextMessage(MessageProvider.java:177) ~[qpid-perftests-6.0.0-SNAPSHOT.jar:6.0.0-SNAPSHOT]
	at org.apache.qpid.disttest.client.MessageProvider.nextMessage(MessageProvider.java:64) ~[qpid-perftests-6.0.0-SNAPSHOT.jar:6.0.0-SNAPSHOT]
	at org.apache.qpid.disttest.jms.ClientJmsDelegate.sendNextMessage(ClientJmsDelegate.java:423) ~[qpid-perftests-6.0.0-SNAPSHOT.jar:6.0.0-SNAPSHOT]
	... 6 common frames omitted
{noformat}

> PerfTests potentially underestimate consumtion rate
> ---------------------------------------------------
>
>                 Key: QPID-6804
>                 URL: https://issues.apache.org/jira/browse/QPID-6804
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Performance Tests
>            Reporter: Lorenz Quack
>            Priority: Minor
>         Attachments: 0001-QPID-6804-Java-Perftests-Change-ProducerParticipant-.patch, 0001-QPID-6804-Java-Perftests-Ensure-ProducerParticipant-.patch
>
>
> In a time-limited setup, the producer stops producing messages after the duration expired.
> It is possible that the consumer continues to try to consume messages after this point eventually draining the queue. This means it receives less messages than it could effectively reducing its reported consumption rate.
> Producers should continue to produce messages until they are notified by the controller that all consumers are done consuming.
> This could happen in the TearDownTest command or in a new StopTest command.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org