I am using the OSGi version of wink  and observe that every time a GET or
POST is made a new "Pipe" is created (lsof -p pid shows this) and after
about 300 calls, the java process gets killed complaining "too many files
open". Any one observed this before? If so any fixes? (Using wink server
1.4)  

Here is a sample code, which returns a JSON object. 

    @GET
    @Path("test")
    @Produces(MediaType.APPLICATION_JSON)
    public JSONObject gettestettings() throws JSONException {
        JSONObject p= new JSONObject();
        p.put("test1", "Some value");
        p.put("current Time", new Date().toString());
        return p;
    }



--
View this message in context: 
http://apache-wink-users.3471013.n2.nabble.com/Too-many-files-open-wink-osgi-tp7572827.html
Sent from the Apache Wink Users mailing list archive at Nabble.com.

Reply via email to