473,766 Members | 2,064 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

max_execution_t ime ignored, multiple Apache processes spawned

I have an app that is going berzerk on its own; without any code or
environmental changes of any kind, for some bizarre reason it will
randomly just hang, spawn multiple Apache processes and completely
ignore max_execution_t ime, literally running infinitely.

Using PHP 5.2.0, Apache 1.3 and Win XP

Is this normal "bizarre" behavior that can occur within this setup; if
so, what workarounds have you found to combat this, other than the
obvious (try to debug and fix code)?

Thanx
Phil

Jan 16 '07 #1
2 2536
comp.lang.php wrote:
I have an app that is going berzerk on its own; without any code or
environmental changes of any kind, for some bizarre reason it will
randomly just hang, spawn multiple Apache processes and completely
ignore max_execution_t ime, literally running infinitely.

Using PHP 5.2.0, Apache 1.3 and Win XP

Is this normal "bizarre" behavior that can occur within this setup; if
so, what workarounds have you found to combat this, other than the
obvious (try to debug and fix code)?

Thanx
Phil
Hi Phil,

No good. :-(
A few things to check:
1) Apache spawning multiple processes is normal. Do you see a *lot of extra*
processes coming into existance after calling some page?

2) What does a simple script containing only phpinfo(); produce?
Does that hang too?

3) Check your Apache logfiles. Look for errors.

Regards,
Erwin Moller

Jan 16 '07 #2

Erwin Moller wrote:
comp.lang.php wrote:
I have an app that is going berzerk on its own; without any code or
environmental changes of any kind, for some bizarre reason it will
randomly just hang, spawn multiple Apache processes and completely
ignore max_execution_t ime, literally running infinitely.

Using PHP 5.2.0, Apache 1.3 and Win XP

Is this normal "bizarre" behavior that can occur within this setup; if
so, what workarounds have you found to combat this, other than the
obvious (try to debug and fix code)?

Thanx
Phil

Hi Phil,

No good. :-(
I can get it to work normally only when I do a computer hard reboot.
Really not good :(
A few things to check:
1) Apache spawning multiple processes is normal. Do you see a *lot of extra*
processes coming into existance after calling some page?
Yes, like several dozen at once
>
2) What does a simple script containing only phpinfo(); produce?
Does that hang too?
Yes.
>
3) Check your Apache logfiles. Look for errors.
No errors generated whatsoever. No warnings, no notices, nothing.
>
Regards,
Erwin Moller
Jan 16 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
8381
by: Alvaro G Vicario | last post by:
I'm writing a shell script under Red Hat 9 that will process some thousand records from a database so it'll normally take several minutes. According to manual I can override the max_execution_time directive using the -d switch. However, that switch seems to be ignored: #!/usr/bin/php -d max_execution_time=1 -q <? ........ ?>
1
3722
by: mark | last post by:
Should I be seeing Apache.exe running (twice) when I ctrl/alt/delete under processes? I have apache installed on my XP home machine, but it's not started. When I do start it up, I have 3 apache.exe listed running under processes, surely this isn't right?
0
1242
by: caincognito | last post by:
I'm using multiple threads to abort a spawned process. I implemented the examples in MSDN and everything works fine. Problem starts when I create and run a GUI in the process. The thread abort is ignored. However if I press the mouse anywhere on the desktop, the thread aborts. I figure the GUI is in some wait for event loop running interop or unmanaged code. The mouse event causes it to get out of that portion of code, at which...
9
23083
by: Abhishek Srivastava | last post by:
Hello All, In IIS 6.0 We have a concept of worker processes and application pools. As I understand it, we can have multiple worker process per appliction pool. Each worker process is dedicated to a pool. If I assign only one application to a applicaton pool and have multiple worker processes assigned to that pool. Will my application be processed by many worker processes?
5
2492
by: Jeremy | last post by:
I have a core VB service that monitors a database, and based on data in the records will execute code to send email notifications. Problem: I don't want my main program code to halt and wait for this execution... we need immediate execution of all notification processes and would prefer to spawn multiple instances generating emails at one time. Solution ? I took a look at threading, and at first it looked to be the answer.
0
1171
by: Becker | last post by:
I have a datatable that I use to display running processes. These running processes are spawned as different threads. I use the readerwriterlock class to ensure that when I write to the datatable, I obtain a write lock. The datagrid is set to have a datasource of the datatable. The problem is that I get this error intermittently and it draws a big red X across my datagrid: ************** Exception Text **************...
19
5254
by: Alex Madon | last post by:
Hello, I am testing a web application (using the DBX PHP function to call a Postgresql backend). I have 375Mb RAM on my test home box. I ran ab (apache benchmark) to test the behaviour of the application under heavy load. When increasing the number of requests, all my memory is filled, and the Linux server begins to cache and remains frozen. ab -n 100 -c 10 http://localsite/testscript
2
3030
by: Philipp Lenssen | last post by:
I have WAMP (PHP5/ Apache runnng on WinXP). I'm accessing the Google and Yahoo APIs but this is usually very slow. How can I run multiple processes at the same time? Is there some multi-threading in PHP5? At the moment, I can't even access the same PHP file -- it will simply wait for the old process to be finished. So I need to rename the file -- bla2.php5, bla3.php5 and so on, and open multiple Firefoxes. There must be a better way...
3
2386
by: sauce | last post by:
Hi, I have a question about Python threads vs processes on web servers. I've been writing a cgi script which calls urlopen() at most 30-40 times, and I implemented a separate thread for each urlopen() call so that the total time takes about one second. However, this only works so far for 20 threads or less. Any more threads spawned, and it will give this error: Exception in thread Thread-2: Traceback (most recent call last): File...
0
9568
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10008
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9837
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8833
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7381
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5279
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5423
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3929
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2806
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.