How can I fix this?

The next generation of server controlling with clean and powerful user interface

Moderators: oliverde8, reaby, NADEO

User avatar
kripkee
Posts: 920
Joined: 21 Jun 2010, 14:04

How can I fix this?

Post by kripkee »

Code: Select all

PHP Fatal error:  Allowed memory size of 262144 bytes exhausted (tried to allocate 12288 bytes) in /gameserver/maniaplanet/vrba/expansion/vendor/composer/autoload_real.php on line 41
I just want start expansion and then b00m! ^^

Thx for every help^^
reaby
Posts: 956
Joined: 29 Dec 2010, 23:26
Location: Eastern Finland
Contact:

Re: How can I fix this?

Post by reaby »

Can you provide more information :)
oliverde8
Posts: 1286
Joined: 16 Jun 2010, 07:33
Location: in a Blue Box

Re: How can I fix this?

Post by oliverde8 »

Hey, well do you have any custom plugin? This is the green nadeo server right? I have noticed a small leak in memory. This weekend expansion had been running for 17 days straight.
Also your php version please. I will need to run tests to pinpoint the problem. As the leak is very small it is very hard to find. Hope I find it soon
Image
Developper for The next generation, Clean and Powerfull controller eXpansion for your SM & TM server . Working on eXpansion² with full MP4 support and many other awesome features...
User avatar
kripkee
Posts: 920
Joined: 21 Jun 2010, 14:04

Re: How can I fix this?

Post by kripkee »

If I know which information do you need^^

I just want restart a server with expansion, after the restart, I got this error^^

Code: Select all

[2014-12-04T14:45:06+01:00] 
    Occured on 04.12.2014 at 14:45:06 at process with ID #6835
    ---------------------------------
 -> Maniaplanet\DedicatedServer\Xmlrpc\TransportException with code 2
    Connection interrupted while reading header
  - in /gameserver/maniaplanet/vrba/expansion/vendor/maniaplanet/dedicated-server-api/libraries/Maniaplanet/DedicatedServer/Xmlrpc/GbxRemote.php on line 221
  - Stack: #0 /gameserver/maniaplanet/vrba/expansion/vendor/maniaplanet/dedicated-server-api/libraries/Maniaplanet/DedicatedServer/Xmlrpc/GbxRemote.php(193): Maniaplanet\DedicatedServer\Xmlrpc\GbxRemote->readMessage()
           #1 /gameserver/maniaplanet/vrba/expansion/vendor/maniaplanet/dedicated-server-api/libraries/Maniaplanet/DedicatedServer/Xmlrpc/GbxRemote.php(165): Maniaplanet\DedicatedServer\Xmlrpc\GbxRemote->flush()
           #2 /gameserver/maniaplanet/vrba/expansion/vendor/maniaplanet/dedicated-server-api/libraries/Maniaplanet/DedicatedServer/Connection.php(116): Maniaplanet\DedicatedServer\Xmlrpc\GbxRemote->getCallbacks()
           #3 /gameserver/maniaplanet/vrba/expansion/vendor/maniaplanet/manialive-lib/ManiaLive/Application/Application.php(116): Maniaplanet\DedicatedServer\Connection->executeCallbacks()
           #4 /gameserver/maniaplanet/vrba/expansion/bootstrapper.php(73): ManiaLive\Application\Application->run()
           #5 {main}

