EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #08197
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Error cannot allocate memory
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] Error cannot allocate memory
- From: Budiwijaya <bbuuddiiww@gmail.com>
- Date: Tue, 16 Jun 2020 15:10:27 +0700
Hi Lists,
Our repository sometimes having this error on the browser:
"Error calling df: Cannot allocate memory"
And checking on the log of the apache, I got this:
================
[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
(eval 685) line 5
------------------------------------------------------------------
---------------- EPrints System Error ----------------------------
------------------------------------------------------------------
Error calling df: Cannot allocate memory
------------------------------------------------------------------
at /opt/eprints3/perl_lib/EPrints/System.pm line 349.
EPrints::System::free_space('EPrints::System::linux=HASH(0x559787596f18)', '/opt/eprints3/archives/wiraraja/documents/disk0') called at /opt/eprints3/perl_li
b/EPrints/BackCompatibility.pm line 467
EPrints::Platform::free_space('/opt/eprints3/archives/wiraraja/documents/disk0') called at /opt/eprints3/perl_lib/EPrints/Repository.pm line 1851
EPrints::Repository::get_store_dir('EPrints::Repository=HASH(0x5597864b7c78)') called at /opt/eprints3/perl_lib/EPrints/DataObj/EPrint.pm line 597
EPrints::DataObj::EPrint::get_defaults('EPrints::DataObj::EPrint', 'EPrints::Repository=HASH(0x5597864b7c78)', 'HASH(0x5597831a9800)', 'EPrints::DataSet=HASH
(0x55978814e1b0)') called at /opt/eprints3/perl_lib/EPrints/DataObj.pm line 259
EPrints::DataObj::create_from_data('EPrints::DataObj::EPrint', 'EPrints::Repository=HASH(0x5597864b7c78)', 'HASH(0x559783197000)', 'EPrints::DataSet=HASH(0x5
5978814e1b0)') called at /opt/eprints3/perl_lib/EPrints/DataObj/EPrint.pm line 495
EPrints::DataObj::EPrint::create_from_data('EPrints::DataObj::EPrint', 'EPrints::Repository=HASH(0x5597864b7c78)', 'HASH(0x559783197000)', 'EPrints::DataSet=
HASH(0x55978814e1b0)') called at /opt/eprints3/perl_lib/EPrints/DataSet.pm line 1013
EPrints::DataSet::create_dataobj('EPrints::DataSet=HASH(0x55978814e1b0)', 'HASH(0x559783197000)') called at /opt/eprints3/perl_lib/EPrints/DataSet.pm line 10
07
EPrints::DataSet::create_object('EPrints::DataSet=HASH(0x55978814e1b0)', 'EPrints::Repository=HASH(0x5597864b7c78)', 'HASH(0x559783197000)') called at /opt/e
prints3/perl_lib/EPrints/Plugin/Screen/NewEPrint.pm line 50
EPrints::Plugin::Screen::NewEPrint::action_create('EPrints::Plugin::Screen::NewEPrint=HASH(0x559788872308)') called at /opt/eprints3/perl_lib/EPrints/Plugin/
Screen.pm line 240
EPrints::Plugin::Screen::from('EPrints::Plugin::Screen::NewEPrint=HASH(0x559788872308)') called at /opt/eprints3/perl_lib/EPrints/ScreenProcessor.pm line 310
EPrints::ScreenProcessor::process('EPrints::ScreenProcessor', 'session', 'EPrints::Repository=HASH(0x5597864b7c78)', 'template', undef, 'url', '/cgi/users/ho
me') called at /opt/eprints3/cgi/users/home line 25
ModPerl::ROOT::ModPerl::Registry::opt_eprints3_cgi_users_home::handler('Apache2::RequestRec=SCALAR(0x5597832db168)') called at /usr/lib/perl5/ModPerl/Registr
yCooker.pm line 206
eval {...} called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 206
ModPerl::RegistryCooker::run('ModPerl::Registry=HASH(0x559783196fd0)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 172
ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0x559783196fd0)') called at /usr/lib/perl5/ModPerl/Registry.pm line 31
ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec=SCALAR(0x5597832db168)') called at -e line 0
eval {...} called at -e line 0
(eval 685) line 5
------------------------------------------------------------------
---------------- EPrints System Error ----------------------------
------------------------------------------------------------------
Error calling df: Cannot allocate memory
------------------------------------------------------------------
at /opt/eprints3/perl_lib/EPrints/System.pm line 349.
EPrints::System::free_space('EPrints::System::linux=HASH(0x559787596f18)', '/opt/eprints3/archives/wiraraja/documents/disk0') called at /opt/eprints3/perl_li
b/EPrints/BackCompatibility.pm line 467
EPrints::Platform::free_space('/opt/eprints3/archives/wiraraja/documents/disk0') called at /opt/eprints3/perl_lib/EPrints/Repository.pm line 1851
EPrints::Repository::get_store_dir('EPrints::Repository=HASH(0x5597864b7c78)') called at /opt/eprints3/perl_lib/EPrints/DataObj/EPrint.pm line 597
EPrints::DataObj::EPrint::get_defaults('EPrints::DataObj::EPrint', 'EPrints::Repository=HASH(0x5597864b7c78)', 'HASH(0x5597831a9800)', 'EPrints::DataSet=HASH
(0x55978814e1b0)') called at /opt/eprints3/perl_lib/EPrints/DataObj.pm line 259
EPrints::DataObj::create_from_data('EPrints::DataObj::EPrint', 'EPrints::Repository=HASH(0x5597864b7c78)', 'HASH(0x559783197000)', 'EPrints::DataSet=HASH(0x5
5978814e1b0)') called at /opt/eprints3/perl_lib/EPrints/DataObj/EPrint.pm line 495
EPrints::DataObj::EPrint::create_from_data('EPrints::DataObj::EPrint', 'EPrints::Repository=HASH(0x5597864b7c78)', 'HASH(0x559783197000)', 'EPrints::DataSet=
HASH(0x55978814e1b0)') called at /opt/eprints3/perl_lib/EPrints/DataSet.pm line 1013
EPrints::DataSet::create_dataobj('EPrints::DataSet=HASH(0x55978814e1b0)', 'HASH(0x559783197000)') called at /opt/eprints3/perl_lib/EPrints/DataSet.pm line 10
07
EPrints::DataSet::create_object('EPrints::DataSet=HASH(0x55978814e1b0)', 'EPrints::Repository=HASH(0x5597864b7c78)', 'HASH(0x559783197000)') called at /opt/e
prints3/perl_lib/EPrints/Plugin/Screen/NewEPrint.pm line 50
EPrints::Plugin::Screen::NewEPrint::action_create('EPrints::Plugin::Screen::NewEPrint=HASH(0x559788872308)') called at /opt/eprints3/perl_lib/EPrints/Plugin/
Screen.pm line 240
EPrints::Plugin::Screen::from('EPrints::Plugin::Screen::NewEPrint=HASH(0x559788872308)') called at /opt/eprints3/perl_lib/EPrints/ScreenProcessor.pm line 310
EPrints::ScreenProcessor::process('EPrints::ScreenProcessor', 'session', 'EPrints::Repository=HASH(0x5597864b7c78)', 'template', undef, 'url', '/cgi/users/ho
me') called at /opt/eprints3/cgi/users/home line 25
ModPerl::ROOT::ModPerl::Registry::opt_eprints3_cgi_users_home::handler('Apache2::RequestRec=SCALAR(0x5597832db168)') called at /usr/lib/perl5/ModPerl/Registr
yCooker.pm line 206
eval {...} called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 206
ModPerl::RegistryCooker::run('ModPerl::Registry=HASH(0x559783196fd0)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 172
ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0x559783196fd0)') called at /usr/lib/perl5/ModPerl/Registry.pm line 31
ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec=SCALAR(0x5597832db168)') called at -e line 0
eval {...} called at -e line 0
================
At the time of the error, tried to `df` using cli of eprints user, can give the disk free of the linux.
Is there any way to debug more? Or the solution is just throw more RAM on the VM?
Eprints version: 3.3.15
Eprints version: 3.3.15
OS: Linux Ubuntu 14.04
RAM: 1GB
Cheers,
Budiwijaya
- Follow-Ups:
- [EP-tech] Error cannot allocate memory
- From: Budiwijaya <bbuuddiiww@gmail.com>
- [EP-tech] Error cannot allocate memory
- References:
- [EP-tech] Error cannot allocate memory
- From: Budiwijaya <bbuuddiiww@gmail.com>
- [EP-tech] Error cannot allocate memory
- Prev by Date: Re: [EP-tech] Cannot add new phrase in Phrase Editor
- Next by Date: Re: [EP-tech] Cannot add new phrase in Phrase Editor
- Previous by thread: [EP-tech] EPrints/CRIS
- Next by thread: [EP-tech] DOI handling in orcid_support_advance
- Index(es):