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...