Re: setrlimit from Clojure

2014-08-21 Thread Chai Tadada
Yes, it seems possible this way (haven't tried it yet, though). Thanks! -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient

setrlimit from Clojure

2014-08-20 Thread Chai Tadada
Hello, Is it possible to call the setrlimit syscall on Unix (I want to increase the NOFILE limit from my program)? Is there a Clojure or Java binding for this? Tried to Google clojure setrlimit and java setrlimit, but did not get anything useful. -- You received this message because you are

Re: setrlimit from Clojure

2014-08-20 Thread Linus Ericsson
According to this [1] post one can reachything in Glibc with JNA. I have never tried. /Linus [1] http://unix.stackexchange.com/questions/1681/invoke-syscalls-from-java On Wednesday, August 20, 2014, Chai Tadada chai.tad...@gmail.com wrote: Hello, Is it possible to call the setrlimit syscall