PHP Fatal error

Discuss everything about Xymph's Aseco flavoured server control scripts for TM Forever / classic TMN and for TM² Canyon.

Moderators: Xymph, TM-Patrol

Post Reply
Schnake
highway camper
highway camper
Posts: 3
Joined: 15 Jul 2007 09:20
Owned TM-games: TMU TM2
Contact:

PHP Fatal error

Post by Schnake » 21 May 2013 17:23

I have a problem with my XAseco1.3 Server, if more than 20 players online
Aseco crash with:

Code: Select all

PHP Fatal error:  Allowed memory size of 33554432 bytes exhausted (tried to allocate 262145 bytes) in /var/www/vhosts/titan.server4you.de/httpdocs/ofutclan/xaseco2/includes/gbxdatafetcher.inc.php on line 117

What is that? Is the php memory too small?

here my aseco.log

Code: Select all

# initialize XASECO2 ###########################################################
[XAseco2] PHP Version is 5.3.3-7+squeeze15 on Linux
[XAseco2] Load settings [config.xml]
[XAseco2] Load default window style [styles/Card.xml]
[XAseco2] Load default panel background [panels/PanelBGCard.xml]
[XAseco2] Load admin/ops lists [adminops.xml]
[XAseco2] Load banned IPs list [bannedips.xml]
[XAseco2] Load plugins list [plugins.xml]
[XAseco2] Load plugin [plugin.localdatabase.php]
[XAseco2] Load plugin [plugin.rounds.php]
[XAseco2] Load plugin [chat.admin.php]
[XAseco2] Load plugin [chat.help.php]
[XAseco2] Load plugin [chat.records.php]
[XAseco2] Load plugin [chat.records2.php]
[XAseco2] Load plugin [chat.recrels.php]
[XAseco2] Load plugin [chat.dedimania.php]
[XAseco2] Load plugin [chat.players.php]
[XAseco2] Load plugin [chat.players2.php]
[XAseco2] Load plugin [chat.wins.php]
[XAseco2] Load plugin [chat.laston.php]
[XAseco2] Load plugin [chat.lastwin.php]
[XAseco2] Load plugin [chat.stats.php]
[XAseco2] Load plugin [chat.server.php]
[XAseco2] Load plugin [chat.me.php]
[XAseco2] Load plugin [plugin.mxinfo.php]
[XAseco2] Load plugin [plugin.map.php]
[XAseco2] Load plugin [plugin.checkpoints.php]
[XAseco2] Load plugin [plugin.dedimania.php]
[XAseco2] Load plugin [plugin.rasp.php]
[XAseco2] Load plugin [plugin.rasp_jukebox.php]
[XAseco2] Load plugin [plugin.rasp_chat.php]
[XAseco2] Load plugin [plugin.rasp_nextmap.php]
[XAseco2] Load plugin [plugin.rasp_nextrank.php]
[XAseco2] Load plugin [plugin.rasp_votes.php]
[XAseco2] Load plugin [plugin.chatlog.php]
[XAseco2] Load plugin [plugin.style.php]
[XAseco2] Load plugin [plugin.panels.php]
[XAseco2] Load plugin [plugin.donate.php]
[XAseco2] Load plugin [plugin.uptodate.php]
[XAseco2] Load plugin [plugin.rpoints.php]
[XAseco2] Load plugin [plugin.autotime.php]
[XAseco2] Load plugin [plugin.personal_best_medals.php]
[XAseco2] Load plugin [jfreu.plugin.php]
[XAseco2] Load plugin [plugin.records_eyepiece.php]
[XAseco2] Load plugin [plugin.fufi.menu.php]
[05/21,16:44:29] Try to connect to MP dedicated server on 127.0.0.1:5000 timeout 180s
[05/21,16:44:29] Try to authenticate with login 'XXXX'
[05/21,16:44:29] Connection established successfully !
[05/21,16:44:29] [LocalDB] Load config file [localdatabase.xml]
[05/21,16:44:29] [LocalDB] Try to connect to MySQL server on 'localhost' with database 'XXXXl'
[05/21,16:44:29] [LocalDB] MySQL Server Version is 5.1.66-0+squeeze1
[05/21,16:44:29] [LocalDB] Checking database structure...
[05/21,16:44:29] [LocalDB] ...Structure OK!
[05/21,16:44:29] [RASP] Loading config file [rasp.xml]
[05/21,16:44:29] [RASP] Checking database structure...
[05/21,16:44:29] [RASP] ...Structure OK!
[05/21,16:44:29] [RASP] Cleaning up unused data
[05/21,16:44:29] Load default admin panel [panels/AdminRightCorner.xml]
[05/21,16:44:29] Load default donate panel [panels/DonateBelowCPList.xml]
[05/21,16:44:29] Load default records panel [panels/RecordsRightCorner.xml]
[05/21,16:44:29] Load default vote panel [panels/VoteBottomCenter.xml]
[05/21,16:44:30] ************* (Dedimania) *************
[05/21,16:44:30] * Dataserver connection on Dedimania ...
[05/21,16:44:30] * Try connection on http://dedimania.net:8082/Dedimania ...
[05/21,16:44:30] Webaccess (dedimania.net:8082/Dedimania.8099): send: deflate, receive: deflate
[05/21,16:44:30] * Connection and status ok! (Dedimania.8099)
[05/21,16:44:30] ------------- (Dedimania) -------------
[05/21,16:44:30] Load stats panel [panels/Stats2.xml]
[05/21,16:44:30] Load auto timelimit config [autotime.xml]
[05/21,16:44:31] **********[plugin.records_eyepiece.php/1.0.9.9-MP]**********
[05/21,16:44:31] >> Checking Database for required extensions...
[05/21,16:44:31]    + Found column `Timezone` at table `players_extra`.
[05/21,16:44:31]    + Found column `DisplayWidgets` at table `players_extra`.
[05/21,16:44:31]    + Found column `MostFinished` at table `players_extra`.
[05/21,16:44:31]    + Found column `MostRecords` at table `players_extra`.
[05/21,16:44:31]    + Found column `RoundPoints` at table `players_extra`.
[05/21,16:44:31]    + Found column `TeamPoints` at table `players_extra`.
[05/21,16:44:31]    + Found column `Visits` at table `players_extra`.
[05/21,16:44:31]    + Found column `WinningPayout` at table `players_extra`.
[05/21,16:44:31]    + Found index `Continent` at table `players`.
[05/21,16:44:31]    + Found index `Nation` at table `players`.
[05/21,16:44:31]    + Found index `Wins` at table `players`.
[05/21,16:44:31]    + Found index `UpdatedAt` at table `players`.
[05/21,16:44:31]    + Found index `Score` at table `records`.
[05/21,16:44:31]    + Found index `Score` at table `rs_karma`.
[05/21,16:44:31]    + Found index `Score` at table `rs_times`.
[05/21,16:44:31] >> Updating `MostFinished` counts for all Players...
[05/21,16:44:31] >> Updating `MostRecords` counts for all Players...
[05/21,16:44:31] >> Finished.
[05/21,16:44:31] ***********************************************************
[05/21,16:44:33] << player 100 joined the game [vallet : vallet : France : 8032 : 80.9.109.50]
[05/21,16:44:33] << player 102 joined the game [tk-nator : $f00TK $000nato$fffR : Germany : 12167 : 37.24.150.113]
[05/21,16:44:34] << player 79 joined the game [leroma : $0D7刀$803乃$895イ$C6Du  $B4BL$B88є$AACг$835๏$79B$E48๓ค : Germany : 33022 : 188.99.197.185]
[05/21,16:44:34] << player 60 joined the game [xaimless : $FE0[$FD0ภ$FC0๒$FB0t$FA0ย$F90]$F80א$F70คเ$F50๓$F30lєรร : Germany : 26700 : 91.10.3.202]
[05/21,16:44:35] << player 47 joined the game [sirblacky : $000S$400i$800r$B00 $F00B$F00l$F41a$F82c$FB2k$FF3y : Germany : 10872 : 89.246.22.244]
[05/21,16:44:35] << player 160 joined the game [corenya : Corenya : France : 21192 : 88.173.42.49]
[05/21,16:44:36] << player 50 joined the game [arturro.pl : arturro.pl : Poland : 21580 : 93.176.211.43]
[05/21,16:44:36] << player 77 joined the game [ishmak : ishmak : Australia : 188 : 202.172.117.48]
[05/21,16:44:37] << player 49 joined the game [fargonz : $o$i$w$ff0ד๓ғ$0dd〢fargonz : Australia : 31 : 182.239.139.19]
[05/21,16:44:37] << player 30 joined the game [elbruiser : elbruiser : Australia : 131 : 121.44.177.25]
[05/21,16:44:37] << player 76 joined the game [killa_cam : killa_cam : Australia : 234 : 14.200.32.40]
###############################################################################
  XASECO2 v1.03 running on 127.0.0.1:5000
  Name   : |OFuT| Rookie Maps - ofuttm2
  Game   : ManiaPlanet - Stadium - TimeAttack
  Version: 3.3.0 / 2013-05-16-12_00
  Author : Xymph
