if apache2 is using worker MPM, rampart causing periodic CC segfaults

Bug #436407 reported by Daniel Nurmi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Eucalyptus
Fix Released
Critical
Unassigned
1.6
Fix Released
Critical
Unassigned
eucalyptus (Ubuntu)
Fix Released
High
Thierry Carrez
Karmic
Fix Released
High
Thierry Carrez

Bug Description

when apache2 is configured to use MPM worker mode (multiple threads, multiple children), we're seeing segfaults in rampart/openssl in cases where many messages are being sent in parallel to the CC from the CLC.

Revision history for this message
Daniel Nurmi (nurmi) wrote :

fixed in revno 885

Changed in eucalyptus:
status: New → Fix Committed
importance: Undecided → Critical
Revision history for this message
Daniel Nurmi (nurmi) wrote :

the workaround is to limit the number of threads per child in the CC httpd.conf to 1

Revision history for this message
Daniel Nurmi (nurmi) wrote :

re-fixed in revno 896

Matt Zimmerman (mdz)
Changed in eucalyptus (Ubuntu):
status: New → Triaged
importance: Undecided → High
assignee: nobody → Matt Zimmerman (mdz)
Thierry Carrez (ttx)
Changed in eucalyptus (Ubuntu):
milestone: none → ubuntu-9.10
Matt Zimmerman (mdz)
Changed in eucalyptus (Ubuntu Karmic):
assignee: Matt Zimmerman (mdz) → nobody
Daniel Nurmi (nurmi)
Changed in eucalyptus (Ubuntu Karmic):
assignee: nobody → Dustin Kirkland (kirkland)
status: Triaged → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package eucalyptus - 1.6~bzr912-0ubuntu1

---------------
eucalyptus (1.6~bzr912-0ubuntu1) karmic; urgency=low

  * Merge upstream revision 912
  * tools/eucalyptus-cc.in: resolve conflict, ensuring that we maintain
    the 'ThreadsPerChild 1' sed
  * clc/modules/www/src/main/java/edu/ucsb/eucalyptus/admin/server/ServletUtils.java:
    resolve conflict, drop our diff, as upstream has solved the smtp
    hostname issue
  * debian/patches/boot-order.patch: dropped, applies to a file we don't
    use anymore so it can be removed
  * debian/eucalyptus-walrus.eucalyptus-walrus-registration.upstart: source
    conf file and use $WALRUS_IP_ADDR variable, like the other scripts
  * This snapshot is expected to fix the following bugs:
    - LP: #388934 - apply authorization checks
    - LP: #430226 - fix display of image permissions
    - LP: #430957 - fix running of instances in SYSTEM mode
    - LP: #436276 - sc should run as eucalyptus, instead of root
    - LP: #436313 - fix sc registration through web ui
    - LP: #436407 - fix cc segfaults with apache-mpm-worker, rampart
    - LP: #436885 - fix database corruption, c3p0 deadlock on CLC
    - LP: #437014 - handle execessive CLC sockets
    - LP: #439251 - fix restart-required after autoregistration issue
    - LP: #440744 - handle external command
    - LP: #440817 - fail gracefully with volume deletion on sc
    - LP: #443125 - fix loss of admin credentials

 -- Dustin Kirkland <email address hidden> Mon, 05 Oct 2009 15:02:11 -0500

Changed in eucalyptus (Ubuntu Karmic):
status: In Progress → Fix Released
Revision history for this message
Thierry Carrez (ttx) wrote :

To fix bug 436407, upstream changed default CC httpd.conf parameters in tools/eucalyptus-cc.in
See http://bazaar.launchpad.net/~eucalyptus-maintainers/eucalyptus/1.6/revision/896

We don't use tools/eucalyptus-cc.in, but debian/eucalyptus-cc.upstart
This configuration change needs to be reported there in order to fix bug 436407

Changed in eucalyptus (Ubuntu Karmic):
status: Fix Released → Triaged
Thierry Carrez (ttx)
Changed in eucalyptus (Ubuntu Karmic):
assignee: Dustin Kirkland (kirkland) → Thierry Carrez (ttx)
status: Triaged → In Progress
Thierry Carrez (ttx)
Changed in eucalyptus (Ubuntu Karmic):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package eucalyptus - 1.6~bzr912-0ubuntu2

---------------
eucalyptus (1.6~bzr912-0ubuntu2) karmic; urgency=low

  [ Thierry Carrez ]
  * debian/eucalyptus-cc.upstart: Really fix LP: #436407, since it was only
    fixed in unused init scripts.
  * tools/eucalyptus-cc.in, tools/eucalyptus-java-ws.in: No longer patch
    those files, now that we use upstart we no longer use them.
  * debian/eucalyptus-cc.upstart: Fix typo that made post-start fail early,
    LP: #444560

  [ Dustin Kirkland ]
  * eucalyptus-cc.dirs, eucalyptus-cc.install, eucalyptus-cc.links: ensure
    that update-motd.d/80-eucalyptus-url is executable, LP: #444970

 -- Dustin Kirkland <email address hidden> Tue, 06 Oct 2009 19:31:14 -0500

Changed in eucalyptus (Ubuntu Karmic):
status: Fix Committed → Fix Released
Changed in eucalyptus:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.