To replicate this:
I - Open org.jboss.messaging.tests.performance.paging.MeasurePagingMultiThreadTest
II - Change testPagingMultipleSenders to:
| public void testPagingMultipleSenders() throws Throwable
| {
|
| final int NUMBER_OF_THREADS = 18;
| final int NUMBER_OF_MESSAGES = 100;
| final int SIZE_OF_MESSAGE = 1024;
|
| Configuration config = createDefaultConfig();
|
| HashMap<String, QueueSettings> settings = new HashMap<String,
QueueSettings>();
|
| config.setPagingMaxGlobalSizeBytes(20 * 1024);
| config.setJournalSyncNonTransactional(true);
|
III - run the test inside Eclipse.
Wait some time...., and call the kill -3 on the process. (I aways do killall -3 java)
My disk is somewhat slow at sync, maybe because it is really syncing and not using any
caching. If you don't get the deadlock, use a higher number of Messages as your disk
may be faster.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4194201#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...