php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7142 After "Maximum execution time" httpd eats all processor
Submitted: 2000-10-11 18:35 UTC Modified: 2000-11-08 02:26 UTC
From: lrvazquez at megared dot net dot mx Assigned:
Status: Closed Package: Apache related
PHP Version: 4.0.2 OS: SunOS 5.7
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
31 - 1 = ?
Subscribe to this entry?

 
 [2000-10-11 18:35 UTC] lrvazquez at megared dot net dot mx
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"

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-11-08 02:26 UTC] lrvazquez at megared dot net dot mx
It's fixed in the 4.0.4-dev, for more info see #7369...
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 20:01:29 2024 UTC