schmaker, to php

Hello guys,

I'm getting process killed by killer lately and am not able to debug what and why is causing it, only thing i know at this moment is, that it seems to be related to worker (no other webpages are running at my VPS.

Errors in friendica.log and httpd.log are repeated over and over again, I have tons of these.

Friendica log```
2024-01-14T12:14:05Z worker [ALERT]: Fatal Error (E_ERROR): Allowed memory size of 268435456 bytes exhausted (tried to allocate 50348032 bytes) {"code":1,"message":"Allowed memory size of 268435456 bytes exhausted (tried to allocate 50348032 bytes)","file":"/srv/http/schmaker.eu/src/Database/Database.php","line":568,"trace":null} - {"file":null,"line":null,"function":null,"request-id":"65a3d00a94ba8","stack":"ErrorHandler::handleFatalError","uid":"0e21ff","process_id":524483}
2024-01-14T12:14:19Z app [NOTICE]: created item {"post-id":1746909,"uid":0,"network":"apub","uri-id":7056319,"guid":"52acf9cd-d5329c5bc33553a3-16fb1418"} - {"file":"Item.php","line":1334,"function":"insert","request-id":"65a3d01b052b3","stack":"Item::insert (1172), Processor::postItem (783), Receiver::routeActivities (747), Receiver::processActivity (169), Receiver::processInbox (101), Inbox::post (233), BaseModule::run (109), BaseApi::run (43), Inbox::run (711), App::runFrontend (46)","uid":"1ddf6c","process_id":521334}
2024-01-14T12:14:19Z app [NOTICE]: created item {"post-id":1746910,"uid":2,"network":"apub","uri-id":7055024,"guid":"2cc3d87f-74a5bdcec9bb28f3-597a3200"} - {"file":"Item.php","line":1334,"function":"insert","request-id":"65a3d01b052b3","stack":"Item::insert (1874), Item::storeForUser (1740), Item::storeForUserByUriId (1252), Processor::hasParents (1162), Processor::postItem (783), Receiver::routeActivities (747), Receiver::processActivity (169), Receiver::processInbox (101), Inbox::post (233), BaseModule::run (109), BaseApi::run (43), Inbox::run (711), App::runFrontend (46)","uid":"1ddf6c","process_id":521334}
2024-01-14T12:14:19Z app [NOTICE]: Inserted missing parent post {"stored":1746910,"uid":2,"parent":"https://mastodonczech.cz/users/mkyral/statuses/111754066555820024"} - {"file":"Processor.php","line":1255,"function":"hasParents","request-id":"65a3d01b052b3","stack":"Processor::hasParents (1162), Processor::postItem (783), Receiver::routeActivities (747), Receiver::processActivity (169), Receiver::processInbox (101), Inbox::post (233), BaseModule::run (109), BaseApi::run (43), Inbox::run (711), App::runFrontend (46)","uid":"1ddf6c","process_id":521334}
2024-01-14T12:14:19Z app [NOTICE]: created item {"post-id":1746911,"uid":2,"network":"apub","uri-id":7056319,"guid":"52acf9cd-d5329c5bc33553a3-16fb1418"} - {"file":"Item.php","line":1334,"function":"insert","request-id":"65a3d01b052b3","stack":"Item::insert (1172), Processor::postItem (783), Receiver::routeActivities (747), Receiver::processActivity (169), Receiver::processInbox (101), Inbox::post (233), BaseModule::run (109), BaseApi::run (43), Inbox::run (711), App::runFrontend (46)","uid":"1ddf6c","process_id":521334}
2024-01-14T12:14:28Z app [NOTICE]: no data for session {"session_id":"918db4sbltu4uuboiu7vgir1u1","uri":"/robots.txt"} - {"file":"Database.php","line":78,"function":"read","request-id":"65a3d0247394c","stack":"Database::read, session_start (54), Native::start (150), Dice::Dice{closure} (96), Dice::create (247), Dice::Dice{closure} (132), Dice::Dice{closure} (96), Dice::create (247), Dice::Dice{closure} (132), Dice::Dice{closure} (96), Dice::create (92), DI::app (42)","uid":"21ebe6","process_id":521020}
2024-01-14T12:14:46Z app [NOTICE]: created item {"post-id":1746912,"uid":0,"network":"apub","uri-id":7056320,"guid":"f7dd981d-1265-a37e-95d3-45a258252183"} - {"file":"Item.php","line":1334,"function":"insert","request-id":"65a3d0369bf29","stack":"Item::insert (1172), Processor::postItem (708), Processor::createActivity (843), Receiver::routeActivities (747), Receiver::processActivity (169), Receiver::processInbox (101), Inbox::post (233), BaseModule::run (109), BaseApi::run (43), Inbox::run (711), App::runFrontend (46)","uid":"ced645","process_id":511968}
2024-01-14T12:14:46Z app [NOTICE]: created item {"post-id":1746913,"uid":2,"network":"apub","uri-id":7056320,"guid":"f7dd981d-1265-a37e-95d3-45a258252183"} - {"file":"Item.php","line":1334,"function":"insert","request-id":"65a3d0369bf29","stack":"Item::insert (1172), Processor::postItem (708), Processor::createActivity (843), Receiver::routeActivities (747), Receiver::processActivity (169), Receiver::processInbox (101), Inbox::post (233), BaseModule::run (109), BaseApi::run (43), Inbox::run (711), App::runFrontend (46)","uid":"ced645","process_id":511968}
2024-01-14T12:14:49Z app [NOTICE]: no data for session {"session_id":"0ahqk6onff097rtsfs76uk85vu","uri":"/profile/netvoyne?tag=Zaporozhye&page=7"} - {"file":"Database.php","line":78,"function":"read","request-id":"65a3d0395754d","stack":"Database::read, session_start (54), Native::start (150), Dice::Dice{closure} (96), Dice::create (247), Dice::Dice{closure} (132), Dice::Dice{closure} (96), Dice::create (247), Dice::Dice{closure} (132), Dice::Dice{closure} (96), Dice::create (92), DI::app (42)","uid":"28fdfc","process_id":521334}
2024-01-14T12:14:50Z app [NOTICE]: no data for session {"session_id":"f1176v7k02rugm0aqrpgo7l8eg","uri":"/display/c83e3896-1964-2eb2-f5bf-0c2147726828"} - {"file":"Database.php","line":78,"function":"read","request-id":"65a3d03a79379","stack":"Database::read, session_start (54), Native::start (150), Dice::Dice{closure} (96), Dice::create (247), Dice::Dice{closure} (132), Dice::Dice{closure} (96), Dice::create (247), Dice::Dice{closure} (132), Dice::Dice{closure} (96), Dice::create (92), DI::app (42)","uid":"9ecf0a","process_id":516104}
2024-01-14T12:14:50Z app [WARNING]: E_WARNING: Trying to access array offset on null {"code":2,"message":"Trying to access array offset on null","file":"/srv/http/schmaker.eu/view/smarty3/compiled/d0/de/3f/d0de3f3fd98d576056fb02f629b93c7eb0442beb_2.file.threaded_conversation.tpl.php","line":46} - {"file":"smarty_internal_errorhandler.php","line":112,"function":"handleError","request-id":"65a3d03a79379","stack":"ErrorHandler::handleError (112), Smarty_Internal_ErrorHandler::handleError (46), content_65894a0656ce28_18927795 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (217), Smarty_Internal_Template::render (238), Smarty_Internal_TemplateBase::_execute (116), Smarty_Internal_TemplateBase::fetch (100), FriendicaSmartyEngine::replaceMacros (84), Renderer::replaceMacros (593), Conversation::render (278), Display::getDisplayData (165), Display::content (250), BaseModule::run (711), App::runFrontend (46)","uid":"9ecf0a","process_id":516104}
2024-01-14T12:14:50Z app [WARNING]: E_WARNING: Trying to access array offset on null {"code":2,"message":"Trying to access array offset on null","file":"/srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php","line":506} - {"file":"smarty_internal_errorhandler.php","line":112,"function":"handleError","request-id":"65a3d03a79379","stack":"ErrorHandler::handleError (112), Smarty_Internal_ErrorHandler::handleError (506), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (217), Smarty_Internal_Template::render (386), Smarty_Internal_Template::_subTemplateRender (48), content_65894a0656ce28_18927795 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (217), Smarty_Internal_Template::render (238), Smarty_Internal_TemplateBase::_execute (116), Smarty_Internal_TemplateBase::fetch (100), FriendicaSmartyEngine::replaceMacros (84), Renderer::replaceMacros (593)","uid":"9ecf0a","process_id":516104}
2024-01-14T12:14:50Z app [WARNING]: E_WARNING: Trying to access array offset on null {"code":2,"message":"Trying to access array offset on null","file":"/srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php","line":521} - {"file":"smarty_internal_errorhandler.php","line":112,"function":"handleError","request-id":"65a3d03a79379","stack":"ErrorHandler::handleError (112), Smarty_Internal_ErrorHandler::handleError (521), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (217), Smarty_Internal_Template::render (386), Smarty_Internal_Template::_subTemplateRender (48), content_65894a0656ce28_18927795 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (217), Smarty_Internal_Template::render (238), Smarty_Internal_TemplateBase::_execute (116), Smarty_Internal_TemplateBase::fetch (100), FriendicaSmartyEngine::replaceMacros (84), Renderer::replaceMacros (593)","uid":"9ecf0a","process_id":516104}
2024-01-14T12:14:50Z app [WARNING]: E_WARNING: Trying to access array offset on null {"code":2,"message":"Trying to access array offset on null","file":"/srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php","line":539} - {"file":"smarty_internal_errorhandler.php","line":112,"function":"handleError","request-id":"65a3d03a79379","stack":"ErrorHandler::handleError (112), Smarty_Internal_ErrorHandler::handleError (539), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (217), Smarty_Internal_Template::render (386), Smarty_Internal_Template::_subTemplateRender (48), content_65894a0656ce28_18927795 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (217), Smarty_Internal_Template::render (238), Smarty_Internal_TemplateBase::_execute (116), Smarty_Internal_TemplateBase::fetch (100), FriendicaSmartyEngine::replaceMacros (84), Renderer::replaceMacros (593)","uid":"9ecf0a","process_id":516104}
2024-01-14T12:14:50Z app [WARNING]: E_WARNING: Trying to access array offset on null {"code":2,"message":"Trying to access array offset on null","file":"/srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php","line":554} - {"file":"smarty_internal_errorhandler.php","line":112,"function":"handleError","request-id":"65a3d03a79379","stack":"ErrorHandler::handleError (112), Smarty_Internal_ErrorHandler::handleError (554), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (217), Smarty_Internal_Template::render (386), Smarty_Internal_Template::_subTemplateRender (48), content_65894a0656ce28_18927795 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (217), Smarty_Internal_Template::render (238), Smarty_Internal_TemplateBase::_execute (116), Smarty_Internal_TemplateBase::fetch (100), FriendicaSmartyEngine::replaceMacros (84), Renderer::replaceMacros (593)","uid":"9ecf0a","process_id":516104}
2024-01-14T12:14:50Z app [WARNING]: E_WARNING: Trying to access array offset on false {"code":2,"message":"Trying to access array offset on false","file":"/srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php","line":798} - {"file":"smarty_internal_errorhandler.php","line":112,"function":"handleError","request-id":"65a3d03a79379","stack":"ErrorHandler::handleError (112), Smarty_Internal_ErrorHandler::handleError (798), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (217), Smarty_Internal_Template::render (386), Smarty_Internal_Template::_subTemplateRender (48), content_65894a0656ce28_18927795 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (217), Smarty_Internal_Template::render (238), Smarty_Internal_TemplateBase::_execute (116), Smarty_Internal_TemplateBase::fetch (100), FriendicaSmartyEngine::replaceMacros (84), Renderer::replaceMacros (593)","uid":"9ecf0a","process_id":516104}
2024-01-14T12:14:50Z app [WARNING]: E_WARNING: Trying to access array offset on false {"code":2,"message":"Trying to access array offset on false","file":"/srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php","line":1103} - {"file":"smarty_internal_errorhandler.php","line":112,"function":"handleError","request-id":"65a3d03a79379","stack":"ErrorHandler::handleError (112), Smarty_Internal_ErrorHandler::handleError (1103), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (217), Smarty_Internal_Template::render (386), Smarty_Internal_Template::_subTemplateRender (48), content_65894a0656ce28_18927795 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (217), Smarty_Internal_Template::render (238), Smarty_Internal_TemplateBase::_execute (116), Smarty_Internal_TemplateBase::fetch (100), FriendicaSmartyEngine::replaceMacros (84), Renderer::replaceMacros (593)","uid":"9ecf0a","process_id":516104}
2024-01-14T12:14:50Z app [WARNING]: E_WARNING: Trying to access array offset on null {"code":2,"message":"Trying to access array offset on null","file":"/srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php","line":506} - {"file":"smarty_internal_errorhandler.php","line":112,"function":"handleError","request-id":"65a3d03a79379","stack":"ErrorHandler::handleError (112), Smarty_Internal_ErrorHandler::handleError (506), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (384), Smarty_Internal_Template::_subTemplateRender (1158), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (217), Smarty_Internal_Template::render (386), Smarty_Internal_Template::_subTemplateRender (48), content_65894a0656ce28_18927795 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (217), Smarty_Internal_Template::render (238)","uid":"9ecf0a","process_id":516104}
2024-01-14T12:14:50Z app [WARNING]: E_WARNING: Trying to access array offset on null {"code":2,"message":"Trying to access array offset on null","file":"/srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php","line":521} - {"file":"smarty_internal_errorhandler.php","line":112,"function":"handleError","request-id":"65a3d03a79379","stack":"ErrorHandler::handleError (112), Smarty_Internal_ErrorHandler::handleError (521), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (384), Smarty_Internal_Template::_subTemplateRender (1158), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (217), Smarty_Internal_Template::render (386), Smarty_Internal_Template::_subTemplateRender (48), content_65894a0656ce28_18927795 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (217), Smarty_Internal_Template::render (238)","uid":"9ecf0a","process_id":516104}
2024-01-14T12:14:50Z app [WARNING]: E_WARNING: Trying to access array offset on null {"code":2,"message":"Trying to access array offset on null","file":"/srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php","line":539} - {"file":"smarty_internal_errorhandler.php","line":112,"function":"handleError","request-id":"65a3d03a79379","stack":"ErrorHandler::handleError (112), Smarty_Internal_ErrorHandler::handleError (539), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (384), Smarty_Internal_Template::_subTemplateRender (1158), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (217), Smarty_Internal_Template::render (386), Smarty_Internal_Template::_subTemplateRender (48), content_65894a0656ce28_18927795 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (217), Smarty_Internal_Template::render (238)","uid":"9ecf0a","process_id":516104}
2024-01-14T12:14:50Z app [WARNING]: E_WARNING: Trying to access array offset on null {"code":2,"message":"Trying to access array offset on null","file":"/srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php","line":554} - {"file":"smarty_internal_errorhandler.php","line":112,"function":"handleError","request-id":"65a3d03a79379","stack":"ErrorHandler::handleError (112), Smarty_Internal_ErrorHandler::handleError (554), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (384), Smarty_Internal_Template::_subTemplateRender (1158), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (217), Smarty_Internal_Template::render (386), Smarty_Internal_Template::_subTemplateRender (48), content_65894a0656ce28_18927795 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (217), Smarty_Internal_Template::render (238)","uid":"9ecf0a","process_id":516104}
2024-01-14T12:14:50Z app [WARNING]: E_WARNING: Trying to access array offset on false {"code":2,"message":"Trying to access array offset on false","file":"/srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php","line":798} - {"file":"smarty_internal_errorhandler.php","line":112,"function":"handleError","request-id":"65a3d03a79379","stack":"ErrorHandler::handleError (112), Smarty_Internal_ErrorHandler::handleError (798), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (384), Smarty_Internal_Template::_subTemplateRender (1158), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (217), Smarty_Internal_Template::render (386), Smarty_Internal_Template::_subTemplateRender (48), content_65894a0656ce28_18927795 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (217), Smarty_Internal_Template::render (238)","uid":"9ecf0a","process_id":516104}
2024-01-14T12:14:50Z app [WARNING]: E_WARNING: Trying to access array offset on false {"code":2,"message":"Trying to access array offset on false","file":"/srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php","line":1103} - {"file":"smarty_internal_errorhandler.php","line":112,"function":"handleError","request-id":"65a3d03a79379","stack":"ErrorHandler::handleError (112), Smarty_Internal_ErrorHandler::handleError (1103), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (384), Smarty_Internal_Template::_subTemplateRender (1158), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (217), Smarty_Internal_Template::render (386), Smarty_Internal_Template::_subTemplateRender (48), content_65894a0656ce28_18927795 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (217), Smarty_Internal_Template::render (238)","uid":"9ecf0a","process_id":516104}
2024-01-14T12:14:50Z app [WARNING]: E_WARNING: Trying to access array offset on null {"code":2,"message":"Trying to access array offset on null","file":"/srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php","line":506} - {"file":"smarty_internal_errorhandler.php","line":112,"function":"handleError","request-id":"65a3d03a79379","stack":"ErrorHandler::handleError (112), Smarty_Internal_ErrorHandler::handleError (506), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (384), Smarty_Internal_Template::_subTemplateRender (1158), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (384), Smarty_Internal_Template::_subTemplateRender (1158), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (217), Smarty_Internal_Template::render (386), Smarty_Internal_Template::_subTemplateRender (48)","uid":"9ecf0a","process_id":516104}
2024-01-14T12:14:50Z app [WARNING]: E_WARNING: Trying to access array offset on null {"code":2,"message":"Trying to access array offset on null","file":"/srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php","line":521} - {"file":"smarty_internal_errorhandler.php","line":112,"function":"handleError","request-id":"65a3d03a79379","stack":"ErrorHandler::handleError (112), Smarty_Internal_ErrorHandler::handleError (521), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (384), Smarty_Internal_Template::_subTemplateRender (1158), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (384), Smarty_Internal_Template::_subTemplateRender (1158), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (217), Smarty_Internal_Template::render (386), Smarty_Internal_Template::_subTemplateRender (48)","uid":"9ecf0a","process_id":516104}
2024-01-14T12:14:50Z app [WARNING]: E_WARNING: Trying to access array offset on null {"code":2,"message":"Trying to access array offset on null","file":"/srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php","line":539} - {"file":"smarty_internal_errorhandler.php","line":112,"function":"handleError","request-id":"65a3d03a79379","stack":"ErrorHandler::handleError (112), Smarty_Internal_ErrorHandler::handleError (539), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (384), Smarty_Internal_Template::_subTemplateRender (1158), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (384), Smarty_Internal_Template::_subTemplateRender (1158), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (217), Smarty_Internal_Template::render (386), Smarty_Internal_Template::_subTemplateRender (48)","uid":"9ecf0a","process_id":516104}
2024-01-14T12:14:50Z app [WARNING]: E_WARNING: Trying to access array offset on null {"code":2,"message":"Trying to access array offset on null","file":"/srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php","line":554} - {"file":"smarty_internal_errorhandler.php","line":112,"function":"handleError","request-id":"65a3d03a79379","stack":"ErrorHandler::handleError (112), Smarty_Internal_ErrorHandler::handleError (554), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (384), Smarty_Internal_Template::_subTemplateRender (1158), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (384), Smarty_Internal_Template::_subTemplateRender (1158), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (217), Smarty_Internal_Template::render (386), Smarty_Internal_Template::_subTemplateRender (48)","uid":"9ecf0a","process_id":516104}
2024-01-14T12:14:50Z app [WARNING]: E_WARNING: Trying to access array offset on false {"code":2,"message":"Trying to access array offset on false","file":"/srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php","line":798} - {"file":"smarty_internal_errorhandler.php","line":112,"function":"handleError","request-id":"65a3d03a79379","stack":"ErrorHandler::handleError (112), Smarty_Internal_ErrorHandler::handleError (798), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (384), Smarty_Internal_Template::_subTemplateRender (1158), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (384), Smarty_Internal_Template::_subTemplateRender (1158), content_65894a1d891d04_34538026 (123), Smarty_Template_Resource_Base::getRenderedTemplateCode (114), Smarty_Template_Compiled::render (217), Smarty_Internal_Template::render (386), Smarty_Internal_Template::_subTemplateRender (48)","uid":"9ecf0a","process_id":516104}


  
httpd error log```
[Sun Jan 14 13:10:37.773690 2024] [php:warn] [pid 511968] [client 54.36.148.124:44223] PHP Warning:  Trying to access array offset on null in /srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php on line 506
[Sun Jan 14 13:10:37.773743 2024] [php:warn] [pid 511968] [client 54.36.148.124:44223] PHP Warning:  Trying to access array offset on null in /srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php on line 521
[Sun Jan 14 13:10:37.773791 2024] [php:warn] [pid 511968] [client 54.36.148.124:44223] PHP Warning:  Trying to access array offset on null in /srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php on line 539
[Sun Jan 14 13:10:37.773874 2024] [php:warn] [pid 511968] [client 54.36.148.124:44223] PHP Warning:  Trying to access array offset on null in /srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php on line 554
[Sun Jan 14 13:10:37.773940 2024] [php:warn] [pid 511968] [client 54.36.148.124:44223] PHP Warning:  Trying to access array offset on false in /srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php on line 798
[Sun Jan 14 13:10:37.773990 2024] [php:warn] [pid 511968] [client 54.36.148.124:44223] PHP Warning:  Trying to access array offset on false in /srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php on line 1103
[Sun Jan 14 13:10:37.774111 2024] [php:warn] [pid 511968] [client 54.36.148.124:44223] PHP Warning:  Trying to access array offset on null in /srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php on line 506
[Sun Jan 14 13:10:37.774182 2024] [php:warn] [pid 511968] [client 54.36.148.124:44223] PHP Warning:  Trying to access array offset on null in /srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php on line 521
[Sun Jan 14 13:10:37.774240 2024] [php:warn] [pid 511968] [client 54.36.148.124:44223] PHP Warning:  Trying to access array offset on null in /srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php on line 539
[Sun Jan 14 13:10:37.774291 2024] [php:warn] [pid 511968] [client 54.36.148.124:44223] PHP Warning:  Trying to access array offset on null in /srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php on line 554
[Sun Jan 14 13:10:37.774364 2024] [php:warn] [pid 511968] [client 54.36.148.124:44223] PHP Warning:  Trying to access array offset on false in /srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php on line 798
[Sun Jan 14 13:10:37.774418 2024] [php:warn] [pid 511968] [client 54.36.148.124:44223] PHP Warning:  Trying to access array offset on false in /srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php on line 1103
[Sun Jan 14 13:10:37.774531 2024] [php:warn] [pid 511968] [client 54.36.148.124:44223] PHP Warning:  Trying to access array offset on null in /srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php on line 506
[Sun Jan 14 13:10:37.774590 2024] [php:warn] [pid 511968] [client 54.36.148.124:44223] PHP Warning:  Trying to access array offset on null in /srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php on line 521
[Sun Jan 14 13:10:37.774642 2024] [php:warn] [pid 511968] [client 54.36.148.124:44223] PHP Warning:  Trying to access array offset on null in /srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php on line 539
[Sun Jan 14 13:10:37.774698 2024] [php:warn] [pid 511968] [client 54.36.148.124:44223] PHP Warning:  Trying to access array offset on null in /srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php on line 554
[Sun Jan 14 13:10:37.774762 2024] [php:warn] [pid 511968] [client 54.36.148.124:44223] PHP Warning:  Trying to access array offset on false in /srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php on line 798
[Sun Jan 14 13:10:37.774816 2024] [php:warn] [pid 511968] [client 54.36.148.124:44223] PHP Warning:  Trying to access array offset on false in /srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php on line 1103
[Sun Jan 14 13:12:50.905457 2024] [php:warn] [pid 521020] [client 212.79.110.127:34280] PHP Warning:  Trying to access array offset on null in /srv/http/schmaker.eu/view/smarty3/compiled/d0/de/3f/d0de3f3fd98d576056fb02f629b93c7eb0442beb_2.file.threaded_conversation.tpl.php on line 46, referer: https://schmaker.eu/network
[Sun Jan 14 13:12:50.910537 2024] [php:warn] [pid 521020] [client 212.79.110.127:34280] PHP Warning:  Trying to access array offset on null in /srv/http/schmaker.eu/view/smarty3/compiled/d0/de/3f/d0de3f3fd98d576056fb02f629b93c7eb0442beb_2.file.threaded_conversation.tpl.php on line 46, referer: https://schmaker.eu/network
[Sun Jan 14 13:12:50.912046 2024] [php:warn] [pid 521020] [client 212.79.110.127:34280] PHP Warning:  Trying to access array offset on null in /srv/http/schmaker.eu/view/smarty3/compiled/d0/de/3f/d0de3f3fd98d576056fb02f629b93c7eb0442beb_2.file.threaded_conversation.tpl.php on line 46, referer: https://schmaker.eu/network
[Sun Jan 14 13:12:50.913249 2024] [php:warn] [pid 521020] [client 212.79.110.127:34280] PHP Warning:  Trying to access array offset on null in /srv/http/schmaker.eu/view/smarty3/compiled/d0/de/3f/d0de3f3fd98d576056fb02f629b93c7eb0442beb_2.file.threaded_conversation.tpl.php on line 46, referer: https://schmaker.eu/network
[Sun Jan 14 13:12:50.913974 2024] [php:warn] [pid 521020] [client 212.79.110.127:34280] PHP Warning:  Trying to access array offset on null in /srv/http/schmaker.eu/view/smarty3/compiled/d0/de/3f/d0de3f3fd98d576056fb02f629b93c7eb0442beb_2.file.threaded_conversation.tpl.php on line 46, referer: https://schmaker.eu/network
[Sun Jan 14 13:12:50.914188 2024] [php:warn] [pid 521020] [client 212.79.110.127:34280] PHP Warning:  Trying to access array offset on null in /srv/http/schmaker.eu/view/smarty3/compiled/d0/de/3f/d0de3f3fd98d576056fb02f629b93c7eb0442beb_2.file.threaded_conversation.tpl.php on line 46, referer: https://schmaker.eu/network
[Sun Jan 14 13:12:50.914399 2024] [php:warn] [pid 521020] [client 212.79.110.127:34280] PHP Warning:  Trying to access array offset on null in /srv/http/schmaker.eu/view/smarty3/compiled/d0/de/3f/d0de3f3fd98d576056fb02f629b93c7eb0442beb_2.file.threaded_conversation.tpl.php on line 46, referer: https://schmaker.eu/network
[Sun Jan 14 13:12:50.915173 2024] [php:warn] [pid 521020] [client 212.79.110.127:34280] PHP Warning:  Trying to access array offset on null in /srv/http/schmaker.eu/view/smarty3/compiled/d0/de/3f/d0de3f3fd98d576056fb02f629b93c7eb0442beb_2.file.threaded_conversation.tpl.php on line 46, referer: https://schmaker.eu/network
[Sun Jan 14 13:12:50.915418 2024] [php:warn] [pid 521020] [client 212.79.110.127:34280] PHP Warning:  Trying to access array offset on null in /srv/http/schmaker.eu/view/smarty3/compiled/d0/de/3f/d0de3f3fd98d576056fb02f629b93c7eb0442beb_2.file.threaded_conversation.tpl.php on line 46, referer: https://schmaker.eu/network
[Sun Jan 14 13:12:50.915886 2024] [php:warn] [pid 521020] [client 212.79.110.127:34280] PHP Warning:  Trying to access array offset on null in /srv/http/schmaker.eu/view/smarty3/compiled/d0/de/3f/d0de3f3fd98d576056fb02f629b93c7eb0442beb_2.file.threaded_conversation.tpl.php on line 46, referer: https://schmaker.eu/network
[Sun Jan 14 13:13:05.621887 2024] [php:warn] [pid 524293] [client 54.36.148.234:24797] PHP Warning:  Trying to access array offset on null in /srv/http/schmaker.eu/view/smarty3/compiled/d0/de/3f/d0de3f3fd98d576056fb02f629b93c7eb0442beb_2.file.threaded_conversation.tpl.php on line 46
[Sun Jan 14 13:13:05.625511 2024] [php:warn] [pid 524293] [client 54.36.148.234:24797] PHP Warning:  Trying to access array offset on null in /srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php on line 506
[Sun Jan 14 13:13:05.625602 2024] [php:warn] [pid 524293] [client 54.36.148.234:24797] PHP Warning:  Trying to access array offset on null in /srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php on line 521
[Sun Jan 14 13:13:05.625659 2024] [php:warn] [pid 524293] [client 54.36.148.234:24797] PHP Warning:  Trying to access array offset on null in /srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php on line 539
[Sun Jan 14 13:13:05.625710 2024] [php:warn] [pid 524293] [client 54.36.148.234:24797] PHP Warning:  Trying to access array offset on null in /srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php on line 554
[Sun Jan 14 13:13:05.625798 2024] [php:warn] [pid 524293] [client 54.36.148.234:24797] PHP Warning:  Trying to access array offset on false in /srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php on line 798
[Sun Jan 14 13:13:05.625882 2024] [php:warn] [pid 524293] [client 54.36.148.234:24797] PHP Warning:  Trying to access array offset on false in /srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php on line 1103
[Sun Jan 14 13:13:05.626226 2024] [php:warn] [pid 524293] [client 54.36.148.234:24797] PHP Warning:  Trying to access array offset on null in /srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php on line 506
[Sun Jan 14 13:13:05.626284 2024] [php:warn] [pid 524293] [client 54.36.148.234:24797] PHP Warning:  Trying to access array offset on null in /srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php on line 521
[Sun Jan 14 13:13:05.626352 2024] [php:warn] [pid 524293] [client 54.36.148.234:24797] PHP Warning:  Trying to access array offset on null in /srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php on line 539
[Sun Jan 14 13:13:05.626403 2024] [php:warn] [pid 524293] [client 54.36.148.234:24797] PHP Warning:  Trying to access array offset on null in /srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php on line 554
[Sun Jan 14 13:13:05.626497 2024] [php:warn] [pid 524293] [client 54.36.148.234:24797] PHP Warning:  Trying to access array offset on false in /srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php on line 798
[Sun Jan 14 13:13:05.626575 2024] [php:warn] [pid 524293] [client 54.36.148.234:24797] PHP Warning:  Trying to access array offset on false in /srv/http/schmaker.eu/view/smarty3/compiled/6b/a2/b2/6ba2b21ba8bb187d1debfb1cf902b2aee0e56569_2.file.wall_thread.tpl.php on line 1103
jbzfn, (edited ) to linux
@jbzfn@mastodon.social avatar

🗜️ Taming the OOM killer
@LWN

「 Under desperately low memory conditions, the out-of-memory (OOM) killer kicks in and picks a process to kill using a set of heuristics which has evolved over time. This may be pretty annoying for users who may have wanted a different process to be killed. The process killed may also be important from the system's perspective 」

https://lwn.net/Articles/317814/

jan, to Matrix
@jan@kcore.org avatar

Interesting. got 'ed. And I wasn't even doing anything with it.

On a 4gb VM...

goncalor, to debian

Had a running acting as a kiosk with some dashboards opening on Chromium. It all started breaking down after a few hours.

After investigating I understood that was filling more and more as time passed.

So today I studied a bit of . My final solution was to configure this for the service that launches chromium:

systemctl set-property <service> MemoryHigh=400M MemoryMax=700M

This ensures that if the processes in the service tree reach beyond 400 MB the starts taking memory away from the processes. If the memory reaches 700 MB the (out-of-memory) killer kicks in and kills the processes from the service.

Ah, and on the Raspberry Pi memory cgroups need to be enabled by adding cgroup_enable=memory in /boot/cmdline.txt .

It would be better for Chromium to just behave, but this works for now.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • GTA5RPClips
  • DreamBathrooms
  • cubers
  • mdbf
  • everett
  • magazineikmin
  • Durango
  • Youngstown
  • rosin
  • slotface
  • modclub
  • kavyap
  • ethstaker
  • provamag3
  • ngwrru68w68
  • thenastyranch
  • cisconetworking
  • khanakhh
  • osvaldo12
  • InstantRegret
  • normalnudes
  • Leos
  • tacticalgear
  • tester
  • megavids
  • anitta
  • lostlight
  • All magazines