Re: [Dspace-tech] 1.7.2 memory errors

2011-11-07 Thread Alan Orth

  
  
Hey,

1024 megs of PermGen looks like it *should* be enough... here's
mine:

JAVA_OPTS="-Djava.awt.headless=true -Xmx768m -Xms768m
-XX:MaxPermSize=256m"

How big/busy is your DSpace instance?

Alan

On 11/07/2011 09:43 AM, Swanepoel, Barrie wrote:

  
  
  
Hi all
 
We upgraded to 1.7.2 and everything
seems fine except that at least once per day the web service
becomes unresponsive. Also, when stopping the tomcat the
processors shoots up to 102% utilisation.
 
This then can only be fixed by killing
the process and restarting the instance again. That is
obviously not sustainable. When looking at the catalina.out
I see:
  
 
 
Nov 5, 2011 12:39:53 PM
  org.apache.solr.update.SolrIndexWriter finalize
87877 SEVERE: SolrIndexWriter was not
  closed prior to finalize(), indicates a bug -- POSSIBLE
  RESOURCE LEAK!!!
87878 Nov 5, 2011 12:39:58 PM
  org.apache.solr.common.SolrException log
87879 SEVERE: java.lang.OutOfMemoryError:
  PermGen space
87880
87881 Nov 5, 2011 1:31:46 PM
  org.apache.solr.update.processor.LogUpdateProcessor finish
87882 INFO: {} 0 1001
87883 Nov 5, 2011 1:31:47 PM
  org.apache.solr.update.SolrIndexWriter finalize
87884 SEVERE: SolrIndexWriter was not
  closed prior to finalize(), indicates a bug -- POSSIBLE
  RESOURCE LEAK!!!
87885 Nov 5, 2011 1:31:49 PM
  org.apache.solr.common.SolrException log
87886 SEVERE: java.lang.OutOfMemoryError:
  PermGen space
87887
87888 Exception in thread "http-80-38"
  java.lang.NullPointerException
87889 Exception in thread "http-80-37"
  java.lang.NullPointerException
87890 Exception in thread "http-80-29"
  java.lang.OutOfMemoryError: PermGen space
87891 Exception in thread "http-80-10"
  java.lang.OutOfMemoryError: PermGen space
87892 Exception in thread "http-80-4"
  java.lang.OutOfMemoryError: PermGen space
87893 Exception in thread "http-80-8"
  java.lang.OutOfMemoryError: PermGen space
87894 Exception in thread "http-80-23"
  java.lang.OutOfMemoryError: PermGen space
87895 Exception in thread "http-80-27"
  java.lang.OutOfMemoryError: PermGen space
87896 Exception in thread "http-80-20"
  java.lang.OutOfMemoryError: PermGen space
87897 Exception in thread "http-80-7"
  java.lang.OutOfMemoryError: PermGen space
87898 Exception in thread "http-80-11"
  java.lang.OutOfMemoryError: PermGen space
87899 Exception in thread "http-80-24"
  java.lang.OutOfMemoryError: PermGen space
87900 Exception in thread "http-80-15"
  java.lang.OutOfMemoryError: PermGen space
87901 Exception in thread "http-80-5"
  java.lang.OutOfMemoryError: PermGen space
87902 Exception in thread "http-80-3"
  java.lang.OutOfMemoryError: PermGen space
87903 Exception in thread "http-80-1"
  java.lang.OutOfMemoryError: PermGen space
87904 Exception in thread "http-80-28"
  java.lang.OutOfMemoryError: PermGen space
87905 Exception in thread "http-80-33"
  java.lang.OutOfMemoryError: PermGen space
87906 Exception in thread "http-80-35"
  java.lang.OutOfMemoryError: PermGen space
87907 Exception in thread "http-80-31"
  java.lang.OutOfMemoryError: PermGen space
87908 Exception in thread "http-80-36"
  java.lang.OutOfMemoryError: PermGen space
87909 Exception in thread "http-80-6"
  java.lang.OutOfMemoryError: PermGen space
87910 Exception in thread "http-80-14"
  java.lang.OutOfMemoryError: PermGen space
87911 Exception in thread "http-80-25"
  java.lang.OutOfMemoryError: PermGen space
87912 Exception in thread "http-80-9"
  java.lang.OutOfMemoryError: PermGen space
