what happened in just an overnyt i lost my website, it just displays error..and cpu usaage skyrocketed as well as the memory....very frustrating, i worked so hard for my site and thi is what happened wtf.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
2 answers

Have you reviewed your log files? Any time you see an error returned by your web browser (as long is it hasn’t been reconfigured not to log) an entry will be created in your log file with more information. The default log file location for Apache is /var/log/apache2/error.log on Debian/Ubuntu and /var/log/httpd/error.log on CentOS/Fedora.

[crit] Memory allocation failed, aborting process.
[crit] Memory allocation failed, aborting process.
[crit] Memory allocation failed, aborting process.
[Tue May 22 20:43:20.776412 2018] [mpmprefork:error] [pid 4160] (12)Cannot allocate memory: AH00159: fork: Unable to fork new process
[crit] Memory allocation failed, aborting process.
[crit] Memory allocation failed, aborting process.
[crit] Memory allocation failed, aborting process.
[Tue May 22 20:43:20.776412 2018] [mpm_prefork:error] [pid 4160] (12)Cannot allocate memory: AH00159: fork: Unable to fork new process
[Tue May 22 20:43:24.289706 2018] [:error] [pid 2630] [client 140.205.205.25:35109] PHP Warning: mysql
errno() expects parameter 1 to be resource, boolean given in /var/www/mjbookshelf.com/public$
[Tue May 22 20:43:24.349602 2018] [:error] [pid 2630] [client 140.205.205.25:35109] PHP Warning: mysqlerror() expects parameter 1 to be resource, boolean given in /var/www/mjbookshelf.com/public$
[Tue May 22 20:43:24.362503 2018] [:error] [pid 2607] [client 140.205.205.25:35075] PHP Warning: mysql
errno() expects parameter 1 to be resource, boolean given in /var/www/mjbookshelf.com/public$

thanks ryanpq..i got a lot of errors that i don’t understand, i don’t know what are these clients are (lots of clients like that are running)…

Submit an Answer