[Bug 1356113] Re: PHP5 session clean cron job causes OOM
Steve Kamerman
1356113 at bugs.launchpad.net
Tue Aug 19 15:11:32 UTC 2014
Issue on line 8:
echo -e "$SAPIS" | \
The "-e" is ending up in the output (perhaps dash's echo has no "-e") resulting in this error:
./sessionclean: 10: [: /etc/php5/-e: unexpected operator
I've removed the -e as our input is clean anyway.
Also, I've run this to normalize the spacing:
sed -i "s/\t/ /" sessionclean
Other than that everything is working well. Thanks for the help here!
** Attachment added: "sessionclean"
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1356113/+attachment/4181650/+files/sessionclean
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in Ubuntu.
https://bugs.launchpad.net/bugs/1356113
Title:
PHP5 session clean cron job causes OOM
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1356113/+subscriptions
More information about the Ubuntu-server-bugs
mailing list