ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Weidner <eric.weid...@ejbsolutions.com>
Subject Re: Build pauses on Linux
Date Tue, 25 Nov 2003 18:15:15 GMT
It causes the OS to use the original LinuxThreads implementation instead of 
the New Posix Threading Library (NPTL).  Again, you only need this on RH9+ or 
if you are using a 2.6 linux kernel.

Eric Weidner
Out-of-the-Box
http://www.ejbsolutions.com

On Tuesday 25 November 2003 09:10 am, Clifton Craig wrote:
> My build finally ran to completion. I used the 'export LD_ASSUME_KERNEL =
> 2.4.1' and I also did a reboot. I'm going to monitor it to see how it
> behaves but it looks like all is good for now. What does 'export
> LD_ASSUME_KERNEL = 2.4.1' do anyhow? Does it cause the JVM to thread
> differently or something? Thanks for the tip!
>
> Clifton C. Craig
> Intelligent Computer Systems
> A division of Global Beverage Group
> ccc@icsaward.com
> (717) 295-7977
> ----- Original Message -----
> From: "Clifton Craig" <ccc@icsaward.com>
> To: "Ant Users List" <user@ant.apache.org>
> Sent: Tuesday, November 25, 2003 8:16 AM
> Subject: Re: Build pauses on Linux
>
> > Thank you Eric,
> >
> > Thank you all for your responses to my desperate message. I will try all
>
> of
>
> > your suggestions and get back to let you know what worked and what
> > didn't.
> >
> > Clifton C. Craig
> > Intelligent Computer Systems
> > A division of Global Beverage Group
> > ccc@icsaward.com
> > ----- Original Message -----
> > From: "Eric Weidner" <eric.weidner@ejbsolutions.com>
> > To: "Ant Users List" <user@ant.apache.org>
> > Sent: Tuesday, November 25, 2003 12:39 AM
> > Subject: Re: Build pauses on Linux
> >
> > > We have this same problem.
> > >
> > > The JDK, even 1.4.2_02, still has problems with the new threading model
>
> in
>
> > RH
> >
> > > 9 (NPTL).  This threading library will be standard in the 2.6 kernel.
>
> The
>
> > > funny part is that Red Hat is touting the fact that the new threading
> >
> > speeds
> >
> > > up Java programs a lot.  Seems that they all need to keep working on it
> >
> > all.
> >
> > > The workaround is to set an environment variable in the shell that is
> >
> > kicking
> >
> > > off ant.
> > >
> > >   'export LD_ASSUME_KERNEL = 2.4.1'
> > >
> > > Your build should give you no trouble after that.
> > >
> > >
> > > Eric Weidner
> > > Out-of-the-Box
> > > http://www.ejbsolutions.com
> > >
> > > On Monday 24 November 2003 02:11 pm, Clifton Craig wrote:
> > > > Hell all,
> > > >
> > > > I just don't know where else to turn on this problem. I have a rather
> > > > involved and lengthy build process that has been running without fail
> >
> > until
> >
> > > > recently. I've been developing the build on WinXP and running it on
>
> both
>
> > > > WinXP and Redhat 9 without fail. We have now setup a new development
> > > > machine which I believe is Redhat 9 as well and I every time I run
> > > > the build it pauses. I'm new to Linux so I'm not sure what state the
>
> process
>
> > is
> >
> > > > in when it pauses. When I say it pauses I mean it does just that. It
> >
> > stops
> >
> > > > running and stops logging. I've tried many renditions of executing
> > > > the build including running it in the background, running it in the
> >
> > foreground,
> >
> > > > with/without logging, logging to both the screen and disk, any and
> > > > all combinations of the above. Normally what happens in all cases is
> > > > it
>
> gets
>
> > > > 1/2 way through and just stops in the middle of the EJB task for
>
> JOnAS.
>
> > You
> >
> > > > see we have about 50 or so EJBs that are compiled/jarred for JOnAS
>
> v3.3
>
> > in
> >
> > > > this build using their current ejbjar task. It appears to stop at
>
> random
>
> > > > points all the time. For example, if the beans were numbered 1-50
> >
> > sometimes
> >
> > > > it will stop at bean 32, sometimes it will stop at bean 43, etc. It
> >
> > doesn't
> >
> > > > continually stop at the same bean. What's more if I re-run it after
> > > > it stops it won't finish all the way. It only builds a few more beans
> > > > and hangs up again. I have to run the build 3-4 times to get all the
> > > > way through. I've tried using the "top" command when it pauses to see
>
> where
>
> > the
> >
> > > > process is and it looks like its in a "SLEEP" status according to the
> >
> > man
> >
> > > > pages for top. Forgive me, as I don't know enough about Linux to
> >
> > understand
> >
> > > > why this is happening or even if the process is still alive. The same
> >
> > build
> >
> > > > runs on another (beefier) Linux box without fail. Has anyone ever run
> >
> > into
> >
> > > > such a problem before? Can anyone help me?
> > > >
> > > > Clifton C. Craig
> > > > Intelligent Computer Systems
> > > > A division of Global Beverage Group
> > > > ccc@icsaward.com
> > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> > > > For additional commands, e-mail: user-help@ant.apache.org
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> > > For additional commands, e-mail: user-help@ant.apache.org
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> > For additional commands, e-mail: user-help@ant.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message