Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot allocate memory & HTTP 500 error #86

Open
er2es opened this issue Jun 5, 2017 · 2 comments
Open

Cannot allocate memory & HTTP 500 error #86

er2es opened this issue Jun 5, 2017 · 2 comments

Comments

@er2es
Copy link

er2es commented Jun 5, 2017

Hi!

We get these error messages a few days ago on our old website:

error_log:

(12)Cannot allocate memory: couldn't create child process: /opt/suphp/sbin/suphp for /home/budape25/public_html/..../..../phpThumb.php, referer: ......

console:
Failed to load resource: the server responded with a status of 500 (Internal Server Error) : phpThumb.php

environment:

php 5.6
phpthumb 1.7.15-201704271708 (latest from github - Updated from the previous version, but errors are coming with this version too)
memory: 256M
a simple shared hosting server, only with cpanel access
phpthumb and standard website caching is set
phpThumb.demo.check.php report is good, everything is green, except php_sapi_name(), that is yellow

After some force refresh all images are loaded, what can make this error?

Any advice that could help solve the problem?

Thanks!

@nickbg321
Copy link

@er2es

Hey, I'm experiencing the same issue, did you manage to find a solution?

@er2es
Copy link
Author

er2es commented Jul 9, 2017

hi, in our case the problem is the cheap hosting solution was. (the hosting service has poorly configured apache server)

Try your app on localhost, or other free hosting solution. (try hostinger)

we use cloudwasy, and no problem, phpthumb run smoothly with significantly less memory requirements

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants