Page 1 of 1

cpu load 99%

PostPosted: 14. February 2007 14:34
by nightrider35
Hi!!

i have tried this on 3 diffrent machines

first one

Quadra core E6700 windows 2000

i run phpbb fullymodded

cpu load 99% on all core

second

dual core E6600 windows 2000

same there 99% load all the time takes 2 week to show the page

third P4 2.4ghz windows 2000

same shit here 99% load all the time

takes 4 month to show the page


run all this on the install xampp configuration


i think you should debug apache and it´s config or there are sever bugs in apache software


need help A.S.A.P

PostPosted: 14. February 2007 15:35
by Wiedmann
Try adding "Win32DisableAcceptEx" to your "httpd.conf".

PostPosted: 15. February 2007 00:55
by nightrider35
i have tryied that to but noting seem to help

PostPosted: 15. February 2007 01:21
by Wiedmann
i run phpbb fullymodded

You have only this problem with phpBB?

BTW:
takes 4 month to show the page

You waited really so long? ;-))

PostPosted: 25. June 2007 11:30
by Carbofos
Hi, I've got this one, too: the CPU load is high and the pages aren't opening.

Image
(I've 2 core CPU, so apparently it fills one of them)

Adding 'Win32DisableAcceptEx' line caused the second Apache process cyclically start and close, so no luck here :(

Adding 'ScriptInterpreterSource registry' to Apache config according to venn's post here didn't have any effect on this.

No matter whether I'm running it as a service or not. I tried the latest version and the 1.5.5 which has worked previously, so I wonder what could have changed in the system since then.

p.s.: I'm running it on Windows XP x64 Edition.

PostPosted: 25. June 2007 12:32
by lyntuan
It's pv.exe's problem
Use AMPstart to launch XAMPP. It doesn't call pv.exe

http://ampstart.com

PostPosted: 25. June 2007 12:52
by maddacheeb
CAN SOMEONE HELP ME PLEASE!!!!

i posted in a old post. but no one answered me :(

can somone please help me. i followed what WorldDrknss said but i can not get the mail function to work! (it wont send out confirm emails)

well this is my xampp\apache\bin\php.ini file

[mail function]
; For Win32 only.
SMTP = 206.188.24.42
smtp_port = 25

; For Win32 only.
;sendmail_from = maddacheeb@bluebottle.com

; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
;sendmail_path = "C:\xampp\sendmail\sendmail.exe -t"

; Force the addition of the specified parameters to be passed as extra parameters
; to the sendmail binary. These parameters will always replace the value of
; the 5th parameter to mail(), even in safe mode.
;mail.force_extra_parameters =


As you can see i am using BlueBottle Email like WorldDrknss suggested.


[sendmail]

; you must change mail.mydomain.com to your smtp server

smtp_server=mail.bluebottle.com

; the default domain for this server will be read from the registry
; this will be appended to email addresses when one isn't provided
; if you want to override the value in the registry, uncomment and modify

;default_domain=bluebottle.com

; log smtp errors to error.log (defaults to same directory as sendmail.exe)
; uncomment to enable logging

;error_logfile=error.log

; create debug log as debug.log (defaults to same directory as sendmail.exe)
; uncomment to enable debugging

;debug_logfile=debug.log

; if your smtp server requires authentication, modify the following two lines

;auth_username=maddacheeb@bluebottle.com
;auth_password=*********

; if your smtp server uses pop3 before smtp authentication, modify the
; following three lines

;pop3_server= mail.bluebottle.com
;pop3_username=maddacheeb
;pop3_password=***********

; to force the sender to always be the following email address, uncomment and
; populate with a valid email address. this will only affect the "MAIL FROM"
; command, it won't modify the "From: " header of the message content

;force_sender=maddacheeb@bluebottle.com

; sendmail will use your hostname and your default_domain in the ehlo/helo
; smtp greeting. you can manually set the ehlo/helo name if required

;hostname=localhost


Can u see if that is set correct. and also one that is done do i configure mercury mail. and how do i do that. and can u please give me a screen shot examples because im am very new to all this. :? i hope somone can help me. thanks in advance

PostPosted: 25. June 2007 23:29
by davidspan

PostPosted: 27. June 2007 10:16
by Carbofos
Thanks for your replies, but it's not pv.exe, it's apache.exe that's generating CPU load!
When Apache is runned (with or without using pv.exe) it opens another apache.exe process (as shown above) which is behaving this way, and it doesn't eat memory, only CPU...
That doesn't make sense to me, as i tried to use the Apache config from the backup, uninstall it and install older XAMPP which worked earlier, but it stays the same.
I'm guessing there might be something in my system that conflicts. I've changed the firewall recently, but it has all rules for Apache applied, and its logs don't contain any block reports related to XAMPP components.

This is what my errors.log contains:
Code: Select all
[Wed Jun 27 10:14:02 2007] [notice] Apache/2.2.4 (Win32) DAV/2 mod_ssl/2.2.4 OpenSSL/0.9.8e mod_autoindex_color PHP/5.2.2 configured -- resuming normal operations
[Wed Jun 27 10:14:02 2007] [notice] Server built: Mar  5 2007 11:23:00
[Wed Jun 27 10:14:02 2007] [notice] Parent: Created child process 3132
[Wed Jun 27 10:14:03 2007] [notice] Child 3132: Child process is running
[Wed Jun 27 10:14:03 2007] [notice] Child 3132: Acquired the start mutex.
[Wed Jun 27 10:14:03 2007] [notice] Child 3132: Starting 250 worker threads.
[Wed Jun 27 10:14:03 2007] [notice] Child 3132: Starting thread to listen on port 443.
[Wed Jun 27 10:14:03 2007] [notice] Child 3132: Starting thread to listen on port 80.
[Wed Jun 27 10:14:03 2007] [error] (OS 10038)An operation was attempted on something that is not a socket.  : Child 3132: Encountered too many errors accepting client connections. Possible causes: dynamic address renewal, or incompatible VPN or firewall software. Try using the Win32DisableAcceptEx directive.
...
(many more of these, about 10 per second)
...
[Wed Jun 27 10:14:15 2007] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Wed Jun 27 10:14:15 2007] [notice] Child 3132: Exit event signaled. Child process is ending.
[Wed Jun 27 10:14:16 2007] [notice] Child 3132: Released the start mutex
[Wed Jun 27 10:14:17 2007] [notice] Child 3132: Waiting for 250 worker threads to exit.
[Wed Jun 27 10:14:17 2007] [notice] Child 3132: All worker threads have exited.
[Wed Jun 27 10:14:17 2007] [notice] Child 3132: Child process is exiting
[Wed Jun 27 10:14:17 2007] [notice] Parent: Child process exited successfully.

When I try to use Win32DisableAcceptEx directive, it looks like this:
Code: Select all
[Wed Jun 27 10:18:49 2007] [notice] Apache/2.2.4 (Win32) DAV/2 mod_ssl/2.2.4 OpenSSL/0.9.8e mod_autoindex_color PHP/5.2.2 configured -- resuming normal operations
[Wed Jun 27 10:18:49 2007] [notice] Server built: Mar  5 2007 11:23:00
[Wed Jun 27 10:18:49 2007] [notice] Parent: Created child process 3576
[Wed Jun 27 10:18:49 2007] [notice] Disabled use of AcceptEx() WinSock2 API
[Wed Jun 27 10:18:50 2007] [notice] Child 3576: Child process is running
[Wed Jun 27 10:18:50 2007] [notice] Child 3576: Acquired the start mutex.
[Wed Jun 27 10:18:50 2007] [notice] Child 3576: Starting 250 worker threads.
[Wed Jun 27 10:18:50 2007] [notice] Child 3576: Listening on port 443.
[Wed Jun 27 10:18:50 2007] [notice] Child 3576: Listening on port 80.
[Wed Jun 27 10:18:50 2007] [error] (OS 10038)An operation was attempted on something that is not a socket.  : Too many errors in select loop. Child process exiting.
[Wed Jun 27 10:18:50 2007] [notice] Child 3576: Exit event signaled. Child process is ending.
[Wed Jun 27 10:18:51 2007] [notice] Child 3576: Released the start mutex
[Wed Jun 27 10:18:51 2007] [notice] Child 3576: Waiting for 250 worker threads to exit.
[Wed Jun 27 10:18:51 2007] [notice] Child 3576: All worker threads have exited.
[Wed Jun 27 10:18:51 2007] [notice] Child 3576: Child process is exiting
[Wed Jun 27 10:18:51 2007] [notice] Parent: child process exited with status 0 -- Restarting.
...
(and it goes in loops until I stop it)

So after all I guess I'll have to find myself another firewall, which is, for the time being, not very easy task for x64 Windows...