Project

General

Profile

Bug #2063

Updated by Chris Buechler about 12 years ago


 From the discussion on this forum thread:    http://forum.pfsense.org/index.php/topic,44239.0.html 

 Several issues on 128MB RAM embedded systems (like ALIX 2D3): 
 # Not enough memory to complete all boot processes ( pid 260 (php), uid 0, was killed: out of swap space - results in incorrectly generated gettytab, others ) 
 # Not enough memory to support 2 web configurator processes 

 Regarding issue #1,    my quick fix was to disable APC in rc.php_ini_setup but there might be better solutions like throttling or reducing the number of simultaneous PHP processes that can run at boot time. 

 My solutions for stable operation on 128MB RAM: 
 #    Disable APC:    Edit /etc/rc.php_ini_setup,    line 249.      Change the $RAM threshold from gt 96    to GT 135MB.     (I can submit a proper patch if you want, but it's just a 1-liner) 
 #    Change the number of web configurator processes to 1     (can we make this the default on smaller RAM systems?) 

Back