#44 fuser forks and produces zombies

Next Release
closed
nobody
None
5
2014-01-31
2011-10-28
Peter Holik
No

As described in https://bugs.launchpad.net/ubuntu/+source/php5/+bug/876387 and https://bugs.launchpad.net/ubuntu/+source/php5/+bug/877894
fuser produces a lot of zombies.

my fix is to wait for the child process:

--- fuser.c.orig 2011-10-28 10:50:49.000000000 +0200
+++ fuser.c 2011-10-28 10:50:49.000000000 +0200
@@ -1820,6 +1820,7 @@
(void) alarm(0);
(void) signal(SIGALRM, SIG_DFL);
close(pipes[0]);
+ waitpid(pid, NULL, 0);
break;
}
return ret;

Discussion

  • Craig Small

    Craig Small - 2011-10-28

    This bug has now been fixed in the CVS version of this package. The fix will be propagated to the tar source files in
    the near future.

     
  • Craig Small

    Craig Small - 2014-01-31
    • status: pending --> closed
    • Group: --> Next Release
     


Anonymous

Cancel  Add attachments





Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks