(no subject)

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

(no subject)

Reinhard Nägele
I tried to delete subtrees from a local repository. When these subtrees get to big, Artifactory doesn't seem to be able to handle the deletion.

I got WicketRuntimeExceptions and an OutOfMemoryError. I then increased the max heap size and restarted Artifactory. This solved the memory problems, but the WicketRuntimeExceptions still showed up in the log file. When deleting a subtree in the UI, the application would hang, further clicking around would produce JavaScript errors:

RPC Error: XMLHttpTransport Error: 0
RPC Error: XMLHttpTransport Error: 404 Not Found

I was able to work around the problem by deleting several smaller chunks.

I attached the log file for reference.

Thanks for looking into it.

Reinhard

artifactory.log (113K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: (no subject)

Yoav Landman
Administrator
By the log it seems like the Jackrabbit transaction is taking a long time and since Wicket synchronizes on a session object (PageMap) the web UI becomes unresponisve for the duration of the transaction. In this case the XMLHttpTransport ajax errors are also natural.
How big was the original folder (how many sub items)?
Does it return if you leave it to complete the operation?
We might have to split deletion to multiple transactions (maybe according to the lowest groupId?)

On 3/19/07, Reinhard Nägele <[hidden email]> wrote:
I tried to delete subtrees from a local repository. When these subtrees get to big, Artifactory doesn't seem to be able to handle the deletion.

I got WicketRuntimeExceptions and an OutOfMemoryError. I then increased the max heap size and restarted Artifactory. This solved the memory problems, but the WicketRuntimeExceptions still showed up in the log file. When deleting a subtree in the UI, the application would hang, further clicking around would produce JavaScript errors:

RPC Error: XMLHttpTransport Error: 0
RPC Error: XMLHttpTransport Error: 404 Not Found

I was able to work around the problem by deleting several smaller chunks.

I attached the log file for reference.

Thanks for looking into it.

Reinhard

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users



Reply | Threaded
Open this post in threaded view
|

Re: (no subject)

Reinhard Nägele
In reply to this post by Reinhard Nägele
The size of the original folder was about 500 MB. It did not wait for the operation to complete when the errors showed up in the log. The problem with the UI is also that you don't see if an operation is still in progress - no hourglass, no progress bar...

Reinhard

________________________________

From: [hidden email] [mailto:[hidden email]] On Behalf Of Yoav Landman
Sent: Dienstag, 20. März 2007 12:28
To: [hidden email]
Subject: Re: [Artifactory-users] (no subject)


By the log it seems like the Jackrabbit transaction is taking a long time and since Wicket synchronizes on a session object (PageMap) the web UI becomes unresponisve for the duration of the transaction. In this case the XMLHttpTransport ajax errors are also natural.
How big was the original folder (how many sub items)?
Does it return if you leave it to complete the operation?
We might have to split deletion to multiple transactions (maybe according to the lowest groupId?)


On 3/19/07, Reinhard Nägele <[hidden email]> wrote:

        I tried to delete subtrees from a local repository. When these subtrees get to big, Artifactory doesn't seem to be able to handle the deletion.
       
        I got WicketRuntimeExceptions and an OutOfMemoryError. I then increased the max heap size and restarted Artifactory. This solved the memory problems, but the WicketRuntimeExceptions still showed up in the log file. When deleting a subtree in the UI, the application would hang, further clicking around would produce JavaScript errors:
       
        RPC Error: XMLHttpTransport Error: 0
        RPC Error: XMLHttpTransport Error: 404 Not Found
       
        I was able to work around the problem by deleting several smaller chunks.
       
        I attached the log file for reference.
       
        Thanks for looking into it.
       
        Reinhard
       
        -------------------------------------------------------------------------
        Take Surveys. Earn Cash. Influence the Future of IT
        Join SourceForge.net's Techsay panel and you'll get the chance to share your
        opinions on IT & business topics through brief surveys-and earn cash
        http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV>
        _______________________________________________
        Artifactory-users mailing list
        [hidden email]
        https://lists.sourceforge.net/lists/listinfo/artifactory-users
       
       
       




Reply | Threaded
Open this post in threaded view
|

Re: (no subject)

Yoav Landman
Administrator
For now I have just prolonged the Wicket lock timeout to 5 minutes. Splitting to multiple transactions should cure it in a more elegant way.
We will take care of the UI busy indicator for 1.2.1 ( https://www.jfrog.org/jira/browse/RTFACT-50).

On 3/20/07, Reinhard Nägele <[hidden email]> wrote:
The size of the original folder was about 500 MB. It did not wait for the operation to complete when the errors showed up in the log. The problem with the UI is also that you don't see if an operation is still in progress - no hourglass, no progress bar...

Reinhard

________________________________

From: [hidden email] [mailto:[hidden email]] On Behalf Of Yoav Landman
Sent: Dienstag, 20. März 2007 12:28
To: [hidden email]
Subject: Re: [Artifactory-users] (no subject)


By the log it seems like the Jackrabbit transaction is taking a long time and since Wicket synchronizes on a session object (PageMap) the web UI becomes unresponisve for the duration of the transaction. In this case the XMLHttpTransport ajax errors are also natural.
How big was the original folder (how many sub items)?
Does it return if you leave it to complete the operation?
We might have to split deletion to multiple transactions (maybe according to the lowest groupId?)


On 3/19/07, Reinhard Nägele <[hidden email]> wrote:

        I tried to delete subtrees from a local repository. When these subtrees get to big, Artifactory doesn't seem to be able to handle the deletion.

        I got WicketRuntimeExceptions and an OutOfMemoryError. I then increased the max heap size and restarted Artifactory. This solved the memory problems, but the WicketRuntimeExceptions still showed up in the log file. When deleting a subtree in the UI, the application would hang, further clicking around would produce JavaScript errors:

        RPC Error: XMLHttpTransport Error: 0
        RPC Error: XMLHttpTransport Error: 404 Not Found

        I was able to work around the problem by deleting several smaller chunks.

        I attached the log file for reference.

        Thanks for looking into it.

        Reinhard

        -------------------------------------------------------------------------
        Take Surveys. Earn Cash. Influence the Future of IT
        Join SourceForge.net's Techsay panel and you'll get the chance to share your
        opinions on IT & business topics through brief surveys-and earn cash
         http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >
        _______________________________________________
        Artifactory-users mailing list
        [hidden email]
        https://lists.sourceforge.net/lists/listinfo/artifactory-users






-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users