Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion CT take a long time to warm up
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Roberto Ostinelli  
View profile  
 More options Oct 10 2012, 11:39 pm
From: Roberto Ostinelli <robe...@widetag.com>
Date: Wed, 10 Oct 2012 20:38:51 -0700
Local: Wed, Oct 10 2012 11:38 pm
Subject: Re: [erlang-questions] CT take a long time to warm up

Ok,

I finally managed to track this down but I'm totally unsure why this
happens. Motiejus, you were right.

When I run REBAR, the process automountd tries to connect on port 111
(sunrpc) on my local NAT. When it times out, the CT tests are actually run.
If I simply block this process with a firewall, tests start immediately.

I'm at disposal if anyone wants to dig further (tuncer?)

r.

On Wed, Sep 26, 2012 at 1:38 PM, Tuncer Ayaz <tuncer.a...@gmail.com> wrote:
> On Wed, Sep 26, 2012 at 9:44 PM, Motiejus Jakštys wrote:
> > On Wed, Sep 26, 2012 at 8:40 PM, Roberto Ostinelli wrote:
> > > > How do you run it? Consistent 20 seconds sounds like a DNS
> > > > timeout issue (stab in the dark).

> > > rebar ct_suites=mymodule

> > Hi,
> > adding the list.

> > Please do

> > $TRACE_F rebar ct_suites=mymodule

> Make that

> $TRACE_F rebar suites=mymodule

> and also consider running rebar with fprof:

> $TRACE_F rebar -p suites=mymodule
> or
> $TRACE_F rebar --profile suites=mymodule

> , but make sure you update rebar first to avoid a faulty
> call to fprof:apply/2.

> If it's caused by name lookup, you can try a custom ERL_INETRC file:
> http://www.erlang.org/doc/apps/erts/inet_cfg.html

> > and replace $TRACE_F with Max OS C equivalent of "strace -f".
> > Then see what it does just before the 20 second pause.

_______________________________________________
erlang-questions mailing list
erlang-questi...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.