#44633 [Com]: Write/read errors on vhosts

From: Date: Thu, 01 May 2008 18:35:29 +0000
Subject: #44633 [Com]: Write/read errors on vhosts
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-124637@lists.php.net to get a copy of this message
ID: 44633 Comment by: mark at klma dot com Reported By: prikid at gmail dot com Status: No Feedback Bug Type: Apache2 related Operating System: FreeBSD 6.2-RELEASE PHP Version: 5.2.5 Assigned To: fb-req-jani New Comment: This will actually crash the server due to too many temp files in /var/tmp/ I have smarty save cached templates in subdirectories but this staff is all recorded for no reason in one folder. Its billions of files that crashes my server even if I run ls. Previous Comments: ------------------------------------------------------------------------ [2008-04-12 01:00:00] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2008-04-04 21:59:08] jani@php.net Note: That script can NOT use Smarty. (IMO, nobody should use Smarty, ever..anywhere..it shouldn't even exist. :) ------------------------------------------------------------------------ [2008-04-04 21:58:12] jani@php.net You have to come up with short (but complete!) reproduce script for this. Good luck.. :) ------------------------------------------------------------------------ [2008-04-04 18:37:27] prikid at gmail dot com I've checked smarty and our scripts for umask(), checked shell settings and apache settings for umask(), but none of those exist anywhere in scripts/shell profiles. This is not only Smarty specific, but also sessions are affected (they aren't created through smarty, but instantiated through our scripts). Php creates an empty session file in '/var/tmp' with no permissions. I've changed '/var/tmp' ownership to apache user, but php still bugs out on it ------------------------------------------------------------------------ [2008-04-04 18:06:04] jani@php.net I'm starting to think this is no bug at all, just a bug in either Smarty or in how you use it. It propably does something stupid like uses umask() function. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/44633 -- Edit this bug report at http://bugs.php.net/?id=44633&edit=1

« previous php.bugs (#124637) next »