#1  
Old 8th May 2008, 18:12
aceyzeriat aceyzeriat is offline
Member
 
Join Date: Aug 2007
Location: Paris, France
Posts: 47
Thanks: 4
Thanked 1 Time in 1 Post
Default Memory allocation problem

When trying to save one of my sites I get the following message in the zip content :

<br />
<b>Fatal error</b>: Allowed memory size of 134217728 bytes exhausted (tried to allocate 197890777 bytes) in <b>/home/admispconfig/ispconfig/web/tools/tools/backup/backup.php</b> on line <b>157</b><br />

Any suggestion ?
regards,
Reply With Quote
Sponsored Links
  #2  
Old 8th May 2008, 20:08
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,704
Thanks: 819
Thanked 5,321 Times in 4,174 Posts
Default

Set the memory limit to a higher value in the file /root/ispconfig/php/php.ini
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
aceyzeriat (11th May 2008)
  #3  
Old 9th May 2008, 17:19
aceyzeriat aceyzeriat is offline
Member
 
Join Date: Aug 2007
Location: Paris, France
Posts: 47
Thanks: 4
Thanked 1 Time in 1 Post
Default

I tried the following (previous value is commented) and restarted apache through ISP_Config

;max_execution_time = 300 ; Maximum execution time of each script, in seconds
max_execution_time = 600 ; Maximum execution time of each script, in seconds
max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
;memory_limit = 128M ; Maximum amount of memory a script may consume (8MB)
memory_limit = 512M ; Maximum amount of memory a script may consume (8MB)

same result
Reply With Quote
  #4  
Old 9th May 2008, 21:13
aceyzeriat aceyzeriat is offline
Member
 
Join Date: Aug 2007
Location: Paris, France
Posts: 47
Thanks: 4
Thanked 1 Time in 1 Post
Default Precision

I took the opportunity to update my server to ISP_Config 2.2.23
The values of the php.ini went back to the old ones.
I had to put back the memory limit to 512M

.....
I tried again but I still have the same error :
<br />
<b>Fatal error</b>: Allowed memory size of 134217728 bytes exhausted (tried to allocate 197890868 bytes) in <b>/home/admispconfig/ispconfig/web/tools/tools/backup/backup.php</b> on line <b>157</b><br />

There must be another parameter hidden somewhere ....

Last edited by aceyzeriat; 9th May 2008 at 21:20.
Reply With Quote
  #5  
Old 10th May 2008, 17:00
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

Did you restart ISPConfig after your modifications?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
aceyzeriat (11th May 2008)
  #6  
Old 10th May 2008, 18:27
aceyzeriat aceyzeriat is offline
Member
 
Join Date: Aug 2007
Location: Paris, France
Posts: 47
Thanks: 4
Thanked 1 Time in 1 Post
Default

Just the web service ... thought that would be enough following a php.ini modification ...
Anything else should be restarted ?

regards,

Last edited by aceyzeriat; 11th May 2008 at 09:06.
Reply With Quote
  #7  
Old 11th May 2008, 08:59
aceyzeriat aceyzeriat is offline
Member
 
Join Date: Aug 2007
Location: Paris, France
Posts: 47
Thanks: 4
Thanked 1 Time in 1 Post
 
Default Closed

Hello Falko and Till,
I restarted completely the ISP_Config server and it worked this time,
regards,
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
sending e-mail using mail() function linuxuser1 HOWTO-Related Questions 38 21st April 2009 12:20
Problem RAM memory brunoje Technical 1 10th January 2008 16:01
Memory leak? oom-killer problem yikes! Stokesy Server Operation 7 29th July 2006 12:48
Debian Sarge memory release problem luxpops Installation/Configuration 7 22nd April 2006 15:50
Debian Sarge 3.1 memory release problem luxpops Technical 1 19th April 2006 14:41


All times are GMT +2. The time now is 00:40.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.