<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Alfresco crash while uploading documents in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-crash-while-uploading-documents/m-p/248708#M201838</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm running 3.2 ce on a dedicated machine and while uploading documents thru web services the machine gets "crazy" (I mean the java process serving Tomcat consumes the 100% of the cpu and the web client got a socket i/o error). The stack trace found in the tomcat logs was:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;10:47:57,401 User:smanico INFO&amp;nbsp; [management.subsystems.ChildApplicationContextFactory] Stopping 'fileServers' subsystem, ID: [default]&lt;BR /&gt;10:47:58,269 User:smanico INFO&amp;nbsp; [management.subsystems.ChildApplicationContextFactory] Stopped 'fileServers' subsystem, ID: [default]&lt;BR /&gt;10:47:58,270 User:smanico INFO&amp;nbsp; [management.subsystems.ChildApplicationContextFactory] Stopping 'imap' subsystem, ID: [default]&lt;BR /&gt;10:47:58,270 User:smanico INFO&amp;nbsp; [management.subsystems.ChildApplicationContextFactory] Stopped 'imap' subsystem, ID: [default]&lt;BR /&gt;10:47:58,271 User:smanico INFO&amp;nbsp; [management.subsystems.ChildApplicationContextFactory] Stopping 'Synchronization' subsystem, ID: [default]&lt;BR /&gt;10:47:58,271 User:smanico INFO&amp;nbsp; [management.subsystems.ChildApplicationContextFactory] Stopped 'Synchronization' subsystem, ID: [default]&lt;BR /&gt;10:47:58,299 User:smanico INFO&amp;nbsp; [management.subsystems.ChildApplicationContextFactory] Stopping 'thirdparty' subsystem, ID: [default]&lt;BR /&gt;10:47:58,303 User:smanico INFO&amp;nbsp; [management.subsystems.ChildApplicationContextFactory] Stopped 'thirdparty' subsystem, ID: [default]&lt;BR /&gt;10:47:58,309 User:smanico INFO&amp;nbsp; [management.subsystems.ChildApplicationContextFactory] Stopping 'Authentication' subsystem, ID: [managed, passthru1]&lt;BR /&gt;10:47:58,310 User:smanico INFO&amp;nbsp; [management.subsystems.ChildApplicationContextFactory] Stopped 'Authentication' subsystem, ID: [managed, passthru1]&lt;BR /&gt;10:47:58,310 User:smanico INFO&amp;nbsp; [management.subsystems.ChildApplicationContextFactory] Stopping 'Authentication' subsystem, ID: [managed, alfrescoNtlm1]&lt;BR /&gt;10:47:58,310 User:smanico INFO&amp;nbsp; [management.subsystems.ChildApplicationContextFactory] Stopped 'Authentication' subsystem, ID: [managed, alfrescoNtlm1]&lt;BR /&gt;log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository.&lt;BR /&gt;4-apr-2011 10.48.30 org.apache.catalina.core.StandardContext addApplicationListener&lt;BR /&gt;INFO: The listener "org.apache.myfaces.webapp.StartupServletContextListener" is already configured for this context. The duplicate definition has been ignored.&lt;BR /&gt;4-apr-2011 10.48.30 org.apache.catalina.core.StandardContext addApplicationListener&lt;BR /&gt;INFO: The listener "org.apache.myfaces.webapp.StartupServletContextListener" is already configured for this context. The duplicate definition has been ignored.&lt;BR /&gt;10:48:37,181&amp;nbsp; INFO&amp;nbsp; [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/repository.properties]&lt;BR /&gt;10:48:37,183&amp;nbsp; INFO&amp;nbsp; [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/domain/transaction.properties]&lt;BR /&gt;10:48:37,183&amp;nbsp; INFO&amp;nbsp; [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from URL [file:/usr/local/tomcat48/webapps/alfresco/WEB-INF/classes/alfresco-global.properties]&lt;BR /&gt;10:48:37,243&amp;nbsp; INFO&amp;nbsp; [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]&lt;BR /&gt;10:49:23,080&amp;nbsp; WARN&amp;nbsp; [factory.support.DefaultListableBeanFactory] Encountered FactoryBean creation exception for bean 'categoryService' - couldn't check type! org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'categoryService' defined in class path resource [alfresco/core-services-context.xml]: Invocation of init method failed; nested exception is java.lang.OutOfMemoryError: PermGen space&lt;BR /&gt;10:49:43,698&amp;nbsp; WARN&amp;nbsp; [factory.support.DefaultListableBeanFactory] Encountered FactoryBean creation exception for bean 'CategoryService' - couldn't check type! org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'CategoryService' defined in class path resource [alfresco/public-services-context.xml]: Cannot resolve reference to bean 'categoryService' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'categoryService' defined in class path resource [alfresco/core-services-context.xml]: Invocation of init method failed; nested exception is java.lang.OutOfMemoryError: PermGen space&lt;BR /&gt;10:50:28,138&amp;nbsp; WARN&amp;nbsp; [factory.support.DefaultListableBeanFactory] Encountered FactoryBean creation exception for bean 'CheckoutCheckinService' - couldn't check type! org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'CheckoutCheckinService' defined in class path resource [alfresco/public-services-context.xml]: Cannot resolve reference to bean 'checkOutCheckInService' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'checkOutCheckInService' defined in class path resource [alfresco/core-services-context.xml]: Instantiation of bean failed; nested exception is java.lang.OutOfMemoryError: PermGen space&lt;BR /&gt;Exception in thread "http-8080-24" java.lang.OutOfMemoryError: PermGen space&lt;BR /&gt;4-apr-2011 10.51.20 org.apache.catalina.connector.CoyoteAdapter service&lt;BR /&gt;GRAVE: An exception or error occurred in the container during the request processing&lt;BR /&gt;java.lang.OutOfMemoryError: PermGen space&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;The underlying machine has 2GB of memory allocated to Tomcat/Alfresco and the only solution to get the service restart seems to be rebooting the whole system (just rebooting Tomcat does not solve the problem). Any idea about what could have produced this problem?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Apr 2011 08:56:20 GMT</pubDate>
    <dc:creator>fluca1978</dc:creator>
    <dc:date>2011-04-04T08:56:20Z</dc:date>
    <item>
      <title>Alfresco crash while uploading documents</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-crash-while-uploading-documents/m-p/248708#M201838</link>
      <description>Hi all,I'm running 3.2 ce on a dedicated machine and while uploading documents thru web services the machine gets "crazy" (I mean the java process serving Tomcat consumes the 100% of the cpu and the web client got a socket i/o error). The stack trace found in the tomcat logs was:10:47:57,401 User:sm</description>
      <pubDate>Mon, 04 Apr 2011 08:56:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-crash-while-uploading-documents/m-p/248708#M201838</guid>
      <dc:creator>fluca1978</dc:creator>
      <dc:date>2011-04-04T08:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco crash while uploading documents</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-crash-while-uploading-documents/m-p/248709#M201839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes you are out of "PermGen" space.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2011 10:10:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-crash-while-uploading-documents/m-p/248709#M201839</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2011-04-04T10:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco crash while uploading documents</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-crash-while-uploading-documents/m-p/248710#M201840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Uhm…but the PermGen space should be filled with classes metadata, that is it should not be filled if the running code base is constant along time, right? In my alfresco instance I'm running only an application with web services deployed as a Tomcat war. This means that the code base is not changing along time, so the PermGen should not be filled as the application runs, right?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Moreover I found that executing the uploading with a block of 2000 documents the system works fine, while with a single chunk of 12000 produces the out of memory. So the only thing changing is the size of uploading data, not the running code. Could it be a leak in the Alfresco itself? Or am I getting all wrong here and don't get the problem?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just for the record: my maxPermSize is set to 128 MB.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2011 12:33:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-crash-while-uploading-documents/m-p/248710#M201840</guid>
      <dc:creator>fluca1978</dc:creator>
      <dc:date>2011-04-04T12:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco crash while uploading documents</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-crash-while-uploading-documents/m-p/248711#M201841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you have 2GB allocated to Alfresco then a permgen of 128M is far too small.&amp;nbsp;&amp;nbsp; At least double it.&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Its not worth going into details while your system is mis-configured.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2011 13:33:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-crash-while-uploading-documents/m-p/248711#M201841</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2011-04-04T13:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco crash while uploading documents</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-crash-while-uploading-documents/m-p/248712#M201842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok, thanks, I'll double it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I was using the configuration explained here as starting point &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/JVM_Tuning" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/JVM_Tuning&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2011 16:06:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-crash-while-uploading-documents/m-p/248712#M201842</guid>
      <dc:creator>fluca1978</dc:creator>
      <dc:date>2011-04-04T16:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco crash while uploading documents</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-crash-while-uploading-documents/m-p/248713#M201843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;After having doubled the size of PermGen I've noted that also upload times have doubled. Is this a direct consequence of such configuration parameter?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2011 09:19:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-crash-while-uploading-documents/m-p/248713#M201843</guid>
      <dc:creator>fluca1978</dc:creator>
      <dc:date>2011-04-11T09:19:03Z</dc:date>
    </item>
  </channel>
</rss>

