Web Server Configuration
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Iron Speed
 
Go Back   Dev Articles Community ForumsWeb DesignWeb Server Configuration

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
  #1  
Old July 9th, 2003, 09:21 AM
natbrazil natbrazil is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Posts: 5 natbrazil User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to natbrazil Send a message via AIM to natbrazil Send a message via Yahoo to natbrazil
strange apache problem ( :-) )

hi all,
on winxp i've had apache 2.0.45, now .46 with php 4.3.2 and latest mysql running fine as localhost for pre-publish testing

without a noticable (to me) reason, apache has stopped working in a strange way;
- service still runs
- my apache-conf server test says syntax is fine
- the apache service is using ALL available CPU up to 100%
(i think this is related to the problem, i don't think thats normal, correct?)
- my error log says;
[Wed Jul 09 09:46:43 2003] [notice] Parent: Created child process 2620
[Wed Jul 09 09:46:43 2003] [notice] Child 2620: Child process is running
[Wed Jul 09 09:46:43 2003] [notice] Child 2620: Acquired the start mutex.
[Wed Jul 09 09:46:43 2003] [notice] Child 2620: Starting 250 worker threads.

is 250 worker threads normal? is that whats using all my cpu?

when i try http://localhost/ it just never gets there, The page cannot be displayed

any help, advice, pointers, etc would be greatly appreciated!

Reply With Quote
  #2  
Old July 9th, 2003, 09:55 AM
dhouston's Avatar
dhouston dhouston is offline
Contributing User
Dev Articles Beginner (1000 - 1499 posts)
 
Join Date: May 2003
Location: Tennessee
Posts: 1,355 dhouston User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via ICQ to dhouston
I believe there are known issues with php and apache 2, though I'd think that'd affect only php apps and not your basic apache functionality. I think also that you can choose to run apache 2 threaded or non-threaded. You might check into this and see if fine-tuning your config solves the problem. I presume you've done a good old fashioned restart of apache.

Reply With Quote
  #3  
Old July 9th, 2003, 09:57 AM
laidbak laidbak is offline
you know how we do
Dev Articles Novice (500 - 999 posts)
 
Join Date: Jun 2002
Location: In Tha IE -- San Bernardino COUNTY
Posts: 788 laidbak User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 4 m 2 sec
Reputation Power: 6
Send a message via ICQ to laidbak Send a message via AIM to laidbak Send a message via MSN to laidbak Send a message via Yahoo to laidbak
What do you set in your httpd.conf for MaxRequestsPerChild?
Since you are on a Win Machine this should be set to 0.
__________________
__________________________________________________ _
Wil Moore III, MCP | Integrations Specialist | Senior Consultant
Are You Listed...? | DigitallySmooth Inc.

Reply With Quote
  #4  
Old July 9th, 2003, 11:55 AM
nicat23's Avatar
nicat23 nicat23 is offline
Addicted to Chaos..
Dev Articles Novice (500 - 999 posts)
 
Join Date: Jan 2003
Location: Ft. Worth, TX
Posts: 653 nicat23 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 47 m 52 sec
Reputation Power: 0
Send a message via AIM to nicat23 Send a message via Yahoo to nicat23
laidbak is right -- otherwise the apache childs could continue to re-launch themselves if an error occours (configuration problem, had it happen with my apache server... recompiled and reinstalled it on my linux machine) which could also explain why your cpu processes are running at %100 ... try uninstalling it and putting a copy of apache 1.3.xx on with php and see if you can get that to work

Reply With Quote
  #5  
Old July 9th, 2003, 12:11 PM
natbrazil natbrazil is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Posts: 5 natbrazil User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to natbrazil Send a message via AIM to natbrazil Send a message via Yahoo to natbrazil
Hi Guys,
Here is what I found. The thing thats getting me is that I don't beleive I ever changed this from when it was working fine.

<IfModule mpm_winnt.c>
#
# Server-Pool Size Regulation (MPM specific)
#
# WinNT MPM
# ThreadsPerChild: constant number of worker threads in the server process
# MaxRequestsPerChild: maximum number of requests a server process serves
ThreadsPerChild 250
MaxRequestsPerChild 0
</IfModule>

ref dhouston and php-apache 2 issues, I've had this running great for months so I know it should work

anyone know how to set apache for unthreaded? how can I figure out what all the activity is?

I reset it to 1, as I got a message that "1" was the minimum required and it had no change.

Reply With Quote
  #6  
Old July 9th, 2003, 12:14 PM
natbrazil natbrazil is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Posts: 5 natbrazil User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to natbrazil Send a message via AIM to natbrazil Send a message via Yahoo to natbrazil
I also tryed rem'ming out the entire
# <IfModule mpm_winnt.c>

and it STILL does the same thing. Arrgghh!

Reply With Quote
  #7  
Old July 9th, 2003, 12:27 PM
infamous-online infamous-online is offline
Moderator
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Posts: 404 infamous-online User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 21 m 10 sec
Reputation Power: 7
how much of ram do you have for your machine and what's the processor speed.


i never had this problem before and i have been using apache 2 and php for the longest. i even wrote an article about it .
__________________
Apache Expert

Reply With Quote
  #8  
Old July 9th, 2003, 12:30 PM
natbrazil natbrazil is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Posts: 5 natbrazil User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to natbrazil Send a message via AIM to natbrazil Send a message via Yahoo to natbrazil
hi

1 gig ram and P4 2.8 Ghz

and I'm getting desperate work is piling up

Reply With Quote
  #9  
Old July 9th, 2003, 12:35 PM
infamous-online infamous-online is offline
Moderator
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Posts: 404 infamous-online User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 21 m 10 sec
Reputation Power: 7
Quote:
Originally posted by natbrazil
hi

1 gig ram and P4 2.8 Ghz

and I'm getting desperate work is piling up



try this stop apache then start it back up and see if that doesn't cut down on the cpu %

Reply With Quote
  #10  
Old July 9th, 2003, 12:46 PM
natbrazil natbrazil is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Posts: 5 natbrazil User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to natbrazil Send a message via AIM to natbrazil Send a message via Yahoo to natbrazil
hi

tried stopping and restarting and cold booting many times

i even uninstalled and reinstalled apache, same problem

i'm going to try to uninstall and reinstall from scratch in a new location using nothing from previous install.

help!

Reply With Quote
  #11  
Old July 9th, 2003, 07:02 PM
nicat23's Avatar
nicat23 nicat23 is offline
Addicted to Chaos..
Dev Articles Novice (500 - 999 posts)
 
Join Date: Jan 2003
Location: Ft. Worth, TX
Posts: 653 nicat23 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 47 m 52 sec
Reputation Power: 0
Send a message via AIM to nicat23 Send a message via Yahoo to nicat23
if apache for windows installs reg keys make sure and wipe those too

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsWeb DesignWeb Server Configuration > strange apache problem ( :-) )


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five &quot;checkpoints&quot; for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 

Iron Speed




© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway