Uploaded image for project: 'Alfresco'
  1. Alfresco
  2. ALF-21084

Alfresco 4.2.c stops repsonding when moving around files for an hour

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Not a bug
    • Affects Version/s: 4.2.c Community
    • Fix Version/s: None
    • Security Level: external (External user)
    • Labels:
      None
    • Environment:
      Debian GNU 64 bit
    • Security Severity:
      None
    • Triage:
      To Do

      Description

      After moving around files for one hour, al fresco stops responding, ftp is not accisible, also not through a browser. When you wait for 1 hour al fresco is alive and kicking again. I also have upgraded the memory for each java process and that seemed to help, but we are not satified with al fresco not responding.

      When i restart al fresco, al fresco seems to repsond quicker than before.

        Activity

        Hide
        dhulley Derek Hulley added a comment -

        This, being a performance issue, requires a lot more detail regarding the machine specifications, memory, setup, etc.

        When it happens, take several jstack dumps as well.
        Check that your DB lock wait timeout is set to something like 5s.

        Show
        dhulley Derek Hulley added a comment - This, being a performance issue, requires a lot more detail regarding the machine specifications, memory, setup, etc. When it happens, take several jstack dumps as well. Check that your DB lock wait timeout is set to something like 5s.
        Hide
        waywardnl Roland de Leeuw added a comment -

        The machine has 3 GB of memory, 4 cpu cores at 2,7 Ghz. Where can i find the DB lock timeout setting?

        Show
        waywardnl Roland de Leeuw added a comment - The machine has 3 GB of memory, 4 cpu cores at 2,7 Ghz. Where can i find the DB lock timeout setting?
        Hide
        waywardnl Roland de Leeuw added a comment -

        It runs onder vmware 5.0

        Show
        waywardnl Roland de Leeuw added a comment - It runs onder vmware 5.0
        Hide
        dhulley Derek Hulley added a comment -

        Please provide the jstack dumps (zipped up) as well.
        After that, in order for us to reproduce it, you need to describe the installation process precisely; you do not mention the database being used, for example.

        Show
        dhulley Derek Hulley added a comment - Please provide the jstack dumps (zipped up) as well. After that, in order for us to reproduce it, you need to describe the installation process precisely; you do not mention the database being used, for example.
        Hide
        waywardnl Roland de Leeuw added a comment -

        Okay,

        How do i make a jstack dump.? Or do you mean the log files of alfresco?

        i don't know exactly, it is done for me, but since i'am not happy with the service i started to troubleshoot myself. I know al fresco 4.2.b was first installed and then upgraded to 4.2.c. Also i discovered that the log files started to grow to 37 GB, i cleaned it up en inserted a log rotate script to prevent this problem. From this point the performance rocketed to an accaptable level.

        Show
        waywardnl Roland de Leeuw added a comment - Okay, How do i make a jstack dump.? Or do you mean the log files of alfresco? i don't know exactly, it is done for me, but since i'am not happy with the service i started to troubleshoot myself. I know al fresco 4.2.b was first installed and then upgraded to 4.2.c. Also i discovered that the log files started to grow to 37 GB, i cleaned it up en inserted a log rotate script to prevent this problem. From this point the performance rocketed to an accaptable level.
        Hide
        dhulley Derek Hulley added a comment -

        See this presentation by Romain Guinot: http://www.youtube.com/watch?v=D1osmgmMwHU
        You can adjust the log4j settings to effectively do the log rotation as well. Do you need more from us?

        Show
        dhulley Derek Hulley added a comment - See this presentation by Romain Guinot : http://www.youtube.com/watch?v=D1osmgmMwHU You can adjust the log4j settings to effectively do the log rotation as well. Do you need more from us?
        Hide
        rguinot Romain Guinot added a comment -

        37GB log files ? that is odd.... how long did it take to get to that size ? on top of what Derek said, sounds like your config may have some DEBUG categories left on in the log4j configuration.

        you may want to check your log4j configuration (tomcat/webapps/alfresco/WEB-INF/classes/log4j.properties and in tomcat/shared/classes/alfresco/extension) that there are no uncommented lines with DEBUG.

        Show
        rguinot Romain Guinot added a comment - 37GB log files ? that is odd.... how long did it take to get to that size ? on top of what Derek said, sounds like your config may have some DEBUG categories left on in the log4j configuration. you may want to check your log4j configuration (tomcat/webapps/alfresco/WEB-INF/classes/log4j.properties and in tomcat/shared/classes/alfresco/extension) that there are no uncommented lines with DEBUG.
        Hide
        waywardnl Roland de Leeuw added a comment -

        37 GB has grown over 6 months, so log rotation was not working.

        I will look at the presentation. I dont know if this help perform better than no, but if i keep getting complaints i need more.

        Show
        waywardnl Roland de Leeuw added a comment - 37 GB has grown over 6 months, so log rotation was not working. I will look at the presentation. I dont know if this help perform better than no, but if i keep getting complaints i need more.
        Hide
        dhulley Derek Hulley added a comment -

        Out of the box, the system will start a new log file each day. Someone changed this on your system.

        The presentation will give you some idea of how to troubleshoot performance issues. If you don't involve our Support, then that is what you need to do in the first instance.

        Show
        dhulley Derek Hulley added a comment - Out of the box, the system will start a new log file each day. Someone changed this on your system. The presentation will give you some idea of how to troubleshoot performance issues. If you don't involve our Support, then that is what you need to do in the first instance.

          People

          • Assignee:
            closedissues Closed Issues
            Reporter:
            waywardnl Roland de Leeuw
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Date of First Response: