PHP 4.0 Bug #7142: After "Maximum execution time" httpd eats all processor

From: Date: Wed, 11 Oct 2000 22:35:42 +0000
Subject: PHP 4.0 Bug #7142: After "Maximum execution time" httpd eats all processor
Groups: php.dev 
Request: Send a blank email to php-dev+get-34717@lists.php.net to get a copy of this message
From: lrvazquez@megared.net.mx Operating system: SunOS 5.7 PHP version: 4.0.2 PHP Bug Type: Apache related Bug description: After "Maximum execution time" httpd eats all processor No particular script generate this... I have apache 1.3.12 with apache as static module and my scripts work fine, I have no problems with them... I have 3 avg requests per second and each httpd daemon use from 0.01% until 0.20% of the processor... At this point everything is fine, but suddently appears the follow message in the php log: "Maximum execution time of 30 seconds exceeded in Unknown on line 0". Very rare because don't tell the script name and the line, after this the daemon httpd use over 90% of processor, if another error appears then another process begin to eat the processor but share the load with the first one to complete about 90% and this occurs with each error of this kind. The scripts never fail, and I make the script generates the "Maximum execution time " error and the message says the script name and the line at this error occurs and no change in the load happens. I have another rare random error appears: No content-type in POST request in Unknown on line 0 Any idea ?? ------- configure ---------------------------------- ./configure --with-apache=../apache_1.3.12 --enable-versioning --without-mysql --without-mysql --with-sybase=/usr/local/freetds --without-gd --enable-track-vars --with-system-regex --enable-trans-id --with-snmp --enable-ucd-snmp-hack ---------php.ini------------------------------------ engine = On short_open_tag = On asp_tags = Off precision = 14 y2k_compliance = Off output_buffering = On implicit_flush = Off allow_call_time_pass_reference = On safe_mode = Off safe_mode_exec_dir = safe_mode_allowed_env_vars = PHP_ safe_mode_protected_env_vars = LD_LIBRARY_PATH disable_functions = highlight.string = #DD0000 highlight.comment = #FF8000 highlight.keyword = #007700 highlight.bg = #FFFFFF highlight.default = #0000BB highlight.html = #000000 expose_php = On max_execution_time = 30 memory_limit = 8388608 error_reporting = E_ALL & ~E_NOTICE display_errors = Off log_errors = On track_errors = Off error_log = /var/log/gps/php warn_plus_overloading = Off variables_order = "EGPCS" register_globals = On register_argc_argv = On track_vars = On gpc_order = "GPC" magic_quotes_gpc = On magic_quotes_runtime= Off magic_quotes_sybase = Off auto_prepend_file = auto_append_file = default_mimetype = "text/html" include_path = doc_root = user_dir = upload_max_filesize = 2097152 extension_dir = ./ enable_dl = On define_syslog_variables = Off debugger.enabled = False sql.safe_mode = Off session.save_handler = files session.save_path = /tmp session.use_cookies = 0 session.name = sesid session.auto_start = 0 session.cookie_lifetime = 0 session.cookie_path = / session.cookie_domain = session.serialize_handler = php session.gc_probability = 1 session.gc_maxlifetime = 1440 session.referer_check = session.entropy_length = 0 session.entropy_file = session.cache_limiter = nocache session.cache_expire = 20 mssql.allow_persistent = On mssql.max_persistent = -1 mssql.max_links = -1 mssql.min_error_severity = 10 mssql.min_message_severity = 10 mssql.compatability_mode = Off zend_optimizer.optimization_level=15; zend_extension="/usr/local/lib/Zend/ZendOptimizer.so" -- Edit Bug report at: http://bugs.php.net/?id=7142&edit=1

« previous php.dev (#34717) next »