Try adding this to the /opt/coldfusionmx/bin/coldfusion script:

ulimit -n 4096

This will increase the number of file descriptors that CF can use.  We've had 
problems with the default 1024 before.  

>Dear All,
>
>I'm seeing a weird problem on MX7, namely the server seems to go partially
>down. It will serve pages and access the database but anything to do with
>files is a problem and generates an exception depending on the code being
>run. When I look at the cfserver.log I'm seeing something I've not seen
>before:
>
>10/25 13:45:14 error Too many open files
>java.net.SocketException: Too many open files
>        at java.net.PlainSocketImpl.socketAccept(Native Method)
>        at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
>        at java.net.ServerSocket.implAccept(ServerSocket.java:448)
>        at java.net.ServerSocket.accept(ServerSocket.java:419)
>        at
>jrun.servlet.network.NetworkService.accept(NetworkService.java:368)
>        at
>jrun.servlet.jrpp.JRunProxyService.accept(JRunProxyService.java:104)
>        at
>jrun.servlet.jrpp.JRunProxyService.createRunnable(JRunProxyService.java:120)
>        at
>jrunx.scheduler.ThreadPool$DownstreamMetrics.createRunnable(ThreadPool.java:
>315)
>        at
>jrunx.scheduler.ThreadPool$ThreadThrottle.createRunnable(ThreadPool.java:377
>)
>        at
>jrunx.scheduler.ThreadPool$UpstreamMetrics.createRunnable(ThreadPool.java:26
>9)
>        at jrunx.scheduler.WorkerThread.run(WorkerThread.java:62)
>
>Disk space on the server is ample as is memory and the machine is about a
>year old.
>
>Has anyone seen this error before, I've googled it but without much success.
>
>Thanks in advance.
>
>best wishes,
>
>            -= Ed
>
>
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>Edward Chanter
>Technical Innovations Manager
>Collaborative Connections Ltd.
>
>http://www.cc.uk.com/
>Phone: +44 (0) 1273 832221
>Mobile: +44 (0) 7866 365282
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: http://www.houseoffusion.com/groups/CF-Linux/message.cfm/messageid:4218
Subscription: http://www.houseoffusion.com/groups/CF-Linux/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.14

Reply via email to