Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
java.io.IOException: Too many open files
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Vinod  
View profile  
 More options Feb 23 2012, 6:14 pm
From: Vinod <cbin...@gmail.com>
Date: Thu, 23 Feb 2012 15:14:17 -0800 (PST)
Local: Thurs, Feb 23 2012 6:14 pm
Subject: java.io.IOException: Too many open files
I am getting following exception when doing put/get in multi-threaded
environment, linux params are set to max.

java.io.IOException: Too many open files
        at sun.nio.ch.IOUtil.initPipe(Native Method)
        at sun.nio.ch.PollSelectorImpl.<init>(PollSelectorImpl.java:40)
        at
sun.nio.ch.PollSelectorProvider.openSelector(PollSelectorProvider.java:
18)
        at java.nio.channels.Selector.open(Selector.java:209)
        at
net.spy.memcached.MemcachedConnection.<init>(MemcachedConnection.java:
101)
        at
net.spy.memcached.DefaultConnectionFactory.createConnection(DefaultConnecti onFactory.java:
153)
        at net.spy.memcached.MemcachedClient.<init>(MemcachedClient.java:186)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Vinod  
View profile  
 More options Feb 26 2012, 12:04 pm
From: Vinod <cbin...@gmail.com>
Date: Sun, 26 Feb 2012 09:04:57 -0800 (PST)
Local: Sun, Feb 26 2012 12:04 pm
Subject: java.io.IOException: Too many open files
OS: Linux
I am getting following exception when connecting to Memcached server.
I did some local test in which I created 200/300 threads and I started
getting connection errors, any idea?

Exception
java.io.IOException: Too many open files
        at sun.nio.ch.IOUtil.initPipe(Native Method)
        at sun.nio.ch.PollSelectorImpl.<init>(PollSelectorImpl.java:40)
        at
sun.nio.ch.PollSelectorProvider.openSelector(PollSelectorProvider.java:
18)
        at java.nio.channels.Selector.open(Selector.java:209)
        at
net.spy.memcached.MemcachedConnection.<init>(MemcachedConnection.java:
101)
        at
net.spy.memcached.DefaultConnectionFactory.createConnection(DefaultConnecti onFactory.java:
153)
        at net.spy.memcached.MemcachedClient.<init>(MemcachedClient.java:186)

Also I am getting the following exception,

net.spy.memcached.OperationTimeoutException: Timeout waiting for value
        at net.spy.memcached.MemcachedClient.get(MemcachedClient.java:1185)
        at net.spy.memcached.MemcachedClient.get(MemcachedClient.java:1200)

Seems like spymemcahced has lots of issue, there are lots of post
which has time out exception - is the memcached client related or its
the memcached itself or its network issue?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »