# Got too many open files error while performing load test

**URL:** <https://community.wowza.com/t/got-too-many-open-files-error-while-performing-load-test/36013>\
**Category:** Wowza Streaming Engine\
**Created:** [February 25, 2011, 3:42pm UTC](https://community.wowza.com/t/got-too-many-open-files-error-while-performing-load-test/36013 "2011-02-25T15:42:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Soksophay\_LIM](https://avatars.discourse-cdn.com/v4/letter/s/e99b99/32.png) [@Soksophay\_LIM](https://community.wowza.com/u/Soksophay_LIM)\
**Post date:** [February 25, 2011, 3:42pm UTC](https://community.wowza.com/t/got-too-many-open-files-error-while-performing-load-test/36013/1 "2011-02-25T15:42:04Z")

</div>

Hello Support,

i am trying to use wowza load test tool to perform performance load testing to my Wowza Media Server.

I used livestream with 1000 max connection. When it reach around 950 open connection, i got the following exception “too many open files”.

Could you advise whether there is any specific configuration to be done to fix this issue?

java.io.IOException: Too many open files

at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method)

at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:163)

at org.apache.mina.transport.socket.nio.SocketAcceptor$Worker.processSessions(Unknown Source)

at org.apache.mina.transport.socket.nio.SocketAcceptor$Worker.run(Unknown Source)

at org.apache.mina.util.NamePreservingRunnable.run(Unknown Source)

at java.lang.Thread.run(Thread.java:636)

2011-02-25 11:49:22 GMT+07:00 - - - - - - - - - 5.164 - - - - - - - -

java.io.IOException: Too many open files

at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method)

at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:163)

at org.apache.mina.transport.socket.nio.SocketAcceptor$Worker.processSessions(Unknown Source)

at org.apache.mina.transport.socket.nio.SocketAcceptor$Worker.run(Unknown Source)

at org.apache.mina.util.NamePreservingRunnable.run(Unknown Source)

at java.lang.Thread.run(Thread.java:636)

2011-02-25 11:49:22 GMT+07:00 - - - - - - - - - 5.177 - - - - - - - -

java.io.IOException: Too many open files

at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method)

at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:163)

at org.apache.mina.transport.socket.nio.SocketAcceptor$Worker.processSessions(Unknown Source)

at org.apache.mina.transport.socket.nio.SocketAcceptor$Worker.run(Unknown Source)

at org.apache.mina.util.NamePreservingRunnable.run(Unknown Source)

at java.lang.Thread.run(Thread.java:636)

2011-02-25 11:49:22 GMT+07:00 - - - - - - - - - 5.164 - - - - - - - -

java.io.IOException: Too many open files

at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method)

at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:163)

at org.apache.mina.transport.socket.nio.SocketAcceptor$Worker.processSessions(Unknown Source)

at org.apache.mina.transport.socket.nio.SocketAcceptor$Worker.run(Unknown Source)

at org.apache.mina.util.NamePreservingRunnable.run(Unknown Source)

at java.lang.Thread.run(Thread.java:636)

2011-02-25 11:49:22 GMT+07:00 - - - - - - - - - 5.177 - - - - - - - -

java.io.IOException: Too many open files

at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method)

at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:163)

at org.apache.mina.transport.socket.nio.SocketAcceptor$Worker.processSessions(Unknown Source)

at org.apache.mina.transport.socket.nio.SocketAcceptor$Worker.run(Unknown Source)

at org.apache.mina.util.NamePreservingRunnable.run(Unknown Source)

at java.lang.Thread.run(Thread.java:636)

---

<div class="post-metadata">

**Author:** ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)\
**Post date:** [February 25, 2011, 4:30am UTC](https://community.wowza.com/t/got-too-many-open-files-error-while-performing-load-test/36013/2 "2011-02-25T04:30:54Z")

</div>

See the tuning guide:

[https://www.wowza.com/docs/how-to-do-performance-tuning](https://www.wowza.com/docs/how-to-do-performance-tuning)

Charlie
