f



Too many open files

Last weekend I updated php to version 4.3.3. The installation was succesful,
but now I receive the message

Warning: Unknown(/srv/www/htdocs/snmp/snmp_color.php): failed to open
stream: Too many open files in Unknown on line 0

This can be solved bij restarting the apache webserver. I runs fine for 10
minutes, and than the message is back again.
How can I Solve this ? Can someone help me ?

Richard

This is the output of phpinfo()

PHP Version 4.3.3

System Linux guppie 2.4.19-4GB #1 Fri Jul 11 07:28:25 UTC 2003 i686
Build Date Sep 29 2003 15:42:58
Configure Command './configure' '--prefix=/usr/share'
'--datadir=/usr/share/php' '--bindir=/usr/bin' '--libdir=/usr/share'
'--includedir=/usr/include' '--sysconfdir=/etc' '--with-_lib=lib'
'--with-config-file-path=/etc' '--with-exec-dir=/usr/lib/php/bin'
'--disable-debug' '--enable-bcmath' '--enable-calendar' '--enable-ctype'
'--enable-dbase' '--enable-discard-path' '--enable-exif' '--enable-filepro'
'--enable-force-cgi-redirect' '--enable-ftp' '--enable-gd-imgstrttf'
'--enable-gd-native-ttf' '--enable-inline-optimization'
'--enable-magic-quotes' '--enable-mbstr-enc-trans' '--enable-mbstring'
'--enable-mbregex' '--enable-memory-limit' '--enable-safe-mode'
'--enable-shmop' '--enable-sigchild' '--enable-sysvsem' '--enable-sysvshm'
'--enable-track-vars' '--enable-trans-sid' '--enable-versioning'
'--enable-wddx' '--enable-yp' '--with-bz2' '--with-dom=/usr/include/libxml2'
'--with-ftp' '--with-gdbm' '--with-gettext' '--with-gmp' '--with-imap=yes'
'--with-iodbc' '--with-jpeg-dir=/usr' '--with-ldap=yes' '--with-mcal=/usr'
'--with-mcrypt' '--with-mysql=/usr' '--with-ndbm' '--with-pgsql=/usr'
'--with-png-dir=/usr' '--with-readline' '--with-snmp' '--with-t1lib'
'--with-tiff-dir=/usr' '--with-ttf' '--with-freetype-dir=yes' '--with-xml'
'--with-xpm-dir=/usr/X11R6' '--with-zlib=yes' '--with-gd' '--with-openssl'
'--with-curl' '--with-swf=/usr/src/packages/BUILD/swf/dist/'
'--with-imap-ssl' '--with-iconv' '--with-mm' '--with-apxs=/usr/sbin/apxs'
'i586-suse-linux'
Server API Apache
Virtual Directory Support disabled
Configuration File (php.ini) Path /etc/php.ini
PHP API 20020918
PHP Extension 20020429
Zend Extension 20021010
Debug Build no
Thread Safety disabled
Registered PHP Streams php, http, ftp, https, ftps, compress.bzip2,
compress.zlib

 This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies




PHP Credits



Configuration
PHP Core
DirectiveLocal ValueMaster Value
allow_call_time_pass_referenceOnOn
allow_url_fopenOnOn
always_populate_raw_post_dataOffOff
arg_separator.input&&
arg_separator.output&&
asp_tagsOffOff
auto_append_fileno valueno value
auto_prepend_fileno valueno value
browscapno valueno value
default_charsetno valueno value
default_mimetypetext/htmltext/html
define_syslog_variablesOffOff
disable_classesno valueno value
disable_functionsno valueno value
display_errorsOnOn
display_startup_errorsOffOff
doc_rootno valueno value
docref_extno valueno value
docref_rootno valueno value
enable_dlOnOn
error_append_stringno valueno value
error_logno valueno value
error_prepend_stringno valueno value
error_reporting20392039
expose_phpOnOn
extension_dir/usr/share/extensions/no-debug-non-zts-20020429/usr/share/exten
sions/no-debug-non-zts-20020429
file_uploadsOnOn
gpc_orderGPCGPC
highlight.bg#FFFFFF#FFFFFF
highlight.comment#FF8000#FF8000
highlight.default#0000BB#0000BB
highlight.html#000000#000000
highlight.keyword#007700#007700
highlight.string#DD0000#DD0000
html_errorsOnOn
ignore_repeated_errorsOffOff
ignore_repeated_sourceOffOff
ignore_user_abortOffOff
implicit_flushOffOff
include_path.:/usr/share/php.:/usr/share/php
log_errorsOffOff
log_errors_max_len10241024
magic_quotes_gpcOnOn
magic_quotes_runtimeOffOff
magic_quotes_sybaseOffOff
max_execution_time3030
max_input_time6060
memory_limit8M8M
open_basedirno valueno value
output_bufferingno valueno value
output_handlerno valueno value
post_max_size8M8M
precision1212
register_argc_argvOnOn
register_globalsOnOn
report_memleaksOnOn
safe_modeOffOff
safe_mode_exec_dirno valueno value
safe_mode_gidOffOff
safe_mode_include_dirno valueno value
sendmail_fromme@localhost.comme@localhost.com
sendmail_path/usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i
serialize_precision100100
short_open_tagOnOn
SMTPlocalhostlocalhost
smtp_port2525
sql.safe_modeOffOff
track_errorsOffOff
unserialize_callback_funcno valueno value
upload_max_filesize2M2M
upload_tmp_dirno valueno value
user_dirno valueno value
variables_orderEGPCSEGPCS
xmlrpc_error_number00
xmlrpc_errorsOffOff
y2k_complianceOnOn


apache
APACHE_INCLUDE no value
APACHE_TARGET no value
Apache Version Apache/1.3.26
Apache Release 10326100
Apache API Version 19990320
Hostname:Port guppie.zwaardvis.local:80
User/Group wwwrun(30)/65534
Max Requests Per Child: 0 - Keep Alive: on - Max Per Connection: 100
Timeouts Connection: 300 - Keep-Alive: 15
Server Root /srv/www
Loaded Modules mod_userdir, mod_php4, mod_perl, mod_setenvif, mod_gd,
mod_so, mod_unique_id, mod_usertrack, mod_headers, mod_expires,
mod_cern_meta, mod_proxy, mod_digest, mod_auth_db, mod_auth_dbm,
mod_auth_anon, mod_auth, mod_access, mod_rewrite, mod_alias, mod_speling,
mod_actions, mod_imap, mod_asis, mod_cgi, mod_dir, mod_autoindex,
mod_include, mod_info, mod_status, mod_negotiation, mod_mime,
mod_mime_magic, mod_log_referer, mod_log_agent, mod_log_config, mod_define,
mod_env, mod_vhost_alias, mod_mmap_static, http_core

DirectiveLocal ValueMaster Value
child_terminate00
engine11
last_modified00
xbithack00


Apache Environment
VariableValue
DOCUMENT_ROOT /srv/www/htdocs
HTTP_ACCEPT */*
HTTP_ACCEPT_ENCODING gzip, deflate
HTTP_ACCEPT_LANGUAGE nl
HTTP_CONNECTION Keep-Alive
HTTP_HOST guppie.zwaardvis.local
HTTP_REFERER
http://guppie/phpMyAdmin/main.php?lang=nl-iso-8859-1&convcharset=iso-8859-1&server=1
HTTP_USER_AGENT Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
PATH
/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/usr/X11R6
/bin:/bin:/usr/games
REMOTE_ADDR 192.168.1.125
REMOTE_PORT 2933
SCRIPT_FILENAME /srv/www/htdocs/phpMyAdmin/phpinfo.php
SERVER_ADDR 192.168.1.1
SERVER_ADMIN webmaster@guppie.zwaardvis.local
SERVER_NAME guppie.zwaardvis.local
SERVER_PORT 80
SERVER_SIGNATURE <ADDRESS>Apache/1.3.26 Server at guppie.zwaardvis.local
Port 80</ADDRESS>
SERVER_SOFTWARE Apache/1.3.26 (Linux/SuSE) PHP/4.3.3 mod_perl/1.27
UNIQUE_ID P9THSNVdtOsAAB46BjY
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING no value
REQUEST_URI /phpMyAdmin/phpinfo.php
SCRIPT_NAME /phpMyAdmin/phpinfo.php


HTTP Headers Information
HTTP Request Headers
HTTP Request GET /phpMyAdmin/phpinfo.php HTTP/1.1
Accept */*
Accept-Encoding gzip, deflate
Accept-Language nl
Authorization Basic cm9vdDpJbmt0dmlz
Connection Keep-Alive
Host guppie.zwaardvis.local
Referer
http://guppie/phpMyAdmin/main.php?lang=nl-iso-8859-1&convcharset=iso-8859-1&server=1
User-Agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
HTTP Response Headers
X-Powered-By PHP/4.3.3
Keep-Alive timeout=15, max=99
Connection Keep-Alive
Transfer-Encoding chunked
Content-Type text/html


bcmath
BCMath support enabled


bz2
BZip2 Support Enabled
BZip2 Version 1.0.2, 30-Dec-2001


calendar
Calendar support enabled


ctype
ctype functions enabled


curl
CURL support enabled
CURL Information libcurl 7.9.8 (OpenSSL 0.9.6g) (ipv6 enabled)


dba
DBA support enabled
Supported handlers gdbm ndbm cdb cdb_make inifile flatfile


domxml
DOM/XML enabled
DOM/XML API Version 20020815
libxml Version 20423
HTML Support enabled
XPath Support enabled
XPointer Support enabled


exif
EXIF Support enabled
EXIF Version 1.4 $Id: exif.c,v 1.118.2.23 2003/06/25 13:21:54 edink Exp $
Supported EXIF Version 0220
Supported filetypes JPEG,TIFF


ftp
FTP support enabled


gd
GD Support enabled
GD Version bundled (2.0.15 compatible)
FreeType Support enabled
FreeType Linkage with freetype
T1Lib Support enabled
GIF Read Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled


gettext
GetText Support enabled


gmp
gmp support enabled


iconv
iconv support enabled
iconv implementation glibc
iconv library version 2.2.5

DirectiveLocal ValueMaster Value
iconv.input_encodingISO-8859-1ISO-8859-1
iconv.internal_encodingISO-8859-1ISO-8859-1
iconv.output_encodingISO-8859-1ISO-8859-1


imap
IMAP c-Client Version 2001
SSL Support enabled


ldap
LDAP Support enabled
RCS Version $Id: ldap.c,v 1.130.2.4 2003/04/30 21:54:02 iliaa Exp $
Total Links 0/unlimited
API Version 2004
Vendor Name OpenLDAP
Vendor Version 20104


mbstring
Multibyte Support enabled
Japanese support enabled
Multibyte (japanese) regex support enabled

mbstring extension makes use of "streamable kanji code filter and
converter", which is distributed under the GNU Lesser General Public License
version 2.1.

DirectiveLocal ValueMaster Value
mbstring.detect_orderno valueno value
mbstring.encoding_translationOffOff
mbstring.func_overload00
mbstring.http_inputpasspass
mbstring.http_outputpasspass
mbstring.internal_encodingUTF-8UTF-8
mbstring.languageneutralneutral
mbstring.substitute_characterno valueno value


mcal
MCAL Support enabled
MCAL Version 0.6 - 20000121


mcrypt
mcrypt supportenabled
version >= 2.4.x
Supported ciphers cast-128 cast-256 enigma xtea arcfour panama mars
safer-sk64 saferplus des tripledes blowfish skipjack gost rc2 rc6
safer-sk128 threeway serpent idea wake loki97 rijndael-128 rijndael-192
rijndael-256 twofish blowfish-compat
Supported modes stream cbc cfb ctr ecb ncfb ofb nofb

DirectiveLocal ValueMaster Value
mcrypt.algorithms_dirno valueno value
mcrypt.modes_dirno valueno value


mysql
MySQL Supportenabled
Active Persistent Links 0
Active Links
1
Client API version 3.23.52
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib -lmysqlclient

DirectiveLocal ValueMaster Value
mysql.allow_persistentOnOn
mysql.connect_timeout6060
mysql.default_hostno valueno value
mysql.default_passwordno valueno value
mysql.default_portno valueno value
mysql.default_socketno valueno value
mysql.default_userno valueno value
mysql.max_linksUnlimitedUnlimited
mysql.max_persistentUnlimitedUnlimited
mysql.trace_modeOffOff


odbc
ODBC Supportenabled
Active Persistent Links 0
Active Links 0
ODBC library iodbc
ODBC_INCLUDE -I/usr/local/include
ODBC_LFLAGS -L/usr/local/lib
ODBC_LIBS -liodbc

DirectiveLocal ValueMaster Value
odbc.allow_persistentOnOn
odbc.check_persistentOnOn
odbc.default_dbno valueno value
odbc.default_pwno valueno value
odbc.default_userno valueno value
odbc.defaultbinmodereturn as isreturn as is
odbc.defaultlrlreturn up to 4096 bytesreturn up to 4096 bytes
odbc.max_linksUnlimitedUnlimited
odbc.max_persistentUnlimitedUnlimited


openssl
OpenSSL support enabled
OpenSSL Version OpenSSL 0.9.6g [engine] 9 Aug 2002


overload
User-Space Object Overloading Support enabled


pcre
PCRE (Perl Compatible Regular Expressions) Support enabled
PCRE Library Version 4.3 21-May-2003


pgsql
PostgreSQL Supportenabled
PostgreSQL(libpq) Version 7.2.2
Multibyte character support enabled
SSL support enabled
Active Persistent Links 0
Active Links 0

DirectiveLocal ValueMaster Value
pgsql.allow_persistentOnOn
pgsql.auto_reset_persistentOffOff
pgsql.ignore_noticeOffOff
pgsql.log_noticeOffOff
pgsql.max_linksUnlimitedUnlimited
pgsql.max_persistentUnlimitedUnlimited


posix
Revision $Revision: 1.51.2.2 $


session
Session Support enabled
Registered save handlers files user mm mm

DirectiveLocal ValueMaster Value
session.auto_startOffOff
session.bug_compat_42OnOn
session.bug_compat_warnOnOn
session.cache_expire180180
session.cache_limiternocachenocache
session.cookie_domainno valueno value
session.cookie_lifetime00
session.cookie_path//
session.cookie_secureOffOff
session.entropy_fileno valueno value
session.entropy_length00
session.gc_divisor100100
session.gc_maxlifetime14401440
session.gc_probability11
session.namePHPSESSIDPHPSESSID
session.referer_checkno valueno value
session.save_handlerfilesfiles
session.save_path/tmp/tmp
session.serialize_handlerphpphp
session.use_cookiesOnOn
session.use_only_cookiesOffOff
session.use_trans_sidOffOff


shmop
shmop support enabled


snmp
UCD-SNMP Support enabled
UCD-SNMP Version 4.2.5


standard
Regex Library Bundled library enabled
Dynamic Library Support enabled
Path to sendmail /usr/sbin/sendmail -t -i

DirectiveLocal ValueMaster Value
assert.active11
assert.bail00
assert.callbackno valueno value
assert.quiet_eval00
assert.warning11
auto_detect_line_endings00
default_socket_timeout6060
safe_mode_allowed_env_varsPHP_PHP_
safe_mode_protected_env_varsLD_LIBRARY_PATHLD_LIBRARY_PATH
url_rewriter.tagsa=href,area=href,frame=src,input=src,form=,fieldset=a=href,
area=href,frame=src,input=src,form=,fieldset=
user_agentno valueno value


swf
swf support enabled


tokenizer
Tokenizer Support enabled


wddx
WDDX Supportenabled
WDDX Session Serializer enabled


xml
XML Support active
XML Namespace Support active
EXPAT Version 1.95.6


yp
YP Support enabled


zlib
ZLib Support enabled
Compiled Version 1.1.4
Linked Version 1.1.4

DirectiveLocal ValueMaster Value
zlib.output_compressionOffOff
zlib.output_compression_level-1-1
zlib.output_handlerno valueno value


Additional Modules
Module Name
dbase
filepro
sysvsem
sysvshm


Environment
VariableValue
LESSKEY /etc/lesskey.bin
NNTPSERVER news
INFODIR /usr/local/info:/usr/share/info:/usr/info
MANPATH /usr/share/man:/usr/local/man
HOSTNAME guppie
XKEYSYMDB /usr/X11R6/lib/X11/XKeysymDB
HOST guppie
SHELL /bin/bash
TERM xterm
PROFILEREAD true
QTDIR /usr/lib/qt3
USER root
LS_COLORS
no=00:fi=00:di=01;34:ln=00;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;3
3;01:or=40;31:ex=00;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.bat=01;32:*.btm
=01;32:*.dll=01;32:*.tar=00;31:*.tbz=00;31:*.tgz=00;31:*.rpm=00;31:*.deb=00;
31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.zoo=00;31:*.z=00;31:*.Z
=00;31:*.gz=00;31:*.bz2=00;31:*.tb2=00;31:*.tz2=00;31:*.tbz2=00;31:*.avi=01;
35:*.bmp=01;35:*.fli=01;35:*.gif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mng=01;35:
*.mov=01;35:*.mpg=01;35:*.pcx=01;35:*.pbm=01;35:*.pgm=01;35:*.png=01;35:*.pp
m=01;35:*.tga=01;35:*.tif=01;35:*.xbm=01;35:*.xpm=01;35:*.dl=01;35:*.gl=01;3
5:*.aiff=00;32:*.au=00;32:*.mid=00;32:*.mp3=00;32:*.ogg=00;32:*.voc=00;32:*.
wav=00;32:
LD_LIBRARY_PATH :/lib:/lib
XNLSPATH /usr/X11R6/lib/X11/nls
HOSTTYPE i386
FROM_HEADER mine.nu
PAGER less
COLUMNS 80
MINICOM -c on
PATH
/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/usr/X11R6
/bin:/bin:/usr/games
CPU i686
INPUTRC /etc/inputrc
PWD /root
LINES 24
DBROOT /dev/null
TEXINPUTS :/root/.TeX:/usr/share/doc/.TeX:/usr/doc/.TeX
SHLVL 3
HOME /root
LESS_ADVANCED_PREPROCESSOR no
OSTYPE linux
LS_OPTIONS -a -N --color=tty -T 0
no_proxy localhost
RC_LC_COLLATE POSIX
WINDOWMANAGER /usr/X11R6/bin/kde
LESS -M -I
MACHTYPE i686-suse-linux
LOGNAME root
PRINTER lp
RC_LANG en_US
LC_CTYPE en_US
LESSOPEN lessopen.sh %s
INFOPATH /usr/local/info:/usr/share/info:/usr/info
ORACLE_HOME no value
LESSCLOSE lessclose.sh %s %s
COLORTERM 1
_ /sbin/startproc
PREVLEVEL N
RUNLEVEL 3
DAEMON /usr/sbin/httpd
SWFFONTPATH /usr/share/php/swffonts


PHP Variables
VariableValue
PHP_SELF /phpMyAdmin/phpinfo.php
PHP_AUTH_USER root
PHP_AUTH_PW Inktvis
_SERVER["DOCUMENT_ROOT"]/srv/www/htdocs
_SERVER["HTTP_ACCEPT"]*/*
_SERVER["HTTP_ACCEPT_ENCODING"]gzip, deflate
_SERVER["HTTP_ACCEPT_LANGUAGE"]nl
_SERVER["HTTP_CONNECTION"]Keep-Alive
_SERVER["HTTP_HOST"]guppie.zwaardvis.local
_SERVER["HTTP_REFERER"]http://guppie/phpMyAdmin/main.php?lang=nl-iso-8859-1&
convcharset=iso-8859-1&server=1
_SERVER["HTTP_USER_AGENT"]Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
_SERVER["PATH"]/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr
/bin:/usr/X11R6/bin:/bin:/usr/games
_SERVER["REMOTE_ADDR"]192.168.1.125
_SERVER["REMOTE_PORT"]2933
_SERVER["SCRIPT_FILENAME"]/srv/www/htdocs/phpMyAdmin/phpinfo.php
_SERVER["SERVER_ADDR"]192.168.1.1
_SERVER["SERVER_ADMIN"]webmaster@guppie.zwaardvis.local
_SERVER["SERVER_NAME"]guppie.zwaardvis.local
_SERVER["SERVER_PORT"]80
_SERVER["SERVER_SIGNATURE"]<ADDRESS>Apache/1.3.26 Server at
guppie.zwaardvis.local Port 80</ADDRESS>
_SERVER["SERVER_SOFTWARE"]Apache/1.3.26 (Linux/SuSE) PHP/4.3.3 mod_perl/1.27
_SERVER["UNIQUE_ID"]P9THSNVdtOsAAB46BjY
_SERVER["GATEWAY_INTERFACE"]CGI/1.1
_SERVER["SERVER_PROTOCOL"]HTTP/1.1
_SERVER["REQUEST_METHOD"]GET
_SERVER["QUERY_STRING"]no value
_SERVER["REQUEST_URI"]/phpMyAdmin/phpinfo.php
_SERVER["SCRIPT_NAME"]/phpMyAdmin/phpinfo.php
_SERVER["PATH_TRANSLATED"]/srv/www/htdocs/phpMyAdmin/phpinfo.php
_SERVER["PHP_SELF"]/phpMyAdmin/phpinfo.php
_SERVER["argv"]Array
(
)


_SERVER["argc"]0
_SERVER["PHP_AUTH_USER"]root
_SERVER["PHP_AUTH_PW"]Inktvis
_ENV["LESSKEY"]/etc/lesskey.bin
_ENV["NNTPSERVER"]news
_ENV["INFODIR"]/usr/local/info:/usr/share/info:/usr/info
_ENV["MANPATH"]/usr/share/man:/usr/local/man
_ENV["HOSTNAME"]guppie
_ENV["XKEYSYMDB"]/usr/X11R6/lib/X11/XKeysymDB
_ENV["HOST"]guppie
_ENV["SHELL"]/bin/bash
_ENV["TERM"]xterm
_ENV["PROFILEREAD"]true
_ENV["QTDIR"]/usr/lib/qt3
_ENV["USER"]root
_ENV["LS_COLORS"]no=00:fi=00:di=01;34:ln=00;36:pi=40;33:so=01;35:do=01;35:bd
=40;33;01:cd=40;33;01:or=40;31:ex=00;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:
*.bat=01;32:*.btm=01;32:*.dll=01;32:*.tar=00;31:*.tbz=00;31:*.tgz=00;31:*.rp
m=00;31:*.deb=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.zoo=00
;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.tb2=00;31:*.tz2=00;31:*.tbz
2=00;31:*.avi=01;35:*.bmp=01;35:*.fli=01;35:*.gif=01;35:*.jpg=01;35:*.jpeg=0
1;35:*.mng=01;35:*.mov=01;35:*.mpg=01;35:*.pcx=01;35:*.pbm=01;35:*.pgm=01;35
:*.png=01;35:*.ppm=01;35:*.tga=01;35:*.tif=01;35:*.xbm=01;35:*.xpm=01;35:*.d
l=01;35:*.gl=01;35:*.aiff=00;32:*.au=00;32:*.mid=00;32:*.mp3=00;32:*.ogg=00;
32:*.voc=00;32:*.wav=00;32:
_ENV["LD_LIBRARY_PATH"]:/lib:/lib
_ENV["XNLSPATH"]/usr/X11R6/lib/X11/nls
_ENV["HOSTTYPE"]i386
_ENV["FROM_HEADER"]mine.nu
_ENV["PAGER"]less
_ENV["COLUMNS"]80
_ENV["MINICOM"]-c on
_ENV["PATH"]/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bi
n:/usr/X11R6/bin:/bin:/usr/games
_ENV["CPU"]i686
_ENV["INPUTRC"]/etc/inputrc
_ENV["PWD"]/root
_ENV["LINES"]24
_ENV["DBROOT"]/dev/null
_ENV["TEXINPUTS"]:/root/.TeX:/usr/share/doc/.TeX:/usr/doc/.TeX
_ENV["SHLVL"]3
_ENV["HOME"]/root
_ENV["LESS_ADVANCED_PREPROCESSOR"]no
_ENV["OSTYPE"]linux
_ENV["LS_OPTIONS"]-a -N --color=tty -T 0
_ENV["no_proxy"]localhost
_ENV["RC_LC_COLLATE"]POSIX
_ENV["WINDOWMANAGER"]/usr/X11R6/bin/kde
_ENV["LESS"]-M -I
_ENV["MACHTYPE"]i686-suse-linux
_ENV["LOGNAME"]root
_ENV["PRINTER"]lp
_ENV["RC_LANG"]en_US
_ENV["LC_CTYPE"]en_US
_ENV["LESSOPEN"]lessopen.sh %s
_ENV["INFOPATH"]/usr/local/info:/usr/share/info:/usr/info
_ENV["ORACLE_HOME"]no value
_ENV["LESSCLOSE"]lessclose.sh %s %s
_ENV["COLORTERM"]1
_ENV["_"]/sbin/startproc
_ENV["PREVLEVEL"]N
_ENV["RUNLEVEL"]3
_ENV["DAEMON"]/usr/sbin/httpd
_ENV["SWFFONTPATH"]/usr/share/php/swffonts


PHP License
This program is free software; you can redistribute it and/or modify it
under the terms of the PHP License as published by the PHP Group and
included in the distribution in the file: LICENSE
This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.
If you did not receive a copy of the PHP license, or have any questions
about PHP licensing, please contact license@php.net.



0
rjonker (3)
12/10/2003 8:09:03 PM
comp.lang.php 32646 articles. 0 followers. Post Follow

1 Replies
41220 Views

Similar Articles

[PageSpeed] 33

Richard <rjonker@hccnet.nl> wrote:
> Last weekend I updated php to version 4.3.3. The installation was succesful,
> but now I receive the message
> 
> Warning: Unknown(/srv/www/htdocs/snmp/snmp_color.php): failed to open
> stream: Too many open files in Unknown on line 0
> 
> This can be solved bij restarting the apache webserver. I runs fine for 10
> minutes, and than the message is back again.
> How can I Solve this ? Can someone help me ?

You are running on a unix machine. A user has a limited number of max
processes/files they can run/open (see ulimit). So either you have to
increase these numbers (depend on server how to actually do that) of
limit the number of apache processes, and check your scripts (you might
have unclosed files).

0
12/11/2003 10:33:04 PM
Reply: