[JBoss JIRA] (JGRP-1912) LockService can fail under heavy load
by Chris Gentile (JIRA)
[ https://issues.jboss.org/browse/JGRP-1912?page=com.atlassian.jira.plugin.... ]
Chris Gentile commented on JGRP-1912:
-------------------------------------
I relocated the <CENTRAL_LOCK /> tag in my channel config and the problem goes away.
For anyone else that stumbles upon this thread:
The doc says:
"The locking protocol has to be placed at or towards the top of the stack (close to the channel)."
The stack is lowest-to-highest in channel config files, so "towards the top" is actually at the bottom of the file.
Then it is the last protocol to get added to the stack and is on top.
Bela,
Perhaps in the documentation you could elaborate on what "close to the channel" actually means.
Or perhaps an actual example might help.
The jgroups jar files seem to include several config files already (i.e.: udp.xml).
Perhaps you could include a locking.xml too?
Thanks,
Chris
> LockService can fail under heavy load
> -------------------------------------
>
> Key: JGRP-1912
> URL: https://issues.jboss.org/browse/JGRP-1912
> Project: JGroups
> Issue Type: Bug
> Affects Versions: 3.6.1
> Environment: both windows 8.1 and RHEL
> java 1.7.0_75
> Reporter: Chris Gentile
> Assignee: Bela Ban
> Fix For: 3.6.3
>
> Attachments: LockServiceTestClient.java, LockServiceTestClient.java, logFile, logFile2, runLockServiceTestClient.sh, udp.xml
>
>
> Once in awhile, the LockService will get stuck acquiring a lock.
> These seems to occur most often when two threads are simultaneously trying to acquire the same lock. (i.e.: exact same millisecond on a server with multiple processors).
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 4 months
[JBoss JIRA] (WFLY-4367) jboss-cli.xml should include timeout of 30 seconds
by Travis Rogers (JIRA)
[ https://issues.jboss.org/browse/WFLY-4367?page=com.atlassian.jira.plugin.... ]
Travis Rogers updated WFLY-4367:
--------------------------------
Attachment: loop-cli-cmd.sh
Test script
> jboss-cli.xml should include timeout of 30 seconds
> ---------------------------------------------------
>
> Key: WFLY-4367
> URL: https://issues.jboss.org/browse/WFLY-4367
> Project: WildFly
> Issue Type: Enhancement
> Components: CLI
> Affects Versions: 8.2.0.Final
> Reporter: Travis Rogers
> Assignee: Alexey Loubyansky
> Attachments: loop-cli-cmd.sh
>
>
> Description of problem:
> CLI commands use a default timeout of 5 seconds. Testing has shown that connection timeouts will occur with a timeout value this low. Recommended value is 30 seconds.
> The following default setting should be added to $JBOSS_HOME/bin/jboss-cli.xml:
> <connection-timeout>30000</connection-timeout>
> Version-Release number of selected component (if applicable):
> How to reproduce:
> Loop calling the CLI executing a command.
> Example command:
> jboss-cli.sh -c --command=":read-attribute(name=server-state)"
> Actual results:
> Connection timeout error will eventually be thrown.
> Expected results:
> No errors due to connection timeout.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 4 months
[JBoss JIRA] (WFLY-4367) jboss-cli.xml should include timeout of 30 seconds
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/WFLY-4367?page=com.atlassian.jira.plugin.... ]
RH Bugzilla Integration updated WFLY-4367:
------------------------------------------
Bugzilla Update: Perform
Bugzilla References: https://bugzilla.redhat.com/show_bug.cgi?id=1194359
> jboss-cli.xml should include timeout of 30 seconds
> ---------------------------------------------------
>
> Key: WFLY-4367
> URL: https://issues.jboss.org/browse/WFLY-4367
> Project: WildFly
> Issue Type: Enhancement
> Components: CLI
> Affects Versions: 8.2.0.Final
> Reporter: Travis Rogers
> Assignee: Alexey Loubyansky
>
> Description of problem:
> CLI commands use a default timeout of 5 seconds. Testing has shown that connection timeouts will occur with a timeout value this low. Recommended value is 30 seconds.
> The following default setting should be added to $JBOSS_HOME/bin/jboss-cli.xml:
> <connection-timeout>30000</connection-timeout>
> Version-Release number of selected component (if applicable):
> How to reproduce:
> Loop calling the CLI executing a command.
> Example command:
> jboss-cli.sh -c --command=":read-attribute(name=server-state)"
> Actual results:
> Connection timeout error will eventually be thrown.
> Expected results:
> No errors due to connection timeout.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 4 months
[JBoss JIRA] (WFLY-4367) jboss-cli.xml should include timeout of 30 seconds
by Travis Rogers (JIRA)
[ https://issues.jboss.org/browse/WFLY-4367?page=com.atlassian.jira.plugin.... ]
Travis Rogers updated WFLY-4367:
--------------------------------
Issue Type: Enhancement (was: Bug)
> jboss-cli.xml should include timeout of 30 seconds
> ---------------------------------------------------
>
> Key: WFLY-4367
> URL: https://issues.jboss.org/browse/WFLY-4367
> Project: WildFly
> Issue Type: Enhancement
> Components: CLI
> Affects Versions: 8.2.0.Final
> Reporter: Travis Rogers
> Assignee: Alexey Loubyansky
>
> Description of problem:
> CLI commands use a default timeout of 5 seconds. Testing has shown that connection timeouts will occur with a timeout value this low. Recommended value is 30 seconds.
> The following default setting should be added to $JBOSS_HOME/bin/jboss-cli.xml:
> <connection-timeout>30000</connection-timeout>
> Version-Release number of selected component (if applicable):
> How to reproduce:
> Loop calling the CLI executing a command.
> Example command:
> jboss-cli.sh -c --command=":read-attribute(name=server-state)"
> Actual results:
> Connection timeout error will eventually be thrown.
> Expected results:
> No errors due to connection timeout.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 4 months