Jump to content
The Uniform Server Community

Hoo Host

  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About Hoo Host

  • Rank

Previous Fields

  • Main OS
    Windows 7

Recent Profile Visitors

1,816 profile views
  1. Ok fine, here's what worked in the end: Update core/apache2/conf/extra/httpd-mpm.conf and change ThreadsPerChild from 150 to 50 on line 106 under <IfModule mpm_winnt_module>
  2. I found a solution! But since nobody is capable of replying I'm not going to explain. Good luck!
  3. Hi all, any input on this or even confirmation that it's an issue that others have encountered would be greatly appreciated: I just recently made the upgrade to Uniserver Zero XIII with PHP 7.0. The issue is that half my sites (mainly WordPress but that's irrelevant) keep failing with out of memory errors. These same sites worked just fine on the older Uniserver Zero XI. I have written a little script to illustrate what is happening - PHP is ignoring the set memory limit and restricting it to some amount under 408MB. It doesn't matter if it is set in the php_production.ini file, via .htaccess, or via ini_set() in the php script itself. As you can see from the phpinfo.html output below it is configured at 2048MB (I have also tried at 512 and 1024 with no difference in results). I have tried installing the PHP 7.1 module with no luck there either. Here is my phpinfo: http://hoohost.com/dev/us/phpinfo.html 16GB physical RAM, never close to using half of it. Test script - note that the output shows that it never allows more than ~408MB (240MB after loading other local sites) even though it is set to max out at 2048MB in php,ini config: <?php echo "Memory limit: ".ini_get("memory_limit")."<br><br>"; $a=array(); if (ob_get_level() == 0) ob_start(); for($i=0;$i<200;$i++) { $a[]=str_pad('',1024*1024*8); echo "Pass ".$i.", memory used: ".number_format((memory_get_usage())/(1024*1024),0)." MB<br>"; ob_flush(); flush(); } ?> Output: after starting UniServer Apache without loading any other local sites: Output: after loading another local (in this case WordPress) site's admin page:
  4. Hi All, I have been getting the error below many many times in the Apache log with the standard (stock) version of Uniserver Zero XIII and then Apache will crash. VirtualAlloc() failed: [0x00000008] Not enough storage is available to process this command.VirtualFree() failed: [0x000001e7] Attempt to access invalid address. I have narrowed this down to the Apache version being 32-bit and not supporting memory in excess of 2GB (presumably it will hit a memory allocation error when it tries to allocate more than this amount), I would like to upgrade to 64-bit Apache (downloaded from the closest thing to an official release here: https://www.apachelounge.com/download/win64/) but when I replace the core/apache2/bin contents or the core/apache2 contents I cannot get it to start using UniController - it no longer recognizes the ${US_ROOTF_WWW} and other variables in the config files. Does anyone have a step-by-step for upgrading Apache to the 64-bit version or alternatively does anyone know where/how the ${US_ROOTF_WWW} and other config values are set so that I can try to update them manually? Thanks!
  • Create New...