You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Asankha C. Perera (JIRA)" <ji...@apache.org> on 2008/05/08 06:10:56 UTC

[jira] Resolved: (SYNAPSE-287) An Invalid configuration can lead to lockup

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

Asankha C. Perera resolved SYNAPSE-287.
---------------------------------------

    Resolution: Invalid

This is not a defect with Synapse. When load testing the tools and the environment must be prepared to make accurate measurements. Else the observations will be erroneous and misleading. 

In this case, it was most probably the fact of running a JMeter script on a Windows host that pushed that machine to behave badly, reducing the TPS to the extent that looked like Synapse was locked when infact it was fine.

It has now been confirmed that with proper tuning, and better OS environments, this test passes without any errors

> An Invalid configuration can lead to lockup
> -------------------------------------------
>
>                 Key: SYNAPSE-287
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-287
>             Project: Synapse
>          Issue Type: Bug
>          Components: Transports
>    Affects Versions: 1.1.1
>         Environment: Windows XP SP2, JDK SUN 1.5.0_15
> Ubuntu Server 6.10, JDK SUN 1.5.0_15
>            Reporter: Nicolas KOHUT
>            Assignee: Asankha C. Perera
>            Priority: Minor
>         Attachments: 10000_gros_message_KO_CPU.JPG, full_Linux.JPG, GipMock.war, read_time_out.JPG, synapse.xml, test de perf.jmx, too_main_files.JPG
>
>
> Synapse has some networks problems.
> When it is stressed, is freeze synapse in transport http.
> This behavior is obtained by influencing 2 parameters:
> - the number of competitors access (number of thread).
> - the size of messages sent.
>  
> More generally, the higher the speed is high (combination of 2 parameters above) synapse freezes more quickly.
> A simple test case (using JMeter):
> - Install distribution synapse-1.1.1 default.
> - Setting up a proxy with sequences in and out empty.
> - Launch a thread (1 single thread is sufficient ...) which calls the proxy with a message 6Ko infinite loop. The thread sits 100 ms between each call.
> Synapse must freeze (random) after about 2 000 calls (5 max 000).
> The freeze takes place at a rate of 7 messages (6Ko) per second ...
>  
> The only configuration synapse that I could find is the file in the folder synapse.properties Conf of synapse.
> This file can affect a pool of thread used by synapse. Increase the various parameters of the pool has no impact and does not correct the problem.
> Listed JVM, jconsole indicates that there is no leakage and no memory thread in deadlock.
> Finally, the synapse approved http requests with nio-http (I do not know more).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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