About MEM USAGE for Apache.exe

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Postby Artesius » 25. May 2006 16:19

Hello !
I've got the same problem.
XAMPP is running on a dev laptop, with XP SP2 and 512Mb.
Everythings works fine.
I've put it on my production server, a PIII 1Ghz with 364Mb RAM and 2K Server. The apache process takes a large amount of memory.
The server finally crash this night...
Did you have a solution, instead of stopping et restarting the service each night ?
Artesius
 
Posts: 1
Joined: 17. May 2006 15:25

Postby scranmer » 21. June 2006 12:09

No problem still occurs. I have found that its a windows operating sytem (server/xp) issue having very poor memory management. So far I have also found no solutions just people having the same issues and how to pinpoint it.

Si.
scranmer
 
Posts: 26
Joined: 20. May 2004 14:59
Location: UK, Southport

Postby Mr.Pink » 17. July 2006 17:50

Hi.. Same problem here..
The apache uses more and more ram..
Has anyone a solution yet?!
Mr.Pink
 
Posts: 31
Joined: 13. August 2005 09:38

Postby DomZ » 26. July 2006 03:39

danny wrote:Still not found a permanent solution for this, but i keep looking for it.

Another problem is resolved, the next WINDOWS SERVER AcceptEx error
witch you will find in the error.log from Apache:

(OS 64)The specified network name is no longer available. : winnt_accept: Asynchronous AcceptEx failed.

Solution:
You can resolve it by changing the apache config file and look/change or add following lines:
EnableSendfile Off
EnableMMAP Off
Win32DisableAcceptEx


This is the most common but not correct solution.
Windows himself will give errors on "Win32DisableAcceptEx " in his log books.

So i have look again the world arround to find a better solution.

This has to be the correct solution:
Look again in the apache config file and search for next
#
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, in addition to the default. See also the <VirtualHost>
# directive.
#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
#
#Listen yourdomain:80
Listen 80 (like it is standard in the script)

Remove IP adresses or domain names "Listen yourdomain:80"
and replace it with "Listen 80" only.

In this way apache can choose any network card off your server to resolve the AcceptEx request AND Windows will lead
Apache to the localhost (127.0.0.1) and AcceptEx get here his reply!
CU :wink: Danny

This is the nice result:
[Thu Oct 20 16:43:21 2005] [notice] Apache/2.0.54 (Win32) mod_ssl/2.0.54 OpenSSL/0.9.8 PHP/5.0.5 mod_autoindex_color configured -- resuming normal operations
[Thu Oct 20 16:43:21 2005] [notice] Server built: Jul 28 2005 18:10:37
[Thu Oct 20 16:43:21 2005] [notice] Parent: Created child process 2788
[Thu Oct 20 16:43:22 2005] [notice] Child 2788: Child process is running
[Thu Oct 20 16:43:22 2005] [notice] Child 2788: Acquired the start mutex.
[Thu Oct 20 16:43:22 2005] [notice] Child 2788: Starting 250 worker threads.


Thanks a lot for this information, it seems that's it is ok for me too now ;)

PS : You have the same OS as me (Windows 2003 x64) and i have a lot of problem with mysql.

How much memory have you got ?
Can you share your mysql configuration file with me ?

Regards
DomZ
 
Posts: 10
Joined: 11. March 2006 11:17

Previous

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 112 guests