Thanks a lot Tim, I’ll give that a go!

Gary Browne | Technical Manager, Developments
Online Services
University of Sydney Library
THE UNIVERSITY OF SYDNEY
Level 1, Fisher Library F03, The University of Sydney NSW 2006
T +61 2 9351 5946 | M +61 405 647 868
E 
[email protected]<https://webmail.sydney.edu.au/owa/redir.aspx?C=OXYu29eFmlOiJviVN3CHunM5oGoASVvNNYb-H0ZnmZGiO6bY9qPUCA..&URL=mailto%3agary.browne%40sydney.edu.au>
Sent from my plain old desktop computer

From: <[email protected]> on behalf of Tim Donohue 
<[email protected]>
Date: Wednesday, 31 January 2018 at 1:30 am
To: Gary Browne <[email protected]>
Cc: DSpace Technical Support <[email protected]>
Subject: Re: [dspace-tech] AIP backup timing out

Hi Gary,

Perhaps bump up the memory available to that task?  By default the "dspace" 
commandline script will use the settings in your JAVA_OPTS (if set).  If it is 
*not* set, then it defaults to only 256MB of memory.  See this line here:
https://github.com/DSpace/DSpace/blob/master/dspace/bin/dspace#L43<https://protect-au.mimecast.com/s/gAkNC6X13Rt1rnnmcLUf5a?domain=github.com>

To override this, you should be able to simply set JAVA_OPTS to some higher 
memory values.  Some examples are here:
https://wiki.duraspace.org/display/DSDOC6x/Performance+Tuning+DSpace#PerformanceTuningDSpace-GivetheCommandLineToolsMoreMemory<https://protect-au.mimecast.com/s/k1UIC71ZgLtQAOONh08xu0?domain=wiki.duraspace.org>

FWIW, I've run this AIP backup on sites in the 300GB+ range, so it should work 
fine at the range you are talking about.  But, I always have to provide more 
memory -- usually more like 1GB at least.

You also might want to look closer at your DSpace log files to see if any other 
errors are reported there prior to the server timeout.  My best guess here is 
you may be hitting memory issues, but it could be something else entirely.

- Tim

On Tue, Jan 30, 2018 at 5:44 AM Gary Browne 
<[email protected]<mailto:[email protected]>> wrote:
HI all,

JSPUI
DSpace 4.1
Tomcat 7
Apache 2.2
RHEL 6.9

I'm trying to do an AIP export of the entire site - but it keeps timing out 
after about 20GB of exports.

The command goes something like this:

./dspace packager -d -a -t AIP -e [email protected]<mailto:[email protected]> -i 
2123/0 /tmp/repo-dump/repo.zip

The dump begins ok but after some time, I get:

Timeout, server not responding.

And the program dies. This happens after about 20GB of exports, but I have 
about 450GB to export. Any suggestions, other than doing each community one by 
one :(

Thanks a lot,
Gary
--
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
To post to this group, send email to 
[email protected]<mailto:[email protected]>.
Visit this group at 
https://groups.google.com/group/dspace-tech<https://protect-au.mimecast.com/s/SP2tC81Zj6tz677qfRPIM3?domain=groups.google.com>.
For more options, visit 
https://groups.google.com/d/optout<https://protect-au.mimecast.com/s/RCanC91ZkQtMk55qTGsOqZ?domain=groups.google.com>.
--
Tim Donohue
Technical Lead for DSpace & DSpaceDirect
DuraSpace.org | DSpace.org | DSpaceDirect.org
--
You received this message because you are subscribed to a topic in the Google 
Groups "DSpace Technical Support" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/dspace-tech/64ZBJXJfBDo/unsubscribe<https://protect-au.mimecast.com/s/rwY2C0YZWVFMGRRBT9dKaJ?domain=groups.google.com>.
To unsubscribe from this group and all its topics, send an email to 
[email protected]<mailto:[email protected]>.
To post to this group, send email to 
[email protected]<mailto:[email protected]>.
Visit this group at 
https://groups.google.com/group/dspace-tech<https://protect-au.mimecast.com/s/SP2tC81Zj6tz677qfRPIM3?domain=groups.google.com>.
For more options, visit 
https://groups.google.com/d/optout<https://protect-au.mimecast.com/s/RCanC91ZkQtMk55qTGsOqZ?domain=groups.google.com>.

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to