[Bug 483577] [NEW] ftruncate on a flock'ed file makes the php go crazy and create huge file (and use all disc space)

LimCore user.ubuntu at limcore.com
Mon Nov 16 12:41:01 GMT 2009


Public bug reported:

Binary package hint: php5

When PHP script does following:  lock EXclusive, read, truncate, write -
then if you execute such script quickly, then sometimes it "goes crazy"
- then the file grows infinatelly it seems (to using all disc space).

ProblemType: Bug
Architecture: amd64
Date: Mon Nov 16 13:35:24 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: nvidia
Package: php5 5.2.10.dfsg.1-2ubuntu6.1
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: php5
Uname: Linux 2.6.31-14-generic x86_64

** Affects: php5 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug

-- 
ftruncate on a flock'ed file makes the php go crazy and create huge file (and use all disc space)
https://bugs.launchpad.net/bugs/483577
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.



More information about the Ubuntu-server-bugs mailing list