| bio | website | |
|---|---|---|
| location | ||
| age | ||
| visits | member for | 1 year, 6 months |
| seen | Apr 26 at 19:18 | |
| stats | profile views | 6 |
|
Nov 15 |
awarded | Scholar |
|
Nov 11 |
awarded | Teacher |
|
Nov 10 |
answered | Apache, suPHP, CentOS. Memory limit being hit by gd, but memory limit is set much higher than when it dies |
|
Nov 9 |
comment |
Apache, suPHP, CentOS. Memory limit being hit by gd, but memory limit is set much higher than when it dies Well, this is embarrassing. I've done more trawling through CPanel's config files and they hid the RLimitMEM setting in an obscure place. (/etc/httpd/conf/includes/pre_main_global.conf) I jacked that up and it works again as expected. Sorry for this wasted space thread. |
|
Nov 9 |
comment |
Apache, suPHP, CentOS. Memory limit being hit by gd, but memory limit is set much higher than when it dies We have 8 GB of RAM. It's not the file size that is causing the issue, more the resolution as GD ends up needing to allocate memory in order to do the resizing functions. Images that don't use up more than 60 MB of RAM (we've found 4000x4000 seems to be the magic number to cause it to fail). GD ends up needing to do image resizing (On a VM I setup for testing.. a 4000x4000 image uses 110MB of RAM) which is where it runs out of memory. |
|
Nov 9 |
awarded | Editor |
|
Nov 9 |
revised |
Apache, suPHP, CentOS. Memory limit being hit by gd, but memory limit is set much higher than when it dies added 330 characters in body |
|
Nov 9 |
comment |
Apache, suPHP, CentOS. Memory limit being hit by gd, but memory limit is set much higher than when it dies 09-Nov-2011 09:41:26] PHP Fatal error: Out of memory (allocated 60030976) (tried to allocate 18000 bytes) in <pathremovedForSecurity>.php on line 60 I know that it's where GD calls createimagefromjpeg();, the issue is that the limit that it is dying at is waaay below what our actual server limit is. |
|
Nov 9 |
asked | Apache, suPHP, CentOS. Memory limit being hit by gd, but memory limit is set much higher than when it dies |