Bug 27658 - processes are overloaded and the page does not work
Summary: processes are overloaded and the page does not work
Status: CLOSED WORKSFORME
Alias: None
Product: Koha
Classification: Unclassified
Component: System Administration (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-08 15:44 UTC by Federico Paiz
Modified: 2023-12-28 20:42 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Federico Paiz 2021-02-08 15:44:13 UTC
processes are overloaded and the page does not work 



plack-error.log


Error while loading /etc/koha/plack.psgi: Can't load application from file "/usr/share/koha/api/v1/app.pl": Possibly a typo in schema? Could not find "/patron_id_pp" in "parameters/patron.json#/patron_id_pp" (parameters/patron.json#/patron_id_pp) at /usr/local/share/perl/5.26.1/JSON/Validator.pm line 419.
	JSON::Validator::_resolve_ref(JSON::Validator::OpenAPI::Mojolicious=HASH(0x55b4c85dd398), "parameters/patron.json#/patron_id_pp", Mojo::URL=HASH(0x55b4c8769df8), HASH(0x55b4c83c5e48)) called at /usr/local/share/perl/5.26.1/JSON/Validator/OpenAPI/Mojolicious.pm line 465
	JSON::Validator::OpenAPI::Mojolicious::_resolve_ref(JSON::Validator::OpenAPI::Mojolicious=HASH(0x55b4c85dd398), "parameters/patron.json#/patron_id_pp", Mojo::URL=HASH(0x55b4c8769df8), HASH(0x55b4c83c5e48)) called at /usr/local/share/perl/5.26.1/JSON/Validator.pm line 305
	JSON::Validator::_find_and_resolve_refs(JSON::Validator::OpenAPI::Mojolicious=HASH(0x55b4c85dd398), Mojo::URL=HASH(0x55b4c866cb90), HASH(0x55b4c85dd8d8)) called at /usr/local/share/perl/5.26.1/JSON/Validator.pm line 398
	JSON::Validator::_resolve(JSON::Validator::OpenAPI::Mojolicious=HASH(0x55b4c85dd398), HASH(0x55b4c85dd8d8)) called at /usr/local/share/perl/5.26.1/JSON/Validator/OpenAPI/Mojolicious.pm line 39
	JSON::Validator::OpenAPI::Mojolicious::load_and_validate_schema(JSON::Validator::OpenAPI::Mojolicious=HASH(0x55b4c85dd398), Mojo::Home=SCALAR(0x55b4c75530f8), HASH(0x55b4c85dd5f0)) called at /usr/share/koha/lib/Koha/REST/V1.pm line 61
	Koha::REST::V1::startup(Koha::REST::V1=HASH(0x55b4c7552f78)) called at /usr/local/share/perl/5.26.1/Mojolicious.pm line 170
	Mojolicious::new("Koha::REST::V1") called at /usr/local/share/perl/5.26.1/Mojo/Server.pm line 17
	Mojo::Server::build_app(Mojo::Server=HASH(0x55b4c74ff290), "Koha::REST::V1") called at /usr/local/share/perl/5.26.1/Mojolicious/Commands.pm line 79
	Mojolicious::Commands::start_app("Mojolicious::Commands", "Koha::REST::V1") called at /usr/share/koha/api/v1/app.pl line 21
	require /usr/share/koha/api/v1/app.pl called at (eval 366) line 1
	eval 'package Mojo::Server::Sandbox::e02d8dd2b7bd893f6bb5f5d2b2b726fa; require $path' called at /usr/local/share/perl/5.26.1/Mojo/Server.pm line 54
	Mojo::Server::load_app(Mojo::Server::PSGI=HASH(0x55b4c74f8728), "/usr/share/koha/api/v1/app.pl") called at /etc/koha/plack.psgi line 65
	Plack::Sandbox::_2fetc_2fkoha_2fplack_2epsgi::__ANON__() called at /usr/share/perl5/Plack/Builder.pm line 118
	Plack::Builder::builder(CODE(0x55b4c16a2b58)) called at /etc/koha/plack.psgi line 67
	require /etc/koha/plack.psgi called at (eval 15) line 3
	eval 'package Plack::Sandbox::_2fetc_2fkoha_2fplack_2epsgi;
{
    my $app = do $_file;
    if ( !$app && ( my $error = $@ || $! )) { die $error; }
    $app;
}
' called at /usr/share/perl5/Plack/Util.pm line 120
	Plack::Util::_load_sandbox("/etc/koha/plack.psgi") called at /usr/share/perl5/Plack/Util.pm line 136
	Plack::Util::load_psgi("/etc/koha/plack.psgi") called at /usr/share/perl5/Plack/Runner.pm line 179
	Plack::Runner::__ANON__() called at /usr/share/perl5/Plack/Runner.pm line 24
	Plack::Runner::__ANON__() called at /usr/share/perl5/Plack/Runner.pm line 24
	Plack::Runner::__ANON__() called at /usr/share/perl5/Starman/Server.pm line 174
	Starman::Server::child_init_hook(Starman::Server=HASH(0x55b4c0f98a98)) called at /usr/share/perl5/Net/Server/PreFork.pm line 218
	Net::Server::PreFork::run_child(Starman::Server=HASH(0x55b4c0f98a98)) called at /usr/share/perl5/Net/Server/PreFork.pm line 183
	Net::Server::PreFork::run_n_children(Starman::Server=HASH(0x55b4c0f98a98), 1) called at /usr/share/perl5/Net/Server/PreFork.pm line 373
	Net::Server::PreFork::coordinate_children(Starman::Server=HASH(0x55b4c0f98a98)) called at /usr/share/perl5/Net/Server/PreFork.pm line 292
	Net::Server::PreFork::run_parent(Starman::Server=HASH(0x55b4c0f98a98)) called at /usr/share/perl5/Starman/Server.pm line 164
	Starman::Server::run_parent(Starman::Server=HASH(0x55b4c0f98a98)) called at /usr/share/perl5/Net/Server/PreFork.pm line 109
	Net::Server::PreFork::loop(Starman::Server=HASH(0x55b4c0f98a98)) called at /usr/share/perl5/Net/Server.pm line 58
	Net::Server::run(Starman::Server=HASH(0x55b4c0f98a98), "port", ARRAY(0x55b4c162b110), "host", "*", "proto", "tcp", "serialize", ...) called at /usr/share/perl5/Starman/Server.pm line 106
	Starman::Server::run(Starman::Server=HASH(0x55b4c0f98a98), CODE(0x55b4c0f98960), HASH(0x55b4c0f98720)) called at /usr/share/perl5/Plack/Handler/Starman.pm line 25
	Plack::Handler::Starman::run(Plack::Handler::Starman=HASH(0x55b4c0f98978), CODE(0x55b4c0f98960)) called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20
	Plack::Loader::Delayed::run(Plack::Loader::Delayed=HASH(0x55b4c0e4c378), Plack::Handler::Starman=HASH(0x55b4c0f98978)) called at /usr/share/perl5/Plack/Runner.pm line 277
	Plack::Runner::run(Plack::Runner=HASH(0x55b4c0dee790)) called at /usr/bin/starman line 38
Compilation failed in require at (eval 366) line 1.
Child process 5586 exited with status 255
Comment 1 Katrin Fischer 2023-01-23 22:29:31 UTC
This is an old bug report that looks like there was a problem with the database schema:

Error while loading /etc/koha/plack.psgi: Can't load application from file "/usr/share/koha/api/v1/app.pl": Possibly a typo in schema? Could not find "/patron_id_pp" in "parameters/patron.json#/patron_id_pp" (parameters/patron.json#/patron_id_pp) at /usr/local/share/perl/5.26.1/JSON/Validator.pm line 419....

I am closing as this had no more comments and doesn't appear to be an issue in current versions. Please reopen if you can reproduce the issue or provide more information!