Re: [External] - Re: Too Many Open Files error trying to start Artemis server from a SystemD service

2022-07-07 Thread Richard Bergmann
systemd unit file Regards, Le 07/07/2022 à 16:09, Richard Bergmann a écrit : > I have been struggling with the Too Many Open Files issue running Artemis as > a service within a service (if that is not confusing enough). My > /etc/security/limits.conf files contains: > > - >

Antwort: [Ext] Re: [External] - Antwort: [Ext] Too Many Open Files error trying to start Artemis server from a SystemD service

2022-07-07 Thread Herbert . Helmstreit
[External] - Antwort: [Ext] Too Many Open Files error trying to start Artemis server from a SystemD service Yes, ulimit -n reports 81920. From: herbert.helmstr...@systema.com Sent: Thursday, July 7, 2022 10:21 AM To: users@activemq.apache.org Subject: [External]

Re: [External] - Antwort: [Ext] Too Many Open Files error trying to start Artemis server from a SystemD service

2022-07-07 Thread Richard Bergmann
Yes, ulimit -n reports 81920. From: herbert.helmstr...@systema.com Sent: Thursday, July 7, 2022 10:21 AM To: users@activemq.apache.org Subject: [External] - Antwort: [Ext] Too Many Open Files error trying to start Artemis server from a SystemD service CAUTION

Re: Too Many Open Files error trying to start Artemis server from a SystemD service

2022-07-07 Thread SL
add LimitNOFILE=81920 to the [Service] section of your systemd unit file Regards, Le 07/07/2022 à 16:09, Richard Bergmann a écrit : > I have been struggling with the Too Many Open Files issue running Artemis as > a service within a service (if that is not confusing enough). My

Antwort: [Ext] Too Many Open Files error trying to start Artemis server from a SystemD service

2022-07-07 Thread Herbert . Helmstreit
/systemd/NetworkTarget/ Best Regards Herbert Von:"Richard Bergmann" An: "users@activemq.apache.org" Datum: 07.07.2022 16:10 Betreff: [Ext] Too Many Open Files error trying to start Artemis server from a SystemD service I have been struggling with the Too M

Too Many Open Files error trying to start Artemis server from a SystemD service

2022-07-07 Thread Richard Bergmann
I have been struggling with the Too Many Open Files issue running Artemis as a service within a service (if that is not confusing enough). My /etc/security/limits.conf files contains: - . . . # End of file *softnofile 81920 *hardnofile 81920 - Originally it was set

Re: Too many open files

2014-01-16 Thread Michael Priess
Hi, correct me if I'm wrong but if I listen to a topic the connection must be always open? In my thinking a PooledConnectionFactory make only sense if I'm sending a lot of messages to the broker. BTW. know someone the exactly number of file handles which are open per connection on the server?

Re: Too many open files

2014-01-16 Thread Arjen van der Meijden
I think he was referring to your clients which could be adjusted to pool a small amount of connections, rather than opening many. You obviously can't control this from the server-side. Still its very uncommon to really need 1000 connections at the same time, it generally suggests your clients

Re: Too many open files

2014-01-16 Thread Jose María Zaragoza
2014/1/16 Arjen van der Meijden acmmail...@tweakers.net: I think he was referring to your clients which could be adjusted to pool a small amount of connections, rather than opening many. You obviously can't control this from the server-side. Well, I don't know so much about Apache Camel , but

Re: Too many open files

2014-01-16 Thread Torsten Mielke
In general the use of a pooling aware JMS ConnectionFactory such as ActiveMQs PooledConnectionFactory is *always* recommended. Particularly in Camel which uses Spring JMS underneath. Regards, Torsten Mielke tmielke.blogspot.com On 16 Jan 2014, at 10:54 am, Jose María Zaragoza

Re: Too many open files

2014-01-15 Thread Jose María Zaragoza
2014/1/13 Michael Priess digitalover...@googlemail.com: Is there a way how to find which client open so much connections? Is there a reason why ActiveMQ doesn't close this connections? Any idea how to debug such an issue? Why dont use PooledConnectionFactory? Regards

Too many open files

2014-01-13 Thread Michael Priess
Hi, hi I actually use Apache Camel 2.10.1 in combination with ActiveMQ 5.7.0. To build a connection to ActiveMQ I use the ActiveMQ ConnectionFactory. After a while I get this exception: 2013-12-21 04:16:51,442 | ERROR | Could not accept connection : java.net.SocketException: Too many open files

Re: Too many open files

2014-01-13 Thread Torsten Mielke
. To build a connection to ActiveMQ I use the ActiveMQ ConnectionFactory. After a while I get this exception: 2013-12-21 04:16:51,442 | ERROR | Could not accept connection : java.net.SocketException: Too many open files | org.apache.activemq.broker.TransportConnector | ActiveMQ Transport Server

Re: Too many open files

2014-01-13 Thread Arjen van der Meijden
the ActiveMQ ConnectionFactory. After a while I get this exception: 2013-12-21 04:16:51,442 | ERROR | Could not accept connection : java.net.SocketException: Too many open files | org.apache.activemq.broker.TransportConnector | ActiveMQ Transport Server: tcp:// 0.0.0.0:61616?maximumConnections

Re: Too many open files

2014-01-13 Thread artnaseef
The 1000 maximum connections is an insane number for a single connection pool. I'm hard-pressed to imagine a scenario in which such a large number of connections can improve performance. Why the large number? -- View this message in context: http://activemq.2283324.n4.nabble.com/Too-many

Re: Broker leaks FDs - Too many open files

2013-08-21 Thread Pietro Romanazzi
etc/security/limits.conf set nofile regards, -Messaggio originale- From: Jerry Cwiklik Sent: Tuesday, August 20, 2013 6:04 PM To: users@activemq.apache.org Subject: Re: Broker leaks FDs - Too many open files Thanks, Paul. We are running on Linux (SLES). All clients use openwire

Re: Broker leaks FDs - Too many open files

2013-08-20 Thread Jerry Cwiklik
. The broker's jvm is given 8Gig. JC -- View this message in context: http://activemq.2283324.n4.nabble.com/Broker-leaks-FDs-Too-many-open-files-tp4670496p4670525.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Broker leaks FDs - Too many open files

2013-08-20 Thread DV
in context: http://activemq.2283324.n4.nabble.com/Broker-leaks-FDs-Too-many-open-files-tp4670496p4670525.html Sent from the ActiveMQ - User mailing list archive at Nabble.com. -- Best regards, Dmitriy V.

Broker leaks FDs - Too many open files

2013-08-19 Thread Jerry Cwiklik
Our production broker (v.5.6.0) keeps dying while in heavy use. The broker log is filled with: 2013-07-28 00:04:08,264 [teTimeout=45000] ERROR TransportConnector - Could not accept connection : java.net.SocketException: Too many open files 2013-07-28 00:04:08,264 [teTimeout=45000

Re: Broker leaks FDs - Too many open files

2013-08-19 Thread Christian Posta
PM, Jerry Cwiklik cwik...@us.ibm.com wrote: Our production broker (v.5.6.0) keeps dying while in heavy use. The broker log is filled with: 2013-07-28 00:04:08,264 [teTimeout=45000] ERROR TransportConnector - Could not accept connection : java.net.SocketException: Too many open files 2013-07

Re: Broker leaks FDs - Too many open files

2013-08-19 Thread Jerry Cwiklik
: java.net.SocketException: Too many open files .. What are the consequences of using closeAsync=false? JC -- View this message in context: http://activemq.2283324.n4.nabble.com/Broker-leaks-FDs-Too-many-open-files-tp4670496p4670498.html Sent from the ActiveMQ - User mailing list archive

Re: Broker leaks FDs - Too many open files

2013-08-19 Thread Paul Gale
On Mon, Aug 19, 2013 at 4:57 PM, Jerry Cwiklik cwik...@us.ibm.com wrote: What are the consequences of using closeAsync=false? Setting async to false means that the socket close call is blocking and is not handled in a separate thread. This is preferable and common in web applications where

Re: java.io.IOException: Too many open files (v5.4.2)

2012-05-24 Thread Gary Tully
/java-io-IOException-Too-many-open-files-v5-4-2-tp4643701p4652133.html Sent from the ActiveMQ - User mailing list archive at Nabble.com. -- http://fusesource.com http://blog.garytully.com

Re: java.io.IOException: Too many open files (v5.4.2)

2012-05-24 Thread Arjen van der Meijden
-- View this message in context: http://activemq.2283324.n4.nabble.com/java-io-IOException-Too-many-open-files-v5-4-2-tp4643701p4652133.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: java.io.IOException: Too many open files (v5.4.2)

2012-05-24 Thread Gary Tully
! Incidentally, we do have a lot of short lived STOMP producers. Should we also set /transport.closeAsync=false/ as suggested by Arjen earlier? Regards, John Boyer -- View this message in context: http://activemq.2283324.n4.nabble.com/java-io-IOException-Too-many-open-files-v5-4-2

Re: java.io.IOException: Too many open files (v5.4.2)

2012-05-23 Thread johneboyer
-IOException-Too-many-open-files-v5-4-2-tp4643701p4652133.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: java.io.IOException: Too many open files (v5.4.2)

2012-05-21 Thread mickhayes
.nabble.com/java-io-IOException-Too-many-open-files-v5-4-2-tp4643701p4647881.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: java.io.IOException: Too many open files (v5.4.2)

2012-05-21 Thread Gary Tully
, but it would be nice if the ActiveMQ team could provide some best practices in this area when a broker has hundreds or even thousands of open connections. Thanks, John Boyer -- View this message in context: http://activemq.2283324.n4.nabble.com/java-io-IOException-Too-many-open-files-v5-4

Re: java.io.IOException: Too many open files (v5.4.2)

2012-05-19 Thread Arjen van der Meijden
connections. Thanks, John Boyer -- View this message in context: http://activemq.2283324.n4.nabble.com/java-io-IOException-Too-many-open-files-v5-4-2-tp4643701p4644813.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: java.io.IOException: Too many open files (v5.4.2)

2012-05-18 Thread metatech
wrote /java.io.IOException: Too many open/ files error. Hi, Have you tried adding ulimit -n 2048 in the ~/.profile of the user running ActiveMQ ? Can you show the output of ulimit -a ? metatech -- View this message in context: http://activemq.2283324.n4.nabble.com/java-io-IOException

Re: java.io.IOException: Too many open files (v5.4.2)

2012-05-18 Thread johneboyer
-- View this message in context: http://activemq.2283324.n4.nabble.com/java-io-IOException-Too-many-open-files-v5-4-2-tp4643701p4644813.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Too many open files

2011-01-05 Thread Don Santillan
many open files at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method) at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:145) at org.eclipse.jetty.server.nio.SelectChannelConnector$1.acceptChannel(SelectChannelConnector.java:74

Re: Too many open files

2011-01-05 Thread Juan Nin
webapp and it is deployed in a jetty server. I believe that our server OS's file descriptor limit has enough value. After a few days, the application crashed with the following error: 2011-01-05 00:34:40.000:WARN::EXCEPTION java.io.IOException: Too many open files

Re: Too many open files

2011-01-05 Thread Don Santillan
, the application crashed with the following error: 2011-01-05 00:34:40.000:WARN::EXCEPTION java.io.IOException: Too many open filesat sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method) at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:145

Re: Too many open files

2011-01-05 Thread Juan Nin
: 2011-01-05 00:34:40.000:WARN::EXCEPTION java.io.IOException: Too many open files                at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method)      at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:145

Re: too many open files error with 5.3 and Stomp

2009-10-30 Thread alex.hollerith
config: policyEntry queue= producerFlowControl=true memoryLimit=5mb setup: 1 perl stomp producer producing into a queue, connecting and disconnecting on every post, rather low frequency of posts (0.5/minute) 0 consumers behaviour: works OK until around 68 messages are in the queue (surely

Re: too many open files error with 5.3 and Stomp

2009-10-22 Thread DavidLevy
/activemq/browse/AMQ-1873 After a short time (1 hour or so) the broker is filled with errors like 'too many open files' and I have to restart activemq. I don't believe it's a performance issue because - the host server is strong - there are less than 10 queues - there are less

Re: too many open files error with 5.3 and Stomp

2009-10-22 Thread Dejan Bosanac
/browse/AMQ-1873 After a short time (1 hour or so) the broker is filled with errors like 'too many open files' and I have to restart activemq. I don't believe it's a performance issue because - the host server is strong - there are less than 10 queues - there are less

Re: too many open files error with 5.3 and Stomp

2009-10-21 Thread Dejan Bosanac
/AMQ-1873 After a short time (1 hour or so) the broker is filled with errors like 'too many open files' and I have to restart activemq. I don't believe it's a performance issue because - the host server is strong - there are less than 10 queues - there are less than 1 messages I assume

Re: too many open files error with 5.3 and Stomp

2009-10-21 Thread DavidLevy
wrote: Hi I had the issue with 5.2 and now that I installed 5.3 last night, it still the same, or even worse. It basically looks like this issue : http://issues.apache.org/activemq/browse/AMQ-1873 After a short time (1 hour or so) the broker is filled with errors like 'too many open

Re: too many open files error with 5.3 and Stomp

2009-10-21 Thread Dejan Bosanac
is filled with errors like 'too many open files' and I have to restart activemq. I don't believe it's a performance issue because - the host server is strong - there are less than 10 queues - there are less than 1 messages I assume it has to do also with Stomp connections

Re: too many open files error with 5.3 and Stomp

2009-10-21 Thread alex.hollerith
Hi, Dejan Bosanac wrote: ok, can you at least provide more data on: - how many producers/consumers are you using - are you opening a new connection for every message send/receive I saw the same thing happening in our environment which consists of just one producer at the moment. We

too many open files error with 5.3 and Stomp

2009-10-14 Thread DavidLevy
Hi I had the issue with 5.2 and now that I installed 5.3 last night, it still the same, or even worse. It basically looks like this issue : http://issues.apache.org/activemq/browse/AMQ-1873 After a short time (1 hour or so) the broker is filled with errors like 'too many open files' and I have

Re: too many open files

2009-06-04 Thread bwtaylor
/too-many-open-files-tp23473539p23872970.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: too many open files

2009-05-25 Thread DataMover
Good news is that we have a solution that works. We are using Ubuntu Jaunty as the server and the above mentioned tweaks work imediately. We have abandoned Centos for now. -- View this message in context: http://www.nabble.com/too-many-open-files-tp23473539p23702699.html Sent from

Re: too many open files

2009-05-18 Thread Arjen van der Meijden
listening on a different ip? -- View this message in context: http://www.nabble.com/too-many-open-files-tp23473539p23589365.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: too many open files

2009-05-18 Thread DataMover
to be on different machines, or can we have multiple activemqs running on the same server, each listening on a different ip? -- View this message in context: http://www.nabble.com/too-many-open-files-tp23473539p23589365.html Sent from the ActiveMQ - User mailing list archive

Re: too many open files

2009-05-17 Thread DataMover
? -- View this message in context: http://www.nabble.com/too-many-open-files-tp23473539p23589365.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: too many open files

2009-05-17 Thread Rob Davies
activemqs running on the same server, each listening on a different ip? -- View this message in context: http://www.nabble.com/too-many-open-files-tp23473539p23589365.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: too many open files

2009-05-11 Thread DataMover
machines, or can we have multiple activemqs running on the same server, each listening on a different ip? -- View this message in context: http://www.nabble.com/too-many-open-files-tp23473539p23473539.html Sent from the ActiveMQ - User mailing list archive at Nabble.com. You can use

Re: too many open files

2009-05-11 Thread DataMover
: http://www.nabble.com/too-many-open-files-tp23473539p23473539.html Sent from the ActiveMQ - User mailing list archive at Nabble.com. You can use multiple brokers on the same machine - but could you provide a little more detail about your setup ?: How much memory did you allocate

Re: too many open files

2009-05-11 Thread Arjen van der Meijden
Well, that is really mostly the default config with some small differences. - I completely commented out the destinationPolicy-tag. This also disables the per-queue/topic size limits. - I upped the memoryUsage to 200 mb, the storeUsage to 1 gb and the tempUsage to 1 gb. - I changed the

Re: too many open files

2009-05-10 Thread Rob Davies
thanks Arjen - need to get add a Faq entry for this! On 11 May 2009, at 06:51, Arjen van der Meijden wrote: There may be at one or more of these three issues that I ran into: - You actually have a too low setting for the open files. Try increasing it (see man ulimit etc, be careful that

Re: ActiveMQ 5.2 too many open files exception

2009-04-01 Thread deathemperor
connection pooling, etc. From: deathemperor deathempe...@gmail.com Reply-To: ActiveMQ Users users@activemq.apache.org Date: Mon, 30 Mar 2009 20:34:03 -0700 To: ActiveMQ Users users@activemq.apache.org Subject: ActiveMQ 5.2 too many open files exception I'm running AMQ 5.2.0

Re: ActiveMQ 5.2 too many open files exception

2009-03-31 Thread andymorris
java.io.IOException: Too many open files at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method) at sun.nio.ch.ServerSocketChannelImpl.accept(Unknown Source) at org.mortbay.jetty.nio.SelectChannelConnector$1.acceptChannel(SelectChannelConnector.java:75

Re: ActiveMQ 5.2 too many open files exception

2009-03-31 Thread Bill Schuller
too many open files exception I'm running AMQ 5.2.0 and keep getting the error: 2009-03-31 08:41:28,674 [...@0.0.0.0:8161] WARN log - EXCEPTION java.io.IOException: Too many open files at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method

ActiveMQ 5.2 too many open files exception

2009-03-30 Thread deathemperor
I'm running AMQ 5.2.0 and keep getting the error: 2009-03-31 08:41:28,674 [...@0.0.0.0:8161] WARN log - EXCEPTION java.io.IOException: Too many open files at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method

Re: Too many open files exception on broker

2007-02-23 Thread James Strachan
4.1.1 soon with these patches included) On 2/23/07, GaryG [EMAIL PROTECTED] wrote: I'm seeing tons of exceptions on the broker: 2007-02-23 07:15:48,528 [xxsxxx:61616] ERROR TransportConnector - Could not accept connection : java.net.SocketException: Too many open files

Too many open files exception on broker

2007-02-23 Thread GaryG
I'm seeing tons of exceptions on the broker: 2007-02-23 07:15:48,528 [xxsxxx:61616] ERROR TransportConnector - Could not accept connection : java.net.SocketException: Too many open files java.net.SocketException: Too many open files

Re: Too many open files exception on broker

2007-02-23 Thread Christopher G. Stach II
be in such a state in the first place? Is there a bug with this too many open files issue? Is there another fix that is recommended? It's normal *nix resource limits. Just like the nohup thing, this really doesn't have anything to do with AMQ specifically. -- Christopher G. Stach II