memory leak in call_usermodehelper()

From: Srikumar Subramanian (SrikumarS_at_ami.com)
Date: 12/30/03

  • Next message: Andrew Morton: "Re: [PATCH] optimize ia32 memmove"
    To: "'linux-kernel@vger.kernel.org'" <linux-kernel@vger.kernel.org>
    Date:	Tue, 30 Dec 2003 02:32:01 -0500
    
    

    Hi All,

    From my customized system call, I merely call call_usermodehelper() to spawn
    a process. When I call my_system_call around 1000 times in order to spawn
    'hello world' program, I noticed in 'top' program that system has lost 200
    KB of free memory.
    I just increased the iteration to 700000, I lost the entire 128 MB free
    memory from my system and eventually the system is freezed.

    Any suggestion or patch to over come this issue ?

    Please 'cc' me in your reply.

    Thanks & Regards,
    Srikumar.
    -
    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: Andrew Morton: "Re: [PATCH] optimize ia32 memmove"

    Relevant Pages

    • Re: [patch] Real-Time Preemption, -RT-2.6.12-rc1-V0.7.43-00
      ... On Sat, 2005-04-02 at 14:37 -0500, Steven Rostedt wrote: ... > What the test program does, is spawn 5 processes, each with a different ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • RE: [ANNOUNCE] Interbench v0.21
      ... Changed the design to run the benchmarked and background loads as separate ... processes that spawn their own threads instead of everything running as a ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: forkbombing Linux distributions
      ... What if the few procs that he may spawn also grab so much memory so your ... machine disappears in swap-trashing? ... >-9 the script name repeatedly. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [ANNOUNCE] udev 015 release
      ... On Mon, 2004-01-26 at 23:50, Greg KH wrote: ... Is there a known issue that the daemon do not spawn? ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [ANNOUNCE] udev 015 release
      ... > Is there a known issue that the daemon do not spawn? ... This code is under major flux right now... ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)