[php-maint] Bug#633100: php5-common: /etc/cron.d/php5 script runs find with fuser process which spawns too much process eats up the system

ile kanisystem at gmail.com
Fri Jul 8 12:12:13 UTC 2011


Package: php5-common
Version: 5.3.6-13
Severity: important
Tags: wheezy sid



-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.39-2-686-pae (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages php5-common depends on:
ii  libc6                         2.13-10    Embedded GNU C Library: Shared lib
ii  sed                           4.2.1-9    The GNU sed stream editor

Versions of packages php5-common recommends:
ii  php5-suhosin                  0.9.32.1-1 advanced protection module for php

php5-common suggests no packages.

-- no debconf information

from ps axjf:

 8994 25989 25989  8994 pts/6    25989 S+       0   0:00  |                           \_ find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -cmin +24 ! -execdir fuser -s {} ; -delete
25989  6542 25989  8994 pts/6    25989 R+       0   0:00  |                               \_ fuser -s ./sess_vo7t73r9tk8fdop15o9isud9j1osvpus
 6542  6543 25989  8994 pts/6    25989 Z+       0   0:00  |                                   \_ [fuser] <defunct>
 6542  6544 25989  8994 pts/6    25989 Z+       0   0:00  |                                   \_ [fuser] <defunct>
 6542  6545 25989  8994 pts/6    25989 Z+       0   0:00  |                                   \_ [fuser] <defunct>
 6542  6546 25989  8994 pts/6    25989 Z+       0   0:00  |                                   \_ [fuser] <defunct>
 6542  6547 25989  8994 pts/6    25989 Z+       0   0:00  |                                   \_ [fuser] <defunct>
 6542  6548 25989  8994 pts/6    25989 Z+       0   0:00  |                                   \_ [fuser] <defunct>
 6542  6549 25989  8994 pts/6    25989 Z+       0   0:00  |                                   \_ [fuser] <defunct>
 6542  6550 25989  8994 pts/6    25989 Z+       0   0:00  |                                   \_ [fuser] <defunct>
 6542  6551 25989  8994 pts/6    25989 Z+       0   0:00  |                                   \_ [fuser] <defunct>
 6542  6552 25989  8994 pts/6    25989 Z+       0   0:00  |                                   \_ [fuser] <defunct>
 6542  6553 25989  8994 pts/6    25989 Z+       0   0:00  |                                   \_ [fuser] <defunct>
 6542  6554 25989  8994 pts/6    25989 Z+       0   0:00  |                                   \_ [fuser] <defunct>
 6542  6555 25989  8994 pts/6    25989 Z+       0   0:00  |                                   \_ [fuser] <defunct>
 6542  6556 25989  8994 pts/6    25989 Z+       0   0:00  |                                   \_ [fuser] <defunct>
 6542  6557 25989  8994 pts/6    25989 Z+       0   0:00  |                                   \_ [fuser] <defunct>
 6542  6558 25989  8994 pts/6    25989 Z+       0   0:00  |                                   \_ [fuser] <defunct>
 6542  6559 25989  8994 pts/6    25989 Z+       0   0:00  |                                   \_ [fuser] <defunct>
 6542  6560 25989  8994 pts/6    25989 Z+       0   0:00  |                                   \_ [fuser] <defunct>
 6542  6561 25989  8994 pts/6    25989 Z+       0   0:00  |                                   \_ [fuser] <defunct>
 6542  6562 25989  8994 pts/6    25989 Z+       0   0:00  |                                   \_ [fuser] <defunct>
 6542  6563 25989  8994 pts/6    25989 Z+       0   0:00  |                                   \_ [fuser] <defunct>
 6542  6564 25989  8994 pts/6    25989 Z+       0   0:00  |                                   \_ [fuser] <defunct>
 6542  6565 25989  8994 pts/6    25989 Z+       0   0:00  |                                   \_ [fuser] <defunct>
 6542  6566 25989  8994 pts/6    25989 Z+       0   0:00  |                                   \_ [fuser] <defunct>
 6542  6567 25989  8994 pts/6    25989 Z+       0   0:00  |                                   \_ [fuser] <defunct>
 6542  6568 25989  8994 pts/6    25989 Z+       0   0:00  |                                   \_ [fuser] <defunct>
 6542  6569 25989  8994 pts/6    25989 Z+       0   0:00  |                                   \_ [fuser] <defunct>
 6542  6570 25989  8994 pts/6    25989 Z+       0   0:00  |                                   \_ [fuser] <defunct>
....

fuser can spawn 20000 or more processes making the system unstable





More information about the pkg-php-maint mailing list