87913 Exception in thread "http-80-12"
  java.lang.OutOfMemoryError: PermGen space
87914 Exception in thread "http-80-32"
  java.lang.OutOfMemoryError: PermGen space
87915 Exception in thread "http-80-21"
  java.lang.OutOfMemoryError: PermGen space
87916 Exception in thread "http-80-22"
  java.lang.OutOfMemoryError: PermGen space
87917 Exception in thread "http-80-19"
  java.lang.OutOfMemoryError: PermGen space
87918 Exception in thread "http-80-17"
  java.lang.OutOfMemoryError: PermGen space
87919 Exception in thread "http-80-2"
  java.lang.OutOfMemoryError: PermGen space
87920 Exception in thread "http-80-26"
  java.lang

Re: [Dspace-tech] 1.7.2 memory errors

2011-11-07 Thread helix84
On Mon, Nov 7, 2011 at 07:43, Swanepoel, Barrie  wrote:
> CATALINA_OPTS=$CATALINA_OPTS" 
> -Djava.library.path=/home/jfclere/jakarta-tomcat-connectors/jni/native/.libs 
> -Xmx12288M -Xms12288M -Dfile.encoding=UTF-8 -XX:+UseConcMarkSweepGC 
> -XX:+CMSPermGenSweepingEnabled -XX:+CMSClassUnloadingEnabl    ed 
> -XX:MaxPermSize=1024M"
>
> Is this the right place ? It doesn’t seem to make a difference.

To verify that this is the right place, run
ps ax | grep java
and you'll see the command line with which tomcat was launched.

Regards,
~~helix84

--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] DSpace Logs

2011-11-07 Thread amutsikiwa
Hi

 

I have been running dspace for a while. Now my dspace directory is over 13GB
in size. My assetstore directory is under 700MB. My dspace log is the one
that is over 9GB.  The size is taking a toll on my backup. I know I have to
preserve the logs  in the interest of access statistics. But  I believe not
all the log entries contribute to  access statistics. So   I am wondering
which log entries can  I delete from the log directory?

 

 

 

Kind Regards,

 

Admire Mutsikiwa

ICT Projects Manager

Library IT

University of Zimbabwe

Tel:+263-4-303276

Cel:+263-772-239187

 




The University of Zimbabwe is eternally grateful to the tremendous support
it received from both local and international partners at its fundraising
dinner.  Partnerships supported are partnerships solidified; we hope to
continue working together with you our partners in our teaching and research
journey.  May the Lord richly bless you.

Website: www.fundraising.uz.ac.zw
--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] 1.7.2 memory errors

2011-11-07 Thread helix84
On Mon, Nov 7, 2011 at 10:34, Swanepoel, Barrie  wrote:
> Does this mean that the pid 2356 is actually then not using the changes I 
> made in the catalina.sh file? I see only java -Xmx256m. Not the change to 
> -Xmx12288M -Xms12288M.

That's correct. Your catalina.sh is probably not used at all during
tomcat startup.

There are many possible ways to set up Tomcat, so you'll have to find
the actual startup script that gets used. Start by looking into
/etc/init.d/ for the startup script (grep for tomcat). Simply said,
these are the scripts that automatically get run on server startup and
when you run "service x start".

I assume you don't start tomcat manually by running the catalina.sh script.

Please, keep dspace-tech in CC when replying.

Regards,
~~helix84

--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] 1.7.2 memory errors

2011-11-07 Thread helix84
Also, your server is definitely overdimensioned, so don't worry about
that. It's all about how much memory you instruct Tomcat to use. I
actually run a repository of your size inside a virtual machine with
1024 MB of RAM.

Regards,
~~helix84

--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] DSPACE Rest API (problem)

2011-11-07 Thread Abhishek Raval
Hello,


  *   I m trying to integrate DSPACE REST-API into dspace-1.7.2. During the
R&D i found some steps to follow through which i can do that. steps are
below.
*

1) Create a new directory for the REST module source code -
dspace-src/dspace-rest.

2) Checkout the source code from
http://scm.dspace.org/svn/repo/modules/dspace-rest/trunk/ into the new
directory.

3) Incorporate the new module into your project by adding a new 
element for dspace-rest to the 'all' profile in dspace-src/pom.xml.

4) Tell Maven to use your new local module by adding a new  to
dspace-src/dspace/pom.xml. If you don't do this the project will build okay
but won't be using your local source code for that module.

5) Create a new directory dspace-src/dspace/modules/rest.

5a) Add a sub-directory src/main/webapp and a pom.xml to the directory
created in 5. (Copy the pom from any other modules/ module).

6) Add a  to dspace-src/dspace/modules/pom.xml.
7) Rebuild your project.



*aftr doing this when i m trying to perform "mvn package" it gives me error
as per below*


D:\dspace-agro\dspace-rest\dspace-1.7.2-src-release>mvn package
[INFO] Scanning for projects...
Downloading:
http://source.sakaiproject.org/maven2//org/dspace/dspace-parent/1.8
.0-SNAPSHOT/dspace-parent-1.8.0-SNAPSHOT.pom
[WARNING] Unable to get resource
'org.dspace:dspace-parent:pom:1.8.0-SNAPSHOT' f
rom repository sakaiproject repository (
http://source.sakaiproject.org/maven2/):
 Error transferring file: source.sakaiproject.org
[INFO]

[ERROR] FATAL ERROR
[INFO]

[INFO] Error building POM (may not be this project's POM).


Project ID: org.dspace:dspace-rest:war:null

Reason: Cannot find parent: org.dspace:dspace-parent for project:
org.dspace:dsp
ace-rest:war:null for project org.dspace:dspace-rest:war:null



*anyone have any idea abt this how do i go farther on this ?
*

-- 
Thanks n Regards
Abhishek Raval
Software Engg.
Webinito Networks
Ph no.-+919601077584
--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] DSPACE Rest API (problem)

2011-11-07 Thread Dennis Tobar
Hi,

I think that you must rename the dspace version in pom.xml in the
dspace-rest directory, because pom is looking for dspace 1.8.0. Snapshot,
but I think that you aren't using that version.

I just playing with it around two months ago, an this was the first problem
to resolve.

Regards,
Dennis Tobar

El 07/11/2011 07:47, "Abhishek Raval"  escribió:

>
> Hello,
>
>
>  I m trying to integrate DSPACE REST-API into dspace-1.7.2. During
the R&D i found some steps to follow through which i can do that. steps are
below.
>
> 1) Create a new directory for the REST module source code -
dspace-src/dspace-rest.
>
> 2) Checkout the source code from
http://scm.dspace.org/svn/repo/modules/dspace-rest/trunk/ into the new
directory.
>
> 3) Incorporate the new module into your project by adding a new 
element for dspace-rest to the 'all' profile in dspace-src/pom.xml.
>
> 4) Tell Maven to use your new local module by adding a new  to
dspace-src/dspace/pom.xml. If you don't do this the project will build okay
but won't be using your local source code for that module.
>
> 5) Create a new directory dspace-src/dspace/modules/rest.
>
> 5a) Add a sub-directory src/main/webapp and a pom.xml to the directory
created in 5. (Copy the pom from any other modules/ module).
>
> 6) Add a  to dspace-src/dspace/modules/pom.xml.
>
> 7) Rebuild your project.
>
>
>
> aftr doing this when i m trying to perform "mvn package" it gives me
error as per below
>
>
> D:\dspace-agro\dspace-rest\dspace-1.7.2-src-release>mvn package
> [INFO] Scanning for projects...
> Downloading:
http://source.sakaiproject.org/maven2//org/dspace/dspace-parent/1.8
> .0-SNAPSHOT/dspace-parent-1.8.0-SNAPSHOT.pom
> [WARNING] Unable to get resource
'org.dspace:dspace-parent:pom:1.8.0-SNAPSHOT' f
> rom repository sakaiproject repository (
http://source.sakaiproject.org/maven2/):
>  Error transferring file: source.sakaiproject.org
> [INFO]

> [ERROR] FATAL ERROR
> [INFO]

> [INFO] Error building POM (may not be this project's POM).
>
>
> Project ID: org.dspace:dspace-rest:war:null
>
> Reason: Cannot find parent: org.dspace:dspace-parent for project:
org.dspace:dsp
> ace-rest:war:null for project org.dspace:dspace-rest:war:null
>
>
>
> anyone have any idea abt this how do i go farther on this ?
>
>
> --
> Thanks n Regards
> Abhishek Raval
> Software Engg.
> Webinito Networks
> Ph no.-+919601077584
>
>
>
--
> RSA(R) Conference 2012
> Save $700 by Nov 18
> Register now
> http://p.sf.net/sfu/rsa-sfdev2dev1
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] DSpace 1.8.0 is now available!

2011-11-07 Thread Robin Taylor
Dear DSpace Community,

On behalf of the DSpace developers, I would like to formally announce 
that DSpace 1.8.0 is now available!

DSpace 1.8.0 can be downloaded immediately at either of the following 
locations:

* SourceForge: https://sourceforge.net/projects/dspace/files/
* SVN: http://scm.dspace.org/svn/repo/dspace/tags/dspace-1.8.0/
In addition, you are welcome to try out DSpace 1.8.0 on 
http://demo.dspace.org/ and continue to provide any early feedback you 
may have.

DSpace 1.8.0 follows 1.7.0 in being a "time-based" release, albeit 
scheduled a little earlier than last year in order to avoid the end of 
year holiday season. The developers have managed to include some 
significant new features and numerous bug fixes.

== New Features and Improvements in 1.8.0 ==

* Improvements to the upgrade and configuration process: Most notably 
dspace.cfg has been split up, and the default behaviour when doing 'Ant 
update' is to replace the existing files if the new files are different.
https://wiki.duraspace.org/display/DSDOC18/Upgrading+From+1.7.x+to+1.8.x

* More Curation Tools/Plugins: Including a new "Metadata Link Checker" 
and "Metadata Translator".
https://wiki.duraspace.org/display/DSDOC18/Curation+System

* Configurable Workflow for the XMLUI: Allows administrators to 
customize their workflow approval process.
https://wiki.duraspace.org/display/DSDOC18/Configurable+Workflow

* SWORD Client: Enables DSpace to push/submit content to other SWORD 
enabled repositories.
https://wiki.duraspace.org/display/DSDOC18/SWORDv1+Client

* SWORDv2 Server Module: DSpace can now support submissions via SWORD 
protocol version 2 (as well as version 1).
https://wiki.duraspace.org/display/DSDOC18/SWORDv2+Server

* RSS feeds now support richer features, such as iTunes podcast and 
publishing to iTunesU.
https://wiki.duraspace.org/display/DSDOC18/Configuration#Configuration-SyndicationFeed%28RSS%29Settings

* Enhancements to Discovery faceted searching & browsing system.
https://wiki.duraspace.org/display/DSDOC18/Discovery

* Rewrite of Creative Commons licensing for XMLUI.
https://wiki.duraspace.org/display/DSDOC18/Configuration#Configuration-ConfiguringCreativeCommonsLicense

* Ability to reorder bitstreams in an item.
https://jira.duraspace.org/browse/DS-749

* Ability to enable virus checking during submission.
https://wiki.duraspace.org/display/DSDOC18/Curation
+System#CurationSystem-VirusScan

* Ability to Withdraw/Reinstate/Delete Items in Bulk, via Batch
Metadata 
Editing.
https://wiki.duraspace.org/display/DSDOC18/Batch+Metadata
+Editing#BatchMetadataEditing-Performing%27actions%27onitems

For more details on the above improvements and a complete list of 1.8.0 
modifications, please refer to the Version History or the Release Notes:
* Version History: https://wiki.duraspace.org/display/DSDOC18/History
* 1.8.0 Release Notes: 
https://wiki.duraspace.org/display/DSPACE/DSpace+Release+1.8.0+Notes


== 1.8.0 Documentation ==
The DSpace 1.8 documentation is available online at: 
https://wiki.duraspace.org/display/DSDOC18

A PDF copy of the Documentation are still distributed with the
software. 
  In addition, they can also be downloaded from:
http://www.dspace.org/latest-release/

== 1.8.0 Acknowledgments ==

The DSpace application would not exist without the hard work and support
of the community. Thank you to the many developers who have worked very 
hard to deliver all the new features and improvements. Also thanks to 
the users who provided input and feedback on the development, as well 
those who participated in the testathons. Additionally I would like to 
thank Tim Donohue of DuraSpace for ensuring that DSpace 1.8 went off 
without a hitch.

A detailed listing of all known people/institutions who contributed 
directly to DSpace 1.8.0 is available in the Preface of the DSpace 
Documentation: https://wiki.duraspace.org/display/DSDOC18/Preface
(If you contributed and were accidentally not listed, please let us know
so that we can correct it!)

== More Information ==

More information on this release is also available in the DSpace 1.8.0 
Release Notes at:
https://wiki.duraspace.org/display/DSPACE/DSpace+Release+1.8.0+Notes

As always, we are happy to hear back from the community about DSpace -- 
please let us know what you think of 1.8.0!

Robin Taylor (1.8.0 Release Coordinator) on behalf of all the DSpace 
developers.


--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] DSpace Logs

2011-11-07 Thread Peter Dietz
Hi Admire,

There is interesting information that lives in old logs. You could in the
future build something to count how many queries have been performed on
your system, see how popular your RSS feeds are, look at errors users
encounter, etc.

So, if your concerned with space and backup time, you could either move
your old logs off of your production server, and move them to another
server that works more as an "archive". Or.. you could just tar/zip up some
old logs to compress them which will save a massive amount of space. So
that when you need the logs in the future, you can just extract them.

The dspace.log logs are important. Cocoon.log is not important.
I wouldn't recommend altering the contents of dspace.log, but if you've had
debug mode on for an extended period of time, you might want to remove
debug entries.


Peter Dietz



On Mon, Nov 7, 2011 at 5:03 AM, amutsikiwa wrote:

>  Hi
>
> ** **
>
> I have been running dspace for a while. Now my dspace directory is over
> 13GB in size. My assetstore directory is under 700MB. My dspace log is the
> one that is over 9GB.  The size is taking a toll on my backup. I know I
> have to preserve the logs  in the interest of access statistics. But  I
> believe not all the log entries contribute to  access statistics. So   I am
> wondering which log entries can  I delete from the log directory?
>
> ** **
>
> ** **
>
> ** **
>
> Kind Regards,
>
> ** **
>
> Admire Mutsikiwa
>
> ICT Projects Manager
>
> Library IT
>
> University of Zimbabwe
>
> Tel:+263-4-303276
>
> Cel:+263-772-239187
>
> ** **
>
>  The University of Zimbabwe is eternally grateful to the tremendous
> support it received from both local and international partners at its
> fundraising dinner. Partnerships supported are partnerships solidified; w e
> hope to continue working together with you our partners in our teaching and
> research journey. May the Lord richly bless you. 
>
> *Website: www.fundraising.uz.ac.zw *
>
>
>
> --
> RSA(R) Conference 2012
> Save $700 by Nov 18
> Register now
> http://p.sf.net/sfu/rsa-sfdev2dev1
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>
--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] DSPACE Rest API (problem)

2011-11-07 Thread Abhishek Raval
Hello Dennis,

thanks for the help ..

i m still not getting wat to do in step 5a) ???. i just take pom.xml
from ../modules/jspui & put into ../modules/rest/is it right ?

pom.xml file need to edit or not ???


On Mon, Nov 7, 2011 at 5:02 PM, Dennis Tobar  wrote:

> Hi,
>
> I think that you must rename the dspace version in pom.xml in the
> dspace-rest directory, because pom is looking for dspace 1.8.0. Snapshot,
> but I think that you aren't using that version.
>
> I just playing with it around two months ago, an this was the first
> problem to resolve.
>
> Regards,
> Dennis Tobar
>
> El 07/11/2011 07:47, "Abhishek Raval"  escribió:
>
> >
> > Hello,
> >
> >
> >  I m trying to integrate DSPACE REST-API into dspace-1.7.2. During
> the R&D i found some steps to follow through which i can do that. steps are
> below.
> >
> > 1) Create a new directory for the REST module source code -
> dspace-src/dspace-rest.
> >
> > 2) Checkout the source code from
> http://scm.dspace.org/svn/repo/modules/dspace-rest/trunk/ into the new
> directory.
> >
> > 3) Incorporate the new module into your project by adding a new 
> element for dspace-rest to the 'all' profile in dspace-src/pom.xml.
> >
> > 4) Tell Maven to use your new local module by adding a new  to
> dspace-src/dspace/pom.xml. If you don't do this the project will build okay
> but won't be using your local source code for that module.
> >
> > 5) Create a new directory dspace-src/dspace/modules/rest.
> >
> > 5a) Add a sub-directory src/main/webapp and a pom.xml to the directory
> created in 5. (Copy the pom from any other modules/ module).
> >
> > 6) Add a  to dspace-src/dspace/modules/pom.xml.
> >
> > 7) Rebuild your project.
> >
> >
> >
> > aftr doing this when i m trying to perform "mvn package" it gives me
> error as per below
> >
> >
> > D:\dspace-agro\dspace-rest\dspace-1.7.2-src-release>mvn package
> > [INFO] Scanning for projects...
> > Downloading:
> http://source.sakaiproject.org/maven2//org/dspace/dspace-parent/1.8
> > .0-SNAPSHOT/dspace-parent-1.8.0-SNAPSHOT.pom
> > [WARNING] Unable to get resource
> 'org.dspace:dspace-parent:pom:1.8.0-SNAPSHOT' f
> > rom repository sakaiproject repository (
> http://source.sakaiproject.org/maven2/):
> >  Error transferring file: source.sakaiproject.org
> > [INFO]
> 
> > [ERROR] FATAL ERROR
> > [INFO]
> 
> > [INFO] Error building POM (may not be this project's POM).
> >
> >
> > Project ID: org.dspace:dspace-rest:war:null
> >
> > Reason: Cannot find parent: org.dspace:dspace-parent for project:
> org.dspace:dsp
> > ace-rest:war:null for project org.dspace:dspace-rest:war:null
> >
> >
> >
> > anyone have any idea abt this how do i go farther on this ?
> >
> >
> >
>
--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] 1.7.2 memory errors

2011-11-07 Thread Swanepoel, Barrie
Thanks helix84

I think I found the startup script for our tomcat in /etc/init.d/dspace

There were no settings specified M.

So I added it as follows at the start and end of what was there:

CATALINA_OPTS="-Xmx12288m -Xms12288m 
-Djava.library.path=/home/jfclere/jakarta-tomcat-connectors/jni/native/.libs 
-XX:MaxPermSize=1024m"

Server starts without issues, will keep an eye on it.

Also when doing the grep for java I see this:

2356 ?Sl 1:31 java -Xmx256m -classpath 
:/app/dspace/lib/activation-1.1.jar:/app/dspace/lib/ant-1.7.0.jar:/app/dspace/lib/ant-launcher-1.7.0.jar:/app/dspace/lib/aopalliance-1.0.jar:/app/dspace/lib/bcmail-jdk15-1.44.jar:/app/dspace/lib/bcprov-jdk15-1.44.jar:/app/dspace/lib/commons-cli-1.0.jar:/app/dspace/lib/commons-codec-1.3.jar:/app/dspace/lib/commons-collections-3.2.jar:/app/dspace/lib/commons-dbcp-1.4.jar:/app/dspace/lib/commons-fileupload-1.2.1.jar:/app/dspace/lib/commons-httpclient-3.1.jar:/app/dspace/lib/commons-io-1.4.jar:/app/dspace/lib/commons-lang-2.2.jar:/app/dspace/lib/commons-logging-1.1.1.jar:/app/dspace/lib/commons-pool-1.4.jar:/app/dspace/lib/dnsjava-2.0.6.jar:/app/dspace/lib/dom4j-1.6.1.jar:/app/dspace/lib/dspace-api-1.7.2.jar:/app/dspace/lib/dspace-api-lang-1.7.1.0.jar:/app/dspace/lib/dspace-discovery-provider-1.7.2.jar:/app/dspace/lib/dspace-geoip-1.2.3.jar:/app/dspace/lib/dspace-services-api-2.0.3.jar:/app/dspace/lib/dspace-services-impl-2.0.3.jar:/app/dspace/lib/dspace-services-utils-2.0.3.jar:/app/dspace/lib/dspace-stats-1.7.2.jar:/app/dspace/lib/dspace-tm-extractors-1.0.1.jar:/app/dspace/lib/ehcache-core-1.7.2.jar:/app/dspace/lib/fontbox-1.2.1.jar:/app/dspace/lib/geronimo-stax-api_1.0_spec-1.0.1.jar:/app/dspace/lib/handle-6.2.jar:/app/dspace/lib/icu4j-3.8.jar:/app/dspace/lib/jargon-1.4.25.jar:/app/dspace/lib/jaxen-1.1.jar:/app/dspace/lib/jdom-1.0.jar:/app/dspace/lib/jempbox-1.2.1.jar:/app/dspace/lib/junit-4.1.jar:/app/dspace/lib/log4j-1.2.14.jar:/app/dspace/lib/lucene-analyzers-2.9.3.jar:/app/dspace/lib/lucene-core-2.9.3.jar:/app/dspace/lib/mail-1.4.jar:/app/dspace/lib/mets-1.5.2.jar:/app/dspace/lib/oclc-harvester2-0.1.12.jar:/app/dspace/lib/opensearch-0.1.jar:/app/dspace/lib/oro-2.0.8.jar:/app/dspace/lib/pdfbox-1.2.1.jar:/app/dspace/lib/poi-3.6.jar:/app/dspace/lib/poi-ooxml-3.6.jar:/app/dspace/lib/poi-ooxml-schemas-3.6.jar:/app/dspace/lib/poi-scratchpad-3.6.jar:/app/dspace/lib/postgresql-8.1-408.jdbc3.jar:/app/dspace/lib/rome-1.0.0.jar:/app/dspace/lib/servlet-api-2.3.jar:/app/dspace/lib/slf4j-api-1.5.6.jar:/app/dspace/lib/slf4j-log4j12-1.5.6.jar:/app/dspace/lib/solr-solrj-1.4.1.jar:/app/dspace/lib/spring-beans-2.5.6.jar:/app/dspace/lib/spring-context-2.5.6.jar:/app/dspace/lib/spring-context-support-2.5.6.jar:/app/dspace/lib/spring-core-2.5.6.jar:/app/dspace/lib/spring-jdbc-2.5.6.jar:/app/dspace/lib/spring-tx-2.5.6.jar:/app/dspace/lib/stax-api-1.0.1.jar:/app/dspace/lib/utils-1.07.00.jar:/app/dspace/lib/wstx-asl-3.2.7.jar:/app/dspace/lib/xalan-2.7.0.jar:/app/dspace/lib/xercesImpl-2.8.1.jar:/app/dspace/lib/xml-apis-1.3.02.jar:/app/dspace/lib/xmlbeans-2.3.0.jar:/app/dspace/lib/xmlParserAPIs-2.0.2.jar:/app/dspace/lib/xmlunit-1.1.jar:/app/dspace/config
 -Ddspace.log.init.disable=true 
-Dlog4j.configuration=log4j-handle-plugin.properties net.handle.server.Main 
/app/dspace/handle-server
15998 ?Ss 0:00 jsvc.exec -user dspace -home /app/dspace-src/java 
-Dcatalina.home=/app/dspace-src/tomcat -Dcatalina.base=/app/dspace-src/tomcat 
-Djava.io.tmpdir=/var/tmp -wait 10 -pidfile /var/run/jsvc.pid -outfile 
/app/dspace-src/tomcat/logs/catalina.out -errfile &1 -Xmx12288m -Xms12288m 
-Djava.library.path=/home/jfclere/jakarta-tomcat-connectors/jni/native/.libs 
-XX:MaxPermSize=1024m -cp 
/app/dspace-src/java/lib/tools.jar:/app/dspace-src/tomcat/bin/commons-daemon.jar:/app/dspace-src/tomcat/bin/bootstrap.jar
 org.apache.catalina.startup.Bootstrap
15999 ?Sl 0:37 jsvc.exec -user dspace -home /app/dspace-src/java 
-Dcatalina.home=/app/dspace-src/tomcat -Dcatalina.base=/app/dspace-src/tomcat 
-Djava.io.tmpdir=/var/tmp -wait 10 -pidfile /var/run/jsvc.pid -outfile 
/app/dspace-src/tomcat/logs/catalina.out -errfile &1 -Xmx12288m -Xms12288m 
-Djava.library.path=/home/jfclere/jakarta-tomcat-connectors/jni/native/.libs 
-XX:MaxPermSize=1024m -cp 
/app/dspace-src/java/lib/tools.jar:/app/dspace-src/tomcat/bin/commons-daemon.jar:/app/dspace-src/tomcat/bin/bootstrap.jar
 org.apache.catalina.startup.Bootstrap
16126 pts/0S+ 0:00 grep java

The service is running and I don’t see any issues yet.

Will keep the list updated.

Thanks for all help thus far! By the way we are enjoying the xml  Mirage 
interface!


Barrie Swanepoel
Systems Administrator
University of Johannesburg
Library and Information Centre
PO Box 524
Auckland Park
Johannesburg
Republic of South Africa
Tel: +27 11 559 2347
Cell: 082 565 7743




-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: 07 November 2011 11