On Friday 10 January 2003 09:27 pm, Michael Sims wrote:
> >>             Warning: main(footer.inc.php) [function.main.html]: failed
> >> to create stream:
> >>             Too many open files in /www/sql/main.php on line 96

> As someone else said, this is an OS issue, but if you're running on
> Linux do a Google search for:
>
> /proc/sys/fs/file-max

something else to point out.  if you are hitting this limit, it's possible
that you're doing something wrong.  what does main.php do?  how
many files does it include?  what are you trying to do in there that
could lead to opening lots of files?  e.g., do you have a loop that
opens files, does something with them, then continues the loop
(opening more files without closing the previously opened files
that you don't need anymore)?

tiger

-- 
Gerald Timothy Quimpo  tiger*quimpo*org gquimpo*sni-inc.com tiger*sni*ph
Public Key: "gpg --keyserver pgp.mit.edu --recv-keys 672F4C78"
                   Veritas liberabit vos.
                   Doveryai no proveryai.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to