Trotz Lockserver "out of memory"
Ich wollte auf einem kürzlichen installiertem QUIQQER-System (1.2.1) ein Paket über den Store im Admin installieren.
Das Paket, welches ich installieren wollte, war/ist "QUIQQER - URL-Shortener"
In den QUIQQER-Einstellungen habe ich extra darauf geachtet, dass der Lockserver aktiviert ist.
Jedoch bekam ich trotzdem eine out of memory exception:
[24-Oct-2018 00:23:59 Europe/Berlin] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 24576 bytes) in /var/www/vhosts/pcsg12.pcsg-server.de/httpdocs/packages/composer/composer/src/Composer/Cache.php on line 92
In einer dev.log
fand ich unter anderem folgendes:
[...]
[2018-10-24 00:23:43] - ERROR - Lockclient encountered a curl error
{
"url": "https:\/\/lock.quiqqer.com\/\/generate",
"error": "Operation timed out after 30001 milliseconds with 0 bytes received",
"request": "https:\/\/pcsg12.pcsg-server.de\/admin\/ajax.php",
"errorFilename": false,
"userId": 819367094,
"username": "admin",
"IP": "88.78.248.195"
}
[2018-10-24 00:23:59] - ALERT - Peak usage: 252 MB
memory_limit: 256M
URI: pcsg12.pcsg-server.de/admin/ajax.php
HTTP_REFERER: https://pcsg12.pcsg-server.de/admin/
{
"request": "https:\/\/pcsg12.pcsg-server.de\/admin\/ajax.php",
"errorFilename": false,
"userId": 819367094,
"username": "admin",
"IP": "88.78.248.195"
}
[...]
[2018-10-24 00:24:39] - DEBUG - 404 ::
Array
(
)
Cache doesn't exist
#0 /var/www/vhosts/pcsg12.pcsg-server.de/httpdocs/packages/quiqqer/quiqqer/lib/QUI/Projects/Media/Utils.php(411): QUI\Cache\Manager::get('cache/links/hom...')
#1 /var/www/vhosts/pcsg12.pcsg-server.de/httpdocs/packages/quiqqer/quiqqer/lib/QUI/Output.php(198): QUI\Projects\Media\Utils::getRewrittenUrl('image.php?id=32...')
#2 [internal function]: QUI\Output->files(Array)
#3 /var/www/vhosts/pcsg12.pcsg-server.de/httpdocs/packages/quiqqer/quiqqer/lib/QUI/Output.php(66): preg_replace_callback('#(href|src|valu...', Array, '<!doctype html>...')
#4 /var/www/vhosts/pcsg12.pcsg-server.de/httpdocs/packages/quiqqer/quiqqer/lib/QUI/Rewrite.php(1220): QUI\Output->parse('<!doctype html>...')
#5 /var/www/vhosts/pcsg12.pcsg-server.de/httpdocs/packages/quiqqer/quiqqer/index.php(184): QUI\Rewrite->outputFilter('<!doctype html>...')
#6 /var/www/vhosts/pcsg12.pcsg-server.de/httpdocs/index.php(27): require('/var/www/vhosts...')
#7 {main}
{
"request": "https:\/\/pcsg12.pcsg-server.de\/",
"errorFilename": false,
"userId": false,
"username": "nobody",
"IP": "78.47.12.246"
}
Hier noch der Output von composer show
:
php composer.phar show
Do not run Composer as root/super user! See https://getcomposer.org/root for details
ckeditor/ckeditor 4.10.x-dev 279d943 JavaScript WYSIWYG web tex...
components/font-awesome 4.7.0 The iconic font designed f...
composer/ca-bundle dev-master 46afded Lets you find a path to th...
composer/composer 1.5.6 Composer helps you declare...
composer/semver dev-master 2b303e4 Semver library that offers...
composer/spdx-licenses dev-master 0df571f SPDX licenses list and val...
dusank/knapsack 8.4.1 Collection library for PHP
hirak/prestissimo 0.3.8 composer parallel install ...
html2text/html2text 1.0.1 Converts HTML to formatted...
intervention/image 2.2.2 Image handling and manipul...
justinrainbow/json-schema 5.x-dev 8560d43 A library to validate a js...
kriswallsmith/assetic dev-master e911c43 Asset Management for PHP
league/climate 3.4.1 PHP's best friend for the ...
monolog/monolog 1.x-dev c465e11 Sends your logs to files, ...
mtdowling/cron-expression v1.0.4 CRON for PHP: Calculate th...
npm-asset/asap 2.0.6 High-priority task queue f...
npm-asset/core-js 1.2.7 Standard library
npm-asset/create-react-class 15.6.3 Legacy API for creating Re...
npm-asset/encoding 0.1.12 Convert encodings, uses ic...
npm-asset/fbjs 0.8.17 A collection of utility li...
npm-asset/hammerjs 2.0.8 A javascript library for m...
npm-asset/iconv-lite 0.4.24 Convert character encoding...
npm-asset/intl 1.2.5 Polyfill the ECMA-402 Intl...
npm-asset/is-stream 1.1.0 Check if something is a No...
npm-asset/isomorphic-fetch 2.2.1 Isomorphic WHATWG Fetch AP...
npm-asset/js-tokens 4.0.0 A regex that tokenizes Jav...
npm-asset/loose-envify 1.4.0 Fast (and loose) selective...
npm-asset/mustache 2.3.2 Logic-less {{mustache}} te...
npm-asset/node-fetch 1.7.3 A light-weight module that...
npm-asset/nouislider 12.0.0 noUiSlider is a lightweigh...
npm-asset/object-assign 4.1.1 ES2015 `Object.assign()` p...
npm-asset/pace-js 1.0.2 Automatic page load progre...
npm-asset/promise 7.3.1 Bare bones Promises/A+ imp...
npm-asset/prop-types 15.6.2 Runtime type checking for ...
npm-asset/react 15.6.2 React is a JavaScript libr...
npm-asset/safer-buffer 2.1.2 Modern Buffer API polyfill...
npm-asset/setimmediate 1.0.5 A shim for the setImmediat...
npm-asset/ua-parser-js 0.7.18 Lightweight JavaScript-bas...
npm-asset/unsemantic 1.2.3 Fluid grid for mobile, tab...
npm-asset/urijs 1.19.1 URI.js is a Javascript lib...
npm-asset/whatwg-fetch 3.0.0 A window.fetch polyfill.
paragonie/random_compat v9.99.99 PHP 5.x polyfill for rando...
pcsg/composer-assets dev-master da2c896 NPM/Bower Dependency Manag...
pcsg/php-htmldiff dev-master a275bcc A library for comparing tw...
phpmailer/phpmailer 6.0.x-dev ea25dc1 PHPMailer is a full-featur...
psr/cache dev-master 78c5a01 Common interface for cachi...
psr/log dev-master 3490ba5 Common interface for loggi...
quiqqer/backendsearch 1.0.0 With the QUIQEQR Backend S...
quiqqer/blog dev-master a7cccf4 Create your own online dia...
quiqqer/bricks dev-master f18c7b9 The brick system allows yo...
quiqqer/buttons dev-master bdd8374 QUIQQER CSS Buttons Classe...
quiqqer/calendar-controls 1.1.0 Provides various calendar ...
quiqqer/ckeditor4 2.1.0 CKEditor for the QUIQQER C...
quiqqer/colorpicker dev-master 3a4e752 Mootools Colorpicker Widge...
quiqqer/composer dev-master 9d8854e Composer API for the QUIQQ...
quiqqer/controls dev-master 0aa977b Repository for all standar...
quiqqer/countries 1.2.0 Extend QUIQQER with a coun...
quiqqer/cron 1.7.0 This Package provided a cr...
quiqqer/diashow dev-master 43e20d5 Image Diashow JS Component
quiqqer/fontawesome dev-master c1dfde0 Provides Font Awesome for ...
quiqqer/gallery dev-master 29a260e Present your photos, produ...
quiqqer/history 1.3.0 The loss of side data and ...
quiqqer/lockclient 1.0.1 Client for the QUIQQER Loc...
quiqqer/log 1.3.3 Extend QUIQQER with a log ...
quiqqer/menu dev-master fa0338e The Plugin menu provides v...
quiqqer/messages 1.0.1 QUIQQER CSS Message Classe...
quiqqer/meta 1.0.0 The Meta Plugin helps you ...
quiqqer/pace dev-master 9a8b7ea Add a progress bar to your...
quiqqer/page-transition dev-master d2ec2ae Select between several smo...
quiqqer/portfolio 1.2.0 Manage your references / c...
quiqqer/presentation-bricks dev-master ca165cf This package contains bric...
quiqqer/qui dev-master a836456 QUIQQER-UI is a modular us...
quiqqer/qui-php dev-master 9005336 QUI - PHP Controls
quiqqer/quiqqer 1.2.1 A modular based management...
quiqqer/requirements 2.0.1 This package provides meth...
quiqqer/sitetypes dev-master 1cf6ce5 The SiteTypes package exte...
quiqqer/smarty3 1.8.2 Smarty Extensions for the ...
quiqqer/tags dev-master 2e5b7bc The tag package edtends QU...
quiqqer/template-helios dev-master 2e425bc Simple but powerful templa...
quiqqer/template-presentation dev-dev 94fcfea Business and marketing Tem...
quiqqer/template-strata dev-master 21dec67 QUI Template
quiqqer/translator 1.5.1 QUIQQER's translator helps...
quiqqer/unsemantic dev-master 9e020cc
quiqqer/utils dev-master 428c87c Helper libraries from and ...
ramsey/uuid 3.x-dev 4c467ce Formerly rhumsaa/uuid. A P...
robloach/component-installer 0.0.12 Allows installation of Com...
seld/cli-prompt dev-master a19a737 Allows you to prompt for u...
seld/jsonlint 1.7.1 JSON Linter
seld/phar-utils dev-master 7009b51 PHAR file format utilities...
smarty/smarty dev-master 2d1905c Smarty - the compiling PHP...
symfony/console 2.8.x-dev ba4eff2 Symfony Console Component
symfony/debug 3.0.x-dev 697c527 Symfony Debug Component
symfony/filesystem 3.4.x-dev 68bc3e4 Symfony Filesystem Component
symfony/finder 3.4.x-dev 7d3bd18 Symfony Finder Component
symfony/http-foundation 3.4.x-dev ec993db Symfony HttpFoundation Com...
symfony/polyfill-ctype dev-master e3d8262 Symfony polyfill for ctype...
symfony/polyfill-mbstring dev-master d0cd638 Symfony polyfill for the M...
symfony/polyfill-php70 dev-master 1e24b0c Symfony polyfill backporti...
symfony/process 3.4.x-dev 8b87aca Symfony Process Component
t7systems/blowfish 1.0.0 Blowfish encryption library
tedivm/stash v0.14.2 The place to keep your cache.