strange bug(?) when opening lots of files
| From: | Shane Wright | Date: | Tue, 17 Sep 2002 22:14:46 +0000 |
| Subject: | strange bug(?) when opening lots of files | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-116665@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi
One of my pages opens ~100 files, reads from them, and closes them, (only one
file open at a time).
The problem is that the page just dies mid-way through execution - no errors,
no segfault, it just dies and returns a blank page to the user. the problem
goes away if I reduce the number of files accessed.
its a build of PHP 4.1.2 on Linux running as an Apache module, (if it makes
any odds, the configure line is below).
I can't see anything on bugs.php.net about this - has anyone seen this before
(and, of course, the crucial question; what can I do to fix it?)
Any help appreciated,
Thanks
- --
Shane
http://www.shanewright.co.uk/
Public key: http://www.shanewright.co.uk/files/public_key.asc
'./configure' '--with-gd' '--enable-gd-native-ttf'
'--enable-track-vars'
'--enable-sysvsem' '--enable-sysvshm' '--enable-calendar'
'--with-zlib'
'--prefix=/opt/php-4.1' '--with-config-file-path=/usr/local/etc/httpd/conf'
'--enable-memory-limit' '--with-db2=/usr' '--with-db3=/usr'
'--with-gdbm=/usr' '--with-ndbm=/usr' '--with-dbase'
'--with-xml'
'--with-expat-dir=/usr' '--enable-debugger' '--enable-ftp'
'--with-ttf'
'--with-jpeg-dir=/usr' '--enable-bcmath' '--with-openssl'
'--enable-trans-sid' '--with-mysql=/usr' '--with-xpm-dir=/usr/X11R6'
'--with-png' '--with-png-dir=/usr' '--with-imap'
'--with-dom=/usr'
'--with-bz2' '--with-curl' '--with-mhash=/usr'
'--with-mcrypt=/usr'
'--with-pgsql' '--with-gmp' '--with-gettext' '--with-iconv'
'--with-kerberos'
'--enable-xslt' '--with-xslt-sablot' '--with-freetype-dir=/usr'
'--with-apxs=/usr/sbin/apxs'
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE9h6lW5DXg6dCMBrQRAhhiAKCIo1xdyyDtx7fT8SO8Xz4bfWOg7QCfdjE3
STUVeNEID6bzu4+hq+PqCI4=
=zZqL
-----END PGP SIGNATURE-----