zombies with AMD64 and 32 bit userspace with 2.6

From: David Lang (david.lang_at_digitalinsight.com)
Date: 05/15/04

  • Next message: Greg KH: "Re: [PATCH] Driver Core patches for 2.6.6"
    To: linux-kernel@vger.kernel.org
    Date:	Fri, 14 May 2004 16:24:43 -0700 (PDT)
    
    

    I have a box I am testing in my lab which is a dual opteron with a
    complete 32 bit userspace (debian based) with a 64 bit kernel. when
    running a stress test with a highly forking workload I am running into a
    situation where it generates a lot of zombies

    the test is a simple forking proxy that receives connections from one
    machine (running apache benchmark) and forwards them to anothr machine
    (running apache). for <~30,000 requests the machine keeps up with no
    problem (apache is the bottlneck here at ~3500 requests/sec), but if I try
    to do a test with more then about 30,000 requests in it the box starts to
    generate zombie processes (eventually running into the max processes limit
    and stopping)

    the smaller tests leave no zombies at all and can be run multiple times
    without a problem (although I have not run them back to back, so there is
    a substantial bit of time between tests)

    I have been able to duplicate this with the 2.6.4 and 2.6.6 kernels.

    running the exact same test (same binaries except for the kernel) on a
    dual athlon box has no problems (the dual athlon box becomes the
    bottleneck at ~2500 connections/sec) and has survived 10,000,000
    connection tests.

    David Lang

    -- 
    "Debugging is twice as hard as writing the code in the first place.
    Therefore, if you write the code as cleverly as possible, you are,
    by definition, not smart enough to debug it." - Brian W. Kernighan
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Greg KH: "Re: [PATCH] Driver Core patches for 2.6.6"

    Relevant Pages

    • Re: Do I want an ACK in my high-level protocol when using TCP?
      ...   for { ... have those 2 connections to B at once. ... application A will hold back sending requests ... other network I/O in the application. ...
      (comp.unix.programmer)
    • Re: Socket Programming
      ... * Single threaded application that multiplexes concurrent connections ... Some requests may be served within millisecond time scale. ... On a single cpu system, ... do is keep some rolling counter of number of connections accepted in ...
      (comp.lang.lisp)
    • Re: IOCP Across Threads - Error 995
      ... The problem is that when a thread exits with outstanding overlapped ... send requests in progress all of those requests are cancelled - See: ... I have created an additional thread that initiates connections to the ... I placed a Sleepat the end of the outgoing connection ...
      (microsoft.public.win32.programmer.networks)
    • Re: Network Firewall/Routing Solution
      ... >> firewall combo boxes that linksys sells, and I really don't want to run ... >> not working properly at all with multiple network cards. ... >> like Unicode and header information for http requests, ... >> non-pasv connections. ...
      (comp.security.firewalls)
    • requests for mbufs denied
      ... I have a relative high traffic server, running Apache, MySQL and Drupal. ... requests for sfbufs delayed ...
      (freebsd-current)