[ 
https://issues.apache.org/jira/browse/IVY-817?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12597399#action_12597399
 ] 

Steve Loughran commented on IVY-817:
------------------------------------

1. it may be something just after the sort, some check of the repository list 
-just something that doesnt get printed out. For all I know, it could be the 
java5/6 proxy stuff trying reverse-dns when a URL gets created; I remember some 
bugrep on that subject once.

2. No, I havent fixed my machine yet. I will go for a thread dump and see where 
we are. I will leave the machine broken until we've got this bug fixed. 

> If DNS is playing up, Ivy takes a lot longer to sort project dependencies
> -------------------------------------------------------------------------
>
>                 Key: IVY-817
>                 URL: https://issues.apache.org/jira/browse/IVY-817
>             Project: Ivy
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0.0-beta-2
>         Environment: Ubuntu 8.04 with messed up DNS
>            Reporter: Steve Loughran
>
> I've just upgraded to Ubuntu 8.04, and for reasons I dont fully understand. 
> DNS is now very patchy; long pauses before responses coming in
> running at -d level, the pauses happen after printing all the pauses, 
> finishing when the Sort dependencies response comes in
> [ivy-projects] Module descriptor is processed : org.smartfrog#sf-tasks;[EMAIL 
> PROTECTED]
> [ivy-projects] Module descriptor is processed : 
> org.smartfrog#smartfrog;[EMAIL PROTECTED]
> //insert 30s pause here
> [ivy-projects] Sort dependencies of : org.smartfrog#sf-m32;[EMAIL PROTECTED] 
> / Number of dependencies = 9
> During resolution, the delay happens after the sort
> [ivy:resolve] Module descriptor is processed : org.apache.ant#ant;1.7.0
> [ivy:resolve] Sort done for : org.apache.ant#ant-apache-regexp;1.7.0
> [ivy:resolve] Sort dependencies of : org.apache.ant#ant-apache-resolver;1.7.0 
> / Number of dependencies = 3
> //here is where the delay is
> [ivy:resolve] Module descriptor is processed : org.apache.ant#ant;1.7.0
> [ivy:resolve] Sort done for : org.apache.ant#ant-apache-resolver;1.7.0
> [ivy:resolve] Sort dependencies of : org.apache.ant#ant-commons-logging;1.7.0 
> / Number of dependencies = 3
> -I'm not sure why dns/rdns should be needed during a sort, unless remote 
> repositories are being polled. I'm also surprised, as java caches DNS 
> responses by default. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to