[2014-12-04T14:45:06+01:00] 
    Occured on 04.12.2014 at 14:45:06 at process with ID #6835
    ---------------------------------
 -> ErrorException with code 8
    fwrite(): send of 138 bytes failed with errno=32 Broken pipe
  - in /gameserver/maniaplanet/vrba/expansion/vendor/maniaplanet/dedicated-server-api/libraries/Maniaplanet/DedicatedServer/Xmlrpc/GbxRemote.php on line 283
  - Stack: #0 /gameserver/maniaplanet/vrba/expansion/libraries/ManiaLivePlugins/eXpansion/Core/types/ErrorHandler.php(15): ManiaLive\Application\ErrorHandling::createExceptionFromError(8, 'fwrite(): send ...', '/gameserver/man...', 283)
           #1 [internal function]: ManiaLivePlugins\eXpansion\Core\types\ErrorHandler::createExceptionFromError(8, 'fwrite(): send ...', '/gameserver/man...', 283, Array)
           #2 /gameserver/maniaplanet/vrba/expansion/vendor/maniaplanet/dedicated-server-api/libraries/Maniaplanet/DedicatedServer/Xmlrpc/GbxRemote.php(283): fwrite(Resource id #42, '????S???<?xml v...')
           #3 /gameserver/maniaplanet/vrba/expansion/vendor/maniaplanet/dedicated-server-api/libraries/Maniaplanet/DedicatedServer/Xmlrpc/GbxRemote.php(247): Maniaplanet\DedicatedServer\Xmlrpc\GbxRemote->write('????S???<?xml v...')
           #4 /gameserver/maniaplanet/vrba/expansion/vendor/maniaplanet/dedicated-server-api/libraries/Maniaplanet/DedicatedServer/Xmlrpc/GbxRemote.php(124): Maniaplanet\DedicatedServer\Xmlrpc\GbxRemote->writeMessage('<?xml version="...')
           #5 /gameserver/maniaplanet/vrba/expansion/vendor/maniaplanet/dedicated-server-api/libraries/Maniaplanet/DedicatedServer/Connection.php(140): Maniaplanet\DedicatedServer\Xmlrpc\GbxRemote->query('SendHideManiali...', Array)
           #6 /gameserver/maniaplanet/vrba/expansion/vendor/maniaplanet/dedicated-server-api/libraries/Maniaplanet/DedicatedServer/Connection.php(670): Maniaplanet\DedicatedServer\Connection->execute('SendHideManiali...', Array, false)
           #7 /gameserver/maniaplanet/vrba/expansion/vendor/maniaplanet/manialive-lib/ManiaLive/Gui/GuiHandler.php(477): Maniaplanet\DedicatedServer\Connection->sendHideManialinkPage()
           #8 /gameserver/maniaplanet/vrba/expansion/vendor/maniaplanet/manialive-lib/ManiaLive/Application/Event.php(32): ManiaLive\Gui\GuiHandler->onTerminate()
           #9 /gameserver/maniaplanet/vrba/expansion/vendor/maniaplanet/manialive-lib/ManiaLive/Event/Dispatcher.php(121): ManiaLive\Application\Event->fireDo(Object(ManiaLive\Gui\GuiHandler))
           #10 /gameserver/maniaplanet/vrba/expansion/vendor/maniaplanet/manialive-lib/ManiaLive/Application/Application.php(143): ManiaLive\Event\Dispatcher::dispatch(Object(ManiaLive\Application\Event))
           #11 /gameserver/maniaplanet/vrba/expansion/bootstrapper.php(73): ManiaLive\Application\Application->run()
           #12 {main}

[2014-12-04T14:45:06+01:00] 
    Occured on 04.12.2014 at 14:45:06 at process with ID #6835
    ---------------------------------
 -> ManiaLive\PluginHandler\Exception with code 0
    Plugin "\ManiaLivePlugins\eXpansion\Core\Core" cannot be unloaded. It is required by other plugins.
  - in /gameserver/maniaplanet/vrba/expansion/vendor/maniaplanet/manialive-lib/ManiaLive/PluginHandler/PluginHandler.php on line 99
  - Stack: #0 /gameserver/maniaplanet/vrba/expansion/vendor/maniaplanet/manialive-lib/ManiaLive/PluginHandler/PluginHandler.php(245): ManiaLive\PluginHandler\PluginHandler->unload('\ManiaLivePlugi...')
           #1 /gameserver/maniaplanet/vrba/expansion/vendor/maniaplanet/manialive-lib/ManiaLive/Application/Event.php(32): ManiaLive\PluginHandler\PluginHandler->onTerminate()
           #2 /gameserver/maniaplanet/vrba/expansion/vendor/maniaplanet/manialive-lib/ManiaLive/Event/Dispatcher.php(121): ManiaLive\Application\Event->fireDo(Object(ManiaLive\PluginHandler\PluginHandler))
           #3 /gameserver/maniaplanet/vrba/expansion/vendor/maniaplanet/manialive-lib/ManiaLive/Application/Application.php(143): ManiaLive\Event\Dispatcher::dispatch(Object(ManiaLive\Application\Event))
           #4 /gameserver/maniaplanet/vrba/expansion/bootstrapper.php(73): ManiaLive\Application\Application->run()
           #5 {main}

[2014-12-04T14:45:06+01:00] 
    Occured on 04.12.2014 at 14:45:06 at process with ID #6835
    ---------------------------------
 -> ErrorException with code 8
    fwrite(): send of 243 bytes failed with errno=32 Broken pipe
  - in /gameserver/maniaplanet/vrba/expansion/vendor/maniaplanet/dedicated-server-api/libraries/Maniaplanet/DedicatedServer/Xmlrpc/GbxRemote.php on line 283
  - Stack: #0 /gameserver/maniaplanet/vrba/expansion/libraries/ManiaLivePlugins/eXpansion/Core/types/ErrorHandler.php(15): ManiaLive\Application\ErrorHandling::createExceptionFromError(8, 'fwrite(): send ...', '/gameserver/man...', 283)
           #1 [internal function]: ManiaLivePlugins\eXpansion\Core\types\ErrorHandler::createExceptionFromError(8, 'fwrite(): send ...', '/gameserver/man...', 283, Array)
           #2 /gameserver/maniaplanet/vrba/expansion/vendor/maniaplanet/dedicated-server-api/libraries/Maniaplanet/DedicatedServer/Xmlrpc/GbxRemote.php(283): fwrite(Resource id #42, '????T???<?xml v...')
           #3 /gameserver/maniaplanet/vrba/expansion/vendor/maniaplanet/dedicated-server-api/libraries/Maniaplanet/DedicatedServer/Xmlrpc/GbxRemote.php(247): Maniaplanet\DedicatedServer\Xmlrpc\GbxRemote->write('????T???<?xml v...')
           #4 /gameserver/maniaplanet/vrba/expansion/vendor/maniaplanet/dedicated-server-api/libraries/Maniaplanet/DedicatedServer/Xmlrpc/GbxRemote.php(124): Maniaplanet\DedicatedServer\Xmlrpc\GbxRemote->writeMessage('<?xml version="...')
           #5 /gameserver/maniaplanet/vrba/expansion/vendor/maniaplanet/dedicated-server-api/libraries/Maniaplanet/DedicatedServer/Connection.php(140): Maniaplanet\DedicatedServer\Xmlrpc\GbxRemote->query('ChatSendServerM...', Array)
           #6 /gameserver/maniaplanet/vrba/expansion/vendor/maniaplanet/dedicated-server-api/libraries/Maniaplanet/DedicatedServer/Connection.php(517): Maniaplanet\DedicatedServer\Connection->execute('ChatSendServerM...', Array, false)
           #7 /gameserver/maniaplanet/vrba/expansion/vendor/maniaplanet/dedicated-server-api/libraries/Maniaplanet/DedicatedServer/Connection.php(479): Maniaplanet\DedicatedServer\Connection->chatSend('[Notice] eXpans...', NULL, true, false)
           #8 /gameserver/maniaplanet/vrba/expansion/libraries/ManiaLivePlugins/eXpansion/Core/Core.php(271): Maniaplanet\DedicatedServer\Connection->chatSendServerMessage('[Notice] eXpans...')
           #9 /gameserver/maniaplanet/vrba/expansion/vendor/maniaplanet/manialive-lib/ManiaLive/Application/Event.php(32): ManiaLivePlugins\eXpansion\Core\Core->onTerminate()
           #10 /gameserver/maniaplanet/vrba/expansion/vendor/maniaplanet/manialive-lib/ManiaLive/Event/Dispatcher.php(121): ManiaLive\Application\Event->fireDo(Object(ManiaLivePlugins\eXpansion\Core\Core))
           #11 /gameserver/maniaplanet/vrba/expansion/vendor/maniaplanet/manialive-lib/ManiaLive/Application/Application.php(143): ManiaLive\Event\Dispatcher::dispatch(Object(ManiaLive\Application\Event))
           #12 /gameserver/maniaplanet/vrba/expansion/bootstrapper.php(73): ManiaLive\Application\Application->run()
           #13 {main}
oliverde8
Posts: 1286
Joined: 16 Jun 2010, 07:33
Location: in a Blue Box

Re: How can I fix this?

Post by oliverde8 »

Php version and list of plugins you run.
The error is a problem connecting to the dedicated. Not sure why through it lost connection
Image
Developper for The next generation, Clean and Powerfull controller eXpansion for your SM & TM server . Working on eXpansion² with full MP4 support and many other awesome features...
User avatar
kripkee
Posts: 920
Joined: 21 Jun 2010, 14:04

Re: How can I fix this?

Post by kripkee »

The BigG fixed my issue, I had in the php.ini the memory limit on 512 instead of 512M ^^
Thx all for your help :oops: :)
oliverde8
Posts: 1286
Joined: 16 Jun 2010, 07:33
Location: in a Blue Box

Re: How can I fix this?

Post by oliverde8 »

It still should,t happen it will only delay it.

BigG's issue was different different, his server has a user peak once a week, yours has constantly players on it. I would just need the list of plugins you use. I will try and do a memory bechmarking this weekend and hope to find the plugin that leaks.
Image
Developper for The next generation, Clean and Powerfull controller eXpansion for your SM & TM server . Working on eXpansion² with full MP4 support and many other awesome features...
TheBigG.
Posts: 401
Joined: 11 Jun 2011, 16:11

Re: How can I fix this?

Post by TheBigG. »

may take a look at the mx karma plugin ;)
reaby did gave me the tipp that it uses huge amounts of ram
Client:
OS: Win10/Debian CPU: Intel 9900k GPU: NVIDIA 1080TI Display: 3x Acer Predator XB271HUbmiprz 1440p@165 Hz

Server:
OS: Debian Stable @ Backports Kernel CPU: Intel 6700k RAM: 32 GB Storage: 2x 256 GB NVMe SSD@Raid 1
User avatar
kripkee
Posts: 920
Joined: 21 Jun 2010, 14:04

Re: How can I fix this?

Post by kripkee »

this happens not on my nadeo server, this was an other server^^
oliverde8
Posts: 1286
Joined: 16 Jun 2010, 07:33
Location: in a Blue Box

Re: How can I fix this?

Post by oliverde8 »

hey, ok. there might not be any leaks. But well even if there is one it is very small, a eXpansion instance should run easily 2 weeks even on very busy servers with 256mb limit.

I will check and see if the MXKarma plugin has that much memory impact, from what I see I doubt it could be causing an issue, but I will check.
Image
Developper for The next generation, Clean and Powerfull controller eXpansion for your SM & TM server . Working on eXpansion² with full MP4 support and many other awesome features...
Post Reply

Return to “eXpansion”

Who is online

Users browsing this forum: No registered users and 1 guest