I discovered the solution to my indexing problem. To recap what happened: when I ran the dspace filter-media script it would crash after a while and complain about too many files being open. To fix that I edited the /etc/security/limits.conf file and added the following lines: * hard nofile 65536 * soft nofile 65536 But the script still kept crashing. Finally I discovered that the * wildcard does not apply to the root user, and I often login to our dspace server with my own username and run dspace scripts using sudo instead of doing things the proper way and running the scripts as the dspace user. By running the script as root, the new file limits did not apply. Lesson learned, and I hope this message helps someone else in the future. -Joshua Joshua Gomez Digital Library Programmer Analyst Gelman Library George Washington University (202) 994-8267 jngo...@library.gwu.edu
>>> Andrea Schweer <schw...@waikato.ac.nz> 7/21/2011 5:29 PM >>> Hi Joshua, On 22/07/11 02:20, Joshua Gomez wrote: > Andrea, yes that worked. thanks. Of course I believe it has nothing > to do with my original indexing problem, but at least I'm removing > possibilities. Good to hear it works and thanks for confirming -- I'll update the wiki page. So you're still getting your "too many open files" error with the Sun JDK? The original error message you posted very much looked like a JDK problem. If you suspect it's actually related to Tomcat's memory settings, you could try increasing its memory. There are some hints here: https://wiki.duraspace.org/display/DSPACE/HowToPerformanceTuneForDspace. You'd change JAVA_OPTS in /etc/default/tomcat6. cheers, Andrea -- Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand ------------------------------------------------------------------------------ 5 Ways to Improve & Secure Unified Communications Unified Communications promises greater efficiencies for business. UC can improve internal communications as well as offer faster, more efficient ways to interact with customers and streamline customer service. Learn more! http://www.accelacomm.com/jaw/sfnl/114/51426253/ _______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey
_______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech