<div dir="ltr">Hi Lists,<div><br></div><div>Our repository sometimes having this error on the browser:</div><div><br></div><div><font face="monospace"><b>&quot;Error calling df: Cannot allocate memory&quot;</b></font></div><div><br></div><div>And checking on the log of the apache, I got this:</div><div>================</div><div><font face="monospace">[Tue Jun 16 03:58:30.265596 2020] [:error] [pid 6987:tid 139987773269760] Apache2::RequestIO::read: (70008) Partial results are valid but processing is incomplete at<br> (eval 685) line 5<br>------------------------------------------------------------------<br>---------------- EPrints System Error ----------------------------<br>------------------------------------------------------------------<br>Error calling df: Cannot allocate memory<br>------------------------------------------------------------------<br> at /opt/eprints3/perl_lib/EPrints/System.pm line 349.<br>        EPrints::System::free_space(&#39;EPrints::System::linux=HASH(0x559787596f18)&#39;, &#39;/opt/eprints3/archives/wiraraja/documents/disk0&#39;) called at /opt/eprints3/perl_li<br>b/EPrints/BackCompatibility.pm line 467<br>        EPrints::Platform::free_space(&#39;/opt/eprints3/archives/wiraraja/documents/disk0&#39;) called at /opt/eprints3/perl_lib/EPrints/Repository.pm line 1851<br>        EPrints::Repository::get_store_dir(&#39;EPrints::Repository=HASH(0x5597864b7c78)&#39;) called at /opt/eprints3/perl_lib/EPrints/DataObj/EPrint.pm line 597<br>        EPrints::DataObj::EPrint::get_defaults(&#39;EPrints::DataObj::EPrint&#39;, &#39;EPrints::Repository=HASH(0x5597864b7c78)&#39;, &#39;HASH(0x5597831a9800)&#39;, &#39;EPrints::DataSet=HASH<br>(0x55978814e1b0)&#39;) called at /opt/eprints3/perl_lib/EPrints/DataObj.pm line 259<br>        EPrints::DataObj::create_from_data(&#39;EPrints::DataObj::EPrint&#39;, &#39;EPrints::Repository=HASH(0x5597864b7c78)&#39;, &#39;HASH(0x559783197000)&#39;, &#39;EPrints::DataSet=HASH(0x5<br>5978814e1b0)&#39;) called at /opt/eprints3/perl_lib/EPrints/DataObj/EPrint.pm line 495<br>        EPrints::DataObj::EPrint::create_from_data(&#39;EPrints::DataObj::EPrint&#39;, &#39;EPrints::Repository=HASH(0x5597864b7c78)&#39;, &#39;HASH(0x559783197000)&#39;, &#39;EPrints::DataSet=<br>HASH(0x55978814e1b0)&#39;) called at /opt/eprints3/perl_lib/EPrints/DataSet.pm line 1013<br>        EPrints::DataSet::create_dataobj(&#39;EPrints::DataSet=HASH(0x55978814e1b0)&#39;, &#39;HASH(0x559783197000)&#39;) called at /opt/eprints3/perl_lib/EPrints/DataSet.pm line 10<br>07<br>        EPrints::DataSet::create_object(&#39;EPrints::DataSet=HASH(0x55978814e1b0)&#39;, &#39;EPrints::Repository=HASH(0x5597864b7c78)&#39;, &#39;HASH(0x559783197000)&#39;) called at /opt/e<br>prints3/perl_lib/EPrints/Plugin/Screen/NewEPrint.pm line 50<br>        EPrints::Plugin::Screen::NewEPrint::action_create(&#39;EPrints::Plugin::Screen::NewEPrint=HASH(0x559788872308)&#39;) called at /opt/eprints3/perl_lib/EPrints/Plugin/<br>Screen.pm line 240<br>        EPrints::Plugin::Screen::from(&#39;EPrints::Plugin::Screen::NewEPrint=HASH(0x559788872308)&#39;) called at /opt/eprints3/perl_lib/EPrints/ScreenProcessor.pm line 310<br>        EPrints::ScreenProcessor::process(&#39;EPrints::ScreenProcessor&#39;, &#39;session&#39;, &#39;EPrints::Repository=HASH(0x5597864b7c78)&#39;, &#39;template&#39;, undef, &#39;url&#39;, &#39;/cgi/users/ho<br>me&#39;) called at /opt/eprints3/cgi/users/home line 25<br>        ModPerl::ROOT::ModPerl::Registry::opt_eprints3_cgi_users_home::handler(&#39;Apache2::RequestRec=SCALAR(0x5597832db168)&#39;) called at /usr/lib/perl5/ModPerl/Registr<br>yCooker.pm line 206<br>        eval {...} called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 206<br>        ModPerl::RegistryCooker::run(&#39;ModPerl::Registry=HASH(0x559783196fd0)&#39;) called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 172<br>        ModPerl::RegistryCooker::default_handler(&#39;ModPerl::Registry=HASH(0x559783196fd0)&#39;) called at /usr/lib/perl5/ModPerl/Registry.pm line 31<br>        ModPerl::Registry::handler(&#39;ModPerl::Registry&#39;, &#39;Apache2::RequestRec=SCALAR(0x5597832db168)&#39;) called at -e line 0<br>        eval {...} called at -e line 0</font><br></div><div>================<br></div><div><br></div><div>At the time of the error, tried to `df` using cli of eprints user, can give the disk free of the linux. </div><div>Is there any way to debug more? Or the solution is just throw more RAM on the VM?<br><br>Eprints version: 3.3.15</div><div>OS: Linux Ubuntu 14.04</div><div>RAM: 1GB</div><div><br></div><div>Cheers,</div><div>Budiwijaya</div></div>