Uploaded image for project: 'JBoss Core Services'
  1. JBoss Core Services
  2. JBCS-157

rotatelogs: creation of zombie processes when -p is used

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • httpd 2.4.23 ER1
    • httpd 2.4.6 GA
    • httpd
    • None
    • The issue has been fixed by the upgrade 2.4.23
    • Hide

      -Setup JBoss Core Services httpd

      • add the following directive to the httpd.conf: CustomLog "|/root/jbcs-httpd24-2.4/httpd/sbin/rotatelogs -p /bin/true -l /root/jbcs-httpd24-2.4/httpd/logs/access_log.%M 120" common
      • wait 2 min run the following command " ps aux |grep Z"
      1. ps aux |grep Z
        USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
        root 4047 0.0 0.0 0 0 ? Z 17:17 0:00 [true] <defunct>
        root 4049 0.0 0.0 112640 980 pts/0 R+ 17:17 0:00 grep --color=auto Z
      Show
      -Setup JBoss Core Services httpd add the following directive to the httpd.conf: CustomLog "|/root/jbcs-httpd24-2.4/httpd/sbin/rotatelogs -p /bin/true -l /root/jbcs-httpd24-2.4/httpd/logs/access_log.%M 120" common wait 2 min run the following command " ps aux |grep Z" ps aux |grep Z USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 4047 0.0 0.0 0 0 ? Z 17:17 0:00 [true] <defunct> root 4049 0.0 0.0 112640 980 pts/0 R+ 17:17 0:00 grep --color=auto Z

      In rotatelogs: creation of zombie processes when -p is used

      The problem appears to be addressed in Apache 2.4.10 :

      *) rotatelogs: Avoid creation of zombie processes when -p is used on
      Unix platforms. [Joe Orton]

      http://archive.apache.org/dist/httpd/CHANGES_2.4.10

            rhn-engineering-jclere Jean-Frederic Clere
            rhn-support-hpham Hung Pham (Inactive)
            Jan Onderka Jan Onderka
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: