Le Tue, 12 Jan 2010 04:49:23 +0200,
hakan eryargi hakan.erya...@gmail.com a écrit :
As far as I understand the way NIO works, when the clinet has
brutally closed the connection (ie, no FIN), the selector won't be
informed about any modification regarding this socket, so its
SelectionKey
Le Tue, 12 Jan 2010 08:41:00 +0100,
Laurent Cohen laurent.co...@jppf.org a écrit :
Hello all,
Typically, a technique that I've implemented was using the fact that,
when the remote peer is disconnected for any reason, the
corresponding SelectionKey on the server becomes readable().
It is
Laurent Cohen a écrit :
Hello all,
Typically, a technique that I've implemented was using the fact that,
when the remote peer is disconnected for any reason, the corresponding
SelectionKey on the server becomes readable().
Even when the client hasn't sent a FIN ?
It is possible to use this
On 01/11/2010 08:51 PM, Patrick Sansoucy wrote:
Sorry to jump on the thread, but I'm a bit surprised by (and curious
about) the behavior exposed here and the fact that Mina does not detect
it ...
Is the connections between your 2 boxes direct (ie no proxy or firewall)
because I witnessed a
David Rosenstrauch a écrit :
On 01/11/2010 06:32 PM, Emmanuel Lecharny wrote:
David Rosenstrauch a écrit :
May be checking for the socket idleness every X minutes could help
to close the orphan sockets ?
I'm not clear on what you mean by this. How would I do a check like
that in MINA?
Hey Ashis,
what do you think about this solution:
public class UCPClient {
private MapInteger, BlockingQueueUCPMessageResponse concurrentMap =
new ConcurrentHashMapInteger, BlockingQueueUCPMessageResponse();
// some other code
public UCPMessageResponse send(UCPMessageRequest
hey, everyone
I need some help to identify whether MINA has memory leak.
We are currently using MINA 2.0.0-M6. After running for a day under fairly
heavy
load, it runs into OOM, I use eclipse memory analyzer to profile the hprof
file,
Description:
The thread *java.lang.Thread @ 0x2329c198
Not sure :-(
Can you explore more about what kindof objects are holded. Or may be
try YourKit profiler.
On Wed, Jan 13, 2010 at 7:35 AM, vagrant1984 yangjianjuns...@gmail.com wrote:
hey, everyone
I need some help to identify whether MINA has memory leak.
We are currently using MINA
Hi all,
I have embedded FtpServer in my application and it works properly. My
problem is that I want to restrict my user to write to any folder on
FTP. Generally I want to know how I set up the permissions for the user
on the files and directories. Is any way to do that ? Thank you for any