ikkeben
Verified User
For those who have such with only 2GB (test) real memory and clamd activ.
After error
PHP update 7.3.x fails the make virtual memory exhausted ad apprentice.lo error
I did checked the swap file 4096
And stopped clamd service before again updating ( had to push after longer time twice the stop button for that in DA admin GUI.
This solved the issue BUT:
Is it possible to have memory space checked before pushing update?
While system hangs / reboots it seems then and not reachable for some time with such problem.
So if doing updates and low memory do stop if using clamd service before updating that helps.
After error
PHP update 7.3.x fails the make virtual memory exhausted ad apprentice.lo error
Code:
/bin/sh /usr/local/directadmin/custombuild/php-7.3.25/libtool --silent --preserve-dup-deps --mode=compile cc -I/usr/local/directadmin/custombuild/php-7.3.25/ext/fileinfo/libmagic -Iext/fileinfo/ -I/usr/local/directadmin/custombuild/php-7.3.25/ext/fileinfo/ -DPHP_ATOM_INC -I/usr/local/directadmin/custombuild/php-7.3.25/include -I/usr/local/directadmin/custombuild/php-7.3.25/main -I/usr/local/directadmin/custombuild/php-7.3.25 -I/usr/local/directadmin/custombuild/php-7.3.25/ext/date/lib -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/icu/include -I/usr/local/directadmin/custombuild/php-7.3.25/ext/mbstring/oniguruma -I/usr/local/directadmin/custombuild/php-7.3.25/ext/mbstring/libmbfl -I/usr/local/directadmin/custombuild/php-7.3.25/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/custombuild/php-7.3.25/ext/sqlite3/libsqlite -I/usr/local/directadmin/custombuild/php-7.3.25/ext/zip/lib -I/usr/local/directadmin/custombuild/php-7.3.25/TSRM -I/usr/local/directadmin/custombuild/php-7.3.25/Zend -I/usr/local/include -g -O2 -fvisibility=hidden -DZEND_SIGNALS -c /usr/local/directadmin/custombuild/php-7.3.25/ext/fileinfo/libmagic/apprentice.c -o ext/fileinfo/libmagic/apprentice.lo
virtual memory exhausted: Cannot allocate memory
make: *** [Makefile:966: ext/fileinfo/libmagic/apprentice.lo] Error 1
I did checked the swap file 4096
And stopped clamd service before again updating ( had to push after longer time twice the stop button for that in DA admin GUI.
This solved the issue BUT:
Is it possible to have memory space checked before pushing update?
While system hangs / reboots it seems then and not reachable for some time with such problem.
So if doing updates and low memory do stop if using clamd service before updating that helps.
Last edited: