All of lore.kernel.org
 help / color / mirror / Atom feed
From: Brian Tinsley <btinsley@emageon.com>
To: "Lever, Charles" <Charles.Lever@netapp.com>
Cc: nfs@lists.sourceforge.net, "Kent, Ian I." <Ian.Kent@woodside.com.au>
Subject: Re: EJUKEBOX and Java
Date: Wed, 03 Apr 2002 15:50:10 -0600	[thread overview]
Message-ID: <3CAB7912.3080300@emageon.com> (raw)
In-Reply-To: 6440EA1A6AA1D5118C6900902745938E50CE34@black.eng.netapp.com

Thanks, but that's not the case. The IBM JVM uses native threads as it 
should. We have recently discovered, however, that they apparently have 
signal handling problems that are leading to this deadlock. Our 
developers were able to write a small app that consistently reproduces 
the deadlock on both their 1.3.0 and 1.3.1 releases. We have not been 
able to reproduce the problem with Sun's JVM, thus the finger points to 
to the IBM JVM.


Lever, Charles wrote:

>this could appear because your Java threads are emulated
>entirely in user space (green threads?).  if one of the
>threads goes into the kernel via a system call and doesn't
>return, then your entire JVM is hung.
>
>just a thought.
>
>>-----Original Message-----
>>From: Brian Tinsley [mailto:btinsley@emageon.com]
>>Sent: Tuesday, April 02, 2002 7:39 PM
>>To: Kent, Ian I.
>>Cc: nfs@lists.sourceforge.net
>>Subject: Re: [NFS] EJUKEBOX and Java
>>
>>
>>Understood, but when the EJUKEBOX error is encountered by our 
>>application, the fact that RPC blocks signals (via rpc_clnt_sigmask) 
>>during this sleep seems to cause every thread in the Java VM to 
>>"deadlock" (we can even see the garbage collector stop) until data 
>>starts to stream back from the NFS server. This is our 
>>current working 
>>theory anyway.
>>
>>
>>Kent, Ian I. wrote:
>>
>>>The NFSv3 RFC specifies the client behaviour you are seeing 
>>>
>>for this server return.
>>
>>>It's not a deadlock, the client sleeps, then retries.
>>>
>>
>>
>>_______________________________________________
>>NFS maillist  -  NFS@lists.sourceforge.net
>>https://lists.sourceforge.net/lists/listinfo/nfs
>>

-- 
Brian Tinsley
Senior Systems Engineer
Emageon





_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

  reply	other threads:[~2002-04-03 21:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-03 21:39 EJUKEBOX and Java Lever, Charles
2002-04-03 21:50 ` Brian Tinsley [this message]
     [not found] <62D26CC4CB1CD3118EAA00805FBB65FA0B8B9008@perm01.woodside.com.au>
2002-04-03  0:38 ` Brian Tinsley
  -- strict thread matches above, loose matches on Subject: below --
2002-04-02 16:50 Brian Tinsley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3CAB7912.3080300@emageon.com \
    --to=btinsley@emageon.com \
    --cc=Charles.Lever@netapp.com \
    --cc=Ian.Kent@woodside.com.au \
    --cc=nfs@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.