PDA

View Full Version : Apache memory exhausted.



planepix
04-22-2006, 09:41 AM
Hi there,

I'm hosting a uploadsite on my server, but when de client is sending an uploadrequest to the server, there is simply not any respond comming from the server.

When I look in the apache error logs, it shows:
Allowed memory size of 5242880 bytes exhausted (tried to allocate 7312 bytes)
Allowed memory size of 5242880 bytes exhausted (tried to allocate 7312 bytes)
Allowed memory size of 5242880 bytes exhausted (tried to allocate 7312 bytes)
Allowed memory size of 5242880 bytes exhausted (tried to allocate 7312 bytes)
Allowed memory size of 5242880 bytes exhausted (tried to allocate 7312 bytes)

Anyone who's got a solution?

Running FC3, with directadmin 1.26.6 and apache 1.3.34.

jack
04-23-2006, 02:48 AM
have same problem sometimes.:(

xprotect
04-23-2006, 07:02 AM
You should change max allowed memory for php in php.ini

planepix
04-23-2006, 07:31 AM
Originally posted by xprotect
You should change max allowed memory for php in php.ini
That's at 80 megs, the error is from apache, and showing a limit of 5 megs.

pluk
11-03-2006, 12:23 AM
Where do we do that? I'm having this problem too. Can't find the location of php.ini

Please help.

smtalk
11-03-2006, 01:40 AM
/usr/local/lib/php.ini, in this file you should change memory_limit value and save the file. Don't forget to restart apache ;)

pluk
11-03-2006, 07:51 AM
Thanks! I just didn't have a php.ini file. Created and added that. Thanks!