[php-maint] Bug#711291: Bug#711291: php5 cron file can run multiple times in parallel

Ondřej Surý ondrej at debian.org
Thu Jun 6 08:50:37 UTC 2013

Control: fixed -1 php5/5.5.0~alpha1-1
Control: tags -1 wheezy

Hi Alexander,

you might want to pull cron job:

and sessionclean script:

I have already improved the session clean script, but it didn't make it
into wheezy, because of lack of testers with too many session files.

Unfortunatelly we cannot avoid looking at the files, because of #626640.


On Thu, Jun 6, 2013 at 8:36 AM, Alexander E. Patrakov <patrakov at gmail.com>wrote:

> Package: php5
> Version: 5.4.4-14
> Severity: normal
> Dear Maintainer,
> Some bad guys have created a lot of PHP sessions on my server. So many
> that it takes more than 30 minutes to remove them for the default PHP5
> cron script that runs a fuser process for each session file to be
> removed.
> While the old instance of the cron job was still running, cron decoded
> to spawn another one, further increasing the load average. You could
> avoid that by using a lock file and mailing the admin if the script
> runs over its own tail.
> Of course, it would also be nice to avoid running an expensive fuser
> process for each to-be-removed file.
> -- System Information:
> Debian Release: 7.0
>   APT prefers stable
>   APT policy: (500, 'stable')
> Architecture: amd64 (x86_64)
> Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
> Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Versions of packages php5 depends on:
> ii  libapache2-mod-php5  5.4.4-14
> ii  php5-common          5.4.4-14
> php5 recommends no packages.
> php5 suggests no packages.
> -- no debconf information
> --
> Alexander E. Patrakov
> _______________________________________________
> pkg-php-maint mailing list
> pkg-php-maint at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint

Ondřej Surý <ondrej at sury.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20130606/1d95905e/attachment-0001.html>

More information about the pkg-php-maint mailing list