XF 1.2 Xenforo using more resources than expected ..

K a M a L

Well-known member
I have a medium size forum forum.facmedicine.com , all addons disabled ( except sitemap and custom node icon - I tried will all addons disabled and the problem persists) , the forum software is using more resources than expected
I have my memory_limit set to 512M at a VPS server with 3GB of ram and I'm getting tons of 'out of memory' errors , I couldn't figure out where is the problem
this is a small part of my server error log
Code:
[Tue Nov 19 07:59:07 2013] [error] [client 71.58.101.52] (12)Cannot allocate memory: couldn't create child process: /opt/suphp/sbin/suphp for /home/facmedic/public_html/forum/index.php, referer: http://forum.facmedicine.com/threads/10-things-you-need-to-give-up-to-become-a-doctor.16769/
[Tue Nov 19 07:59:07 2013] [error] [client 71.58.101.52] (12)Cannot allocate memory: couldn't create child process: /opt/suphp/sbin/suphp for /home/facmedic/public_html/forum/css.php, referer: http://forum.facmedicine.com/threads/10-things-you-need-to-give-up-to-become-a-doctor.16769/
[Tue Nov 19 08:01:09 2013] [error] [client 172.243.63.65] File does not exist: /home/facmedic/public_html/forum/js/xenforo/about:blank, referer: http://forum.facmedicine.com/threads/10-things-you-need-to-give-up-to-become-a-doctor.16769/
[Tue Nov 19 08:08:55 2013] [error] [client 46.49.0.189] (12)Cannot allocate memory: couldn't create child process: /opt/suphp/sbin/suphp for /home/facmedic/public_html/forum/css.php, referer: http://forum.facmedicine.com/threads/six-rules-doctors-have-to-know.16780/
[Tue Nov 19 08:11:30 2013] [error] [client 67.167.238.170] (12)Cannot allocate memory: couldn't create child process: /opt/suphp/sbin/suphp for /home/facmedic/public_html/forum/index.php, referer: http://forum.facmedicine.com/threads/10-things-you-need-to-give-up-to-become-a-doctor.16769/
[Tue Nov 19 08:12:04 2013] [error] [client 198.228.200.44] (12)Cannot allocate memory: couldn't create child process: /opt/suphp/sbin/suphp for /home/facmedic/public_html/forum/css.php, referer: http://forum.facmedicine.com/threads/tips-before-choosing-your-medical-specialty.16159/
[Tue Nov 19 08:12:44 2013] [error] [client 192.38.117.2] (12)Cannot allocate memory: couldn't create child process: /opt/suphp/sbin/suphp for /home/facmedic/public_html/forum/css.php, referer: http://forum.facmedicine.com/threads/the-most-stupid-five-medical-mistakes.10545/
[Tue Nov 19 08:16:29 2013] [error] [client 173.252.101.117] (12)Cannot allocate memory: couldn't create child process: /opt/suphp/sbin/suphp for /home/facmedic/public_html/forum/index.php, referer: http://forum.facmedicine.com/threads/10-things-you-need-to-give-up-to-become-a-doctor.16769/
[Tue Nov 19 08:16:36 2013] [error] [client 184.63.88.45] File does not exist: /home/facmedic/public_html/forum/js/xenforo/about:blank, referer: http://forum.facmedicine.com/threads/10-things-you-need-to-give-up-to-become-a-doctor.16769/
[Tue Nov 19 08:16:52 2013] [error] [client 173.252.101.112] (12)Cannot allocate memory: couldn't create child process: /opt/suphp/sbin/suphp for /home/facmedic/public_html/forum/index.php, referer: http://forum.facmedicine.com/threads/new-medical-cases.16767/
[Tue Nov 19 08:16:52 2013] [error] [client 173.252.101.112] (12)Cannot allocate memory: couldn't create child process: /opt/suphp/sbin/suphp for /home/facmedic/public_html/forum/index.php, referer: http://forum.facmedicine.com/threads/new-medical-cases.16767/
[Tue Nov 19 08:16:52 2013] [error] [client 173.252.101.117] (12)Cannot allocate memory: couldn't create child process: /opt/suphp/sbin/suphp for /home/facmedic/public_html/forum/index.php, referer: http://forum.facmedicine.com/threads/new-medical-cases.16767/
[Tue Nov 19 08:16:52 2013] [error] [client 173.252.101.116] (12)Cannot allocate memory: couldn't create child process: /opt/suphp/sbin/suphp for /home/facmedic/public_html/forum/index.php, referer: http://forum.facmedicine.com/threads/new-medical-cases.16767/
[Tue Nov 19 08:16:52 2013] [error] [client 173.252.101.119] (12)Cannot allocate memory: couldn't create child process: /opt/suphp/sbin/suphp for /home/facmedic/public_html/forum/index.php, referer: http://forum.facmedicine.com/threads/new-medical-cases.16767/
[Tue Nov 19 08:16:52 2013] [error] [client 173.252.101.112] (12)Cannot allocate memory: couldn't create child process: /opt/suphp/sbin/suphp for /home/facmedic/public_html/forum/index.php, referer: http://forum.facmedicine.com/threads/new-medical-cases.16767/
[Tue Nov 19 08:16:54 2013] [error] [client 69.171.245.3] (12)Cannot allocate memory: couldn't create child process: /opt/suphp/sbin/suphp for /home/facmedic/public_html/forum/index.php
[Tue Nov 19 08:17:32 2013] [error] [client 24.52.126.10] (12)Cannot allocate memory: couldn't create child process: /opt/suphp/sbin/suphp for /home/facmedic/public_html/forum/css.php, referer: http://forum.facmedicine.com/threads/10-things-you-need-to-give-up-to-become-a-doctor.16769/
[Tue Nov 19 08:17:33 2013] [error] [client 89.216.149.135] (12)Cannot allocate memory: couldn't create child process: /opt/suphp/sbin/suphp for /home/facmedic/public_html/forum/css.php, referer: http://forum.facmedicine.com/threads/tips-before-choosing-your-medical-specialty.16159/
[Tue Nov 19 08:20:16 2013] [error] [client 87.109.99.79] (12)Cannot allocate memory: couldn't create child process: /opt/suphp/sbin/suphp for /home/facmedic/public_html/forum/index.php, referer: http://forum.facmedicine.com/threads/a-stunning-map-of-depression-rates-around-the-world.16752/
 
Running a server (database and web and most likely some other damons) with only 512 MB of RAM is simply out of date.

In addition it seems that you use suphp which is also a ressource hog.
 
Running a server (database and web and most likely some other damons) with only 512 MB of RAM is simply out of date.

In addition it seems that you use suphp which is also a ressource hog.
This.

Remove suphp. It is not a XenForo issue, it is a suphp issue.... Even php.net has made some subtle comments on their thoughts of suphp I've seen it kill phphBB, vBulletin, IPB, SMF, and even light weight FluxBB seems to come to a crawl with that enabled.
 
Back
Top Bottom