473,749 Members | 2,492 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 2533
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
8378
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
3721
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
1239
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
2489
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
1170
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
5249
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
3028
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
2385
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
8996
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
8832
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9566
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9333
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9254
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
4879
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3319
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
2
2791
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2217
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.