activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From igah <>
Subject Could not accept connection after too many messages in the queue
Date Fri, 13 Oct 2006 14:51:01 GMT

hi there,

i have a number of stomp clients that post messages continously to a single
queue. if the consumer on that queue doesn't process the messages fast
enough, i am seeing this error in the activemq (version 4.0.1) log:

ERROR TransportConnector             - Could not accept connection: Too many open files Too many open files
        at Method)

jmx console shows that the following for the queue:
DequeueCount 6847
EnqueueCount 40800
QueueSize 34593

lsof shows the activemq process opens about 1000 files (most of them TCP
sockets) at the time of the failure. if i add more consumers to process
those messages, then the test can run for a long time with no failure. 

how can i address this issue? am i missing some tuning configuration
parameters? (the activemq instance is configured to use mysql)

thanks in advance. 

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message