###############################################################################

Xymph
Pit Crew
Pit Crew
Posts: 5719
Joined: 19 Aug 2007 12:58
Owned TM-games: TMN, TMU, TMF, TM²
Contact:

Re: PHP Fatal error

Post by Xymph » 21 May 2013 19:14

Schnake wrote:I have a problem with my XAseco1.03 Server, if more than 20 players online
Aseco crash with:

Code: Select all

PHP Fatal error:  Allowed memory size of 33554432 bytes exhausted (tried to allocate 262145 bytes) in /var/www/vhosts/titan.server4you.de/httpdocs/ofutclan/xaseco2/includes/gbxdatafetcher.inc.php on line 117
What is that? Is the php memory too small?
The limit should be 128 MB, not 32. Maybe your PHP set-up doesn't allow changing it, but either way this isn't an X2 problem.
Developer of XASECO for TMF/TMN ESWC & XASECO2 for TM²: see XAseco.org
Find your way around the Mania community from the TMN ESWC hub, TMF hub, TM² hub, and SM hub

Schnake
highway camper
highway camper
Posts: 3
Joined: 15 Jul 2007 09:20
Owned TM-games: TMU TM2
Contact:

Re: PHP Fatal error

Post by Schnake » 21 May 2013 19:51

Xymph wrote:
Schnake wrote:I have a problem with my XAseco1.03 Server, if more than 20 players online
Aseco crash with:

Code: Select all

PHP Fatal error:  Allowed memory size of 33554432 bytes exhausted (tried to allocate 262145 bytes) in /var/www/vhosts/titan.server4you.de/httpdocs/ofutclan/xaseco2/includes/gbxdatafetcher.inc.php on line 117
What is that? Is the php memory too small?
The limit should be 128 MB, not 32. Maybe your PHP set-up doesn't allow changing it, but either way this isn't an X2 problem.
my current memory_limit is 128M, not 32 here my php infoscript

nouseforname
swift roadking
swift roadking
Posts: 840
Joined: 20 Apr 2008 08:58
Owned TM-games: TMUF,TMNF, TMN
Manialink(s): therookies
Location: Germany
Contact:

Re: PHP Fatal error

Post by nouseforname » 21 May 2013 20:00

Schnake wrote: my current memory_limit is 128M, not 32 here my php infoscript
Check if you have different php.ini files for cli. the error message tells the limit is 32mb. The info might be for apache module.
Owner of the Rookie servers and some more. :)
Rookies HP
My Project
Rookies Manialinkcolor>

User avatar
undef.de
Pit Crew
Pit Crew
Posts: 1356
Joined: 31 Aug 2009 18:38
Owned TM-games: TMF, TM2C/S/V, SM
Manialink(s): undef, tmkarma
Location: Germany
Contact:

Re: PHP Fatal error

Post by undef.de » 21 May 2013 20:01

Schnake wrote: my current memory_limit is 128M, not 32 here my php infoscript
Maybe different configs for webserver and php-cli? Try the first entry at: http://www.undef.name/Misc/Knowledge-Base.php
Developer of various plugins for XAseco/XAseco2 and MPAseco,
like Records-Eyepiece, TM-Karma, Alternate Scoretable...
Visit my Lab: www.undef.name

Get it now:
» TM2 Valley
» TM2 Canyon
» TM2 Stadium
» SM Storm

Schnake
highway camper
highway camper
Posts: 3
Joined: 15 Jul 2007 09:20
Owned TM-games: TMU TM2
Contact:

Re: PHP Fatal error

Post by Schnake » 23 May 2013 15:44

Have installed a different version of Apache, now Aseco runs without any problems.
Thank you for your help :thumbsup: :lovetm

Post Reply