[JBoss JIRA] Created: (JBMESSAGING-1400) Allow users to configure a system wide maximum connection limit
by Jay Howell (JIRA)
Allow users to configure a system wide maximum connection limit
---------------------------------------------------------------
Key: JBMESSAGING-1400
URL: https://jira.jboss.org/jira/browse/JBMESSAGING-1400
Project: JBoss Messaging
Issue Type: Feature Request
Reporter: Jay Howell
Assignee: Tim Fox
Fix For: 2.0.0. GA
Many users are complaining of errors that say "Too many open files", which comes from the number of sockets open during jms processing. It's currently possible to run the system out of resources. We currently only have control of this through the remoting/netty/mina layer. We should have a setting in JBM that limits the number of connections systemwide, that is independent of the remoting protocol/package. This way users wouldn't have to keep learning a new package/configuration setting each time the communications package changes in jbm.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 11 months
[JBoss JIRA] Created: (JBMESSAGING-1686) Add more transactional options for the JCA adapter
by Clebert Suconic (JIRA)
Add more transactional options for the JCA adapter
--------------------------------------------------
Key: JBMESSAGING-1686
URL: https://jira.jboss.org/jira/browse/JBMESSAGING-1686
Project: JBoss Messaging
Issue Type: Feature Request
Reporter: Clebert Suconic
Assignee: Clebert Suconic
Fix For: 2.0.0
It should be possible to configure transactions for MDBs in a better fashion. Like receiving messages non-transactionally, or batching a number of transactions, even if this would mean non-compliant but activated by the user's choice.
We already have:
- Local Transaction
- XA Transaction
The options I'm thinking:
We should add:
- Batching transactions (commit on every X records... like most users do when processing a high number of messages outside the application server)
- NonTransactional (messages being received non transactionally.. what should be good for Non Persistent Messages)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 11 months
[JBoss JIRA] Created: (JBMESSAGING-1399) Allow users to configure a system wide maximum session limit
by Jay Howell (JIRA)
Allow users to configure a system wide maximum session limit
------------------------------------------------------------
Key: JBMESSAGING-1399
URL: https://jira.jboss.org/jira/browse/JBMESSAGING-1399
Project: JBoss Messaging
Issue Type: Feature Request
Components: Configuration and Management
Reporter: Jay Howell
Assignee: Tim Fox
Fix For: 2.0.0. GA
Goal: keep external/internal clients from running the system out of resources(threads/memory).
We currently have a problem where there is no limit to the number of sessions that can be created in the system. It would be theoretically possible to have an external client create 1 million sessions in one connection and run the sever out of resources. It's also possible to set the number of max sessions for an mdb high enough to run the system out of resources(threads/memory). We need to be able to set a limit for the number of sessions for the system.
I've looked at other Messaging systems, like IBM MQ and it seems that other systems have the same setting.
We've had users naively suggest that we could implement this by using a bounded thread pool. This seems too intrusive and too dangerous to do. This can be done by limiting the number of sessions in the system, which seems like a much better suggestion. This is much better than using a bounded thread pool for many reasons. A couple of the reasons is..
1. It doesn't expose the internal workings of JBM to the management console(leaky abstraction).
2. Users can understand a session limit easier than having to understand the internal thread pool implementation.
3. Doesn't incur deadlocks
4. Allows All clients to get back a message that says some thing like "Session limit reached".
JBM 2.0 uses an unbounded thread pool for threads, which addresses any concern any performance difficulties with creating and destroying threads. So now we can address the max number of threads in the system by configuring max sessions in the system.
Setting a session limit seems to be a more reasonable approach than the bounded thread pool
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 11 months