vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   Cannot allocate memory: couldn't spawn child process (https://vborg.vbsupport.ru/showthread.php?t=207226)

brad3260 03-03-2009 02:52 PM

Cannot allocate memory: couldn't spawn child process
 
Hello, I'm a webmaster for a site running vb 3.8.1 and we're having problems with internal server errors. It happens when the forum gets busy and I'm getting the following message in the error log
[Sat Feb 28 05:57:56 2009] [error] [client 24.128.205.158] (12)Cannot allocate memory: couldn't create child process: 12: php5.cgi, referer: http://www.chins-n-hedgies.com/forum...splay.php?f=30
[Sat Feb 28 05:57:56 2009] [error] [client 24.128.205.158] (12)Cannot allocate memory: couldn't spawn child process: /dh/cgi-system/php5.cgi, referer: http://www.chins-n-hedgies.com/forum...splay.php?f=30

I have done everything to lighten the memory use that I can find but still having problems. Their forum is pretty busy, in the last seven days their home page alone has gotten over 20,000 hits. I have them on a virtual private server with 500MB of ram. My question is, should I need more ram with that amount of traffic?

Any help is appreciated

Lynne 03-03-2009 03:11 PM

You may want to post over on vb.com in their Server Configuration forum for help optimizing your server configuration.

snakes1100 03-03-2009 07:07 PM

You shouldn't be running apache/php as a cgi, you should set it to a fast_cgi, what settings are in use for the cgi process?

ie what do you have set for the cgi process itself, process count, limit, timeout etc?

brad3260 03-03-2009 07:53 PM

I think I just enabled fast cgi, how can I know for sure? I do have shell access if that helps. I also read you need to edit the code for fast cgi, is vb already compatible with it?

I don't know what those variables are set to, could you tell me how I would find out?

Marco van Herwaarden 03-04-2009 05:29 AM

Please post in the server configuration forum on vBulletin.com.


All times are GMT. The time now is 05:35 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00907 seconds
  • Memory Usage 1,713KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete