[JBoss JIRA] Created: (JBAS-4287) run.sh can consume 100% single CPU resources on Solaris
by Quenten Alick (JIRA)
run.sh can consume 100% single CPU resources on Solaris
-------------------------------------------------------
Key: JBAS-4287
URL: http://jira.jboss.com/jira/browse/JBAS-4287
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Other
Affects Versions: JBossAS-4.0.5.GA
Environment: Solaris on SPARC (version 9 & 10)
Reporter: Quenten Alick
When shutting down jboss the run.sh script remain alive and consumes 100% of a single CPUs resources. run.sh needs to be killed off.
To trigger the bug, you need to
1) set LAUNCH_JBOSS_IN_BACKGROUND
2) start the jboss server normally
3) Once it's started stop the server
At this point the JVM stops, however the run.sh script remains running consuming 100% of a single CPUs resources.
The problem seems to be this bit of script, plus the fact that the script shebang is #!/bin/sh
while [ "$WAIT_STATUS" -ne 127 ]; do
JBOSS_STATUS=$WAIT_STATUS
wait $JBOSS_PID 2>/dev/null
WAIT_STATUS=$?
done
On Solaris, /bin/sh is *real* bourne shell and the wait shell-built-in for /bin/sh on Solaris returns 0 (not 127) if the PID (passed as an argument) doesn't exist. The man page for wait states that this is the correct behaviour. Therefore wait returns 0 and the while loop continues forever burning up CPU resources (until you kill it with one of the signals not being trapped).
Here's a link to the patch that may have introduced the bug.
http://jira.jboss.com/jira/browse/JBAS-3748
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 2 months
[JBoss JIRA] Created: (JBCACHE-1274) Ability to configure zero nodes in memory for a region
by J B (JIRA)
Ability to configure zero nodes in memory for a region
------------------------------------------------------
Key: JBCACHE-1274
URL: http://jira.jboss.com/jira/browse/JBCACHE-1274
Project: JBoss Cache
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Eviction
Affects Versions: 2.0.0.GA
Reporter: J B
Assigned To: Manik Surtani
Priority: Minor
The ability to configure a region to have no nodes in memory. If you have a cache configured with a cacheloader and you for instance dont want a certain region to have any nodes in memory but just to load the data through the cacheloader. At the moment you cant set maxNodes=0, because this actually means, the region can grow to an unlimited size, so I would like the ability to be able to tell the cache that this region should have no nodes in memory.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 2 months
[JBoss JIRA] Created: (JBCACHE-1391) update documentation and FAQs
by Mircea Markus (JIRA)
update documentation and FAQs
-----------------------------
Key: JBCACHE-1391
URL: http://jira.jboss.com/jira/browse/JBCACHE-1391
Project: JBoss Cache
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Reporter: Mircea Markus
Assigned To: Manik Surtani
Fix For: 3.0.0.ALPHA1, 3.0.0.GA
Following should be updated in documentation:
1) document how the configuration will still accept old <mbean ... /> tags, but this is deprecated
2) document how the <mbean ... /> tag can cause problems with AS 5 (unintentional deployment), and how this can be done properly with the MC using the new <jbosscache ... /> tag
Notes:
Currently the XMLConfigurationParser looks for a <mbean ../> element, under which it pulls out more specific JBoss Cache elements.
This could easily change so the parser to accept this, or on failing to do so, to pick up a <jbosscache ... /> container element. And log a deprecation warning when using the old <mbean ... /> container tag.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 2 months