PenUltima Online Forum Index Official Core: 096.7
Official Core: 097 2008-02-26
Donate towards the POL web hosting bill!
 POL Home   FAQ   Search    Memberlist   Usergroups    Register    Profile   Log in to check your private messages   Log in
Problem with data. Pls help!

 
Post new topic   Reply to topic    PenUltima Online Forum Index -> General Help 096
Display posts from previous:   

Author Message
Syco



Joined: 18 Jun 2006
Posts: 8

PostPosted: Sun Jun 18, 2006 3:37 pm    Post subject: Problem with data. Pls help! Reply with quote

Hi all Smile
I need some help Razz
Sorry for bad english Razz

I have tried to load some data but...

POL096-2006-06-09 Vestal Virgin (VS.NET 2003) compiled on Jun 9 2006 12:09:58
Copyright (C) 1993-2006 Eric N. Swanson

blablabla..

Reading data files:
data/accounts.txt:....... 7421 elements in 1109 ms.
data/pol.txt: 2 elements in 16 ms.
data/objects.txt: 0 elements in 0 ms.
data/pcs.txt:............................. 29827 elements in 18437 ms.
data/pcequip.txt:................................................................................................................................................................................................................................................................................................................................................................................................... 386234 elements in 42828 ms.
data/npcs.txt:................................ 32874 elements in 11547 ms.
data/npcequip.txt:...................................................... 53961 elements in 24391 ms.
data/items.txt:......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... 1048266 elements in 223407 ms.
data/permitems.txt: 0 elements in 0 ms.
data/multis.txt: 581 elements in 984 ms.
data/storage.txt:.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................Error reading configuration file data/storage.txt:
bad allocation
Near line: 13186646
Element started on line: 13186631
Server Shutdown: reading data

I have tried with 4 differents save but same error.

Author Message
Shinigami
POL Core Developer


Joined: 30 Jan 2006
Posts: 292
Location: Germany, Bavaria

PostPosted: Mon Jun 19, 2006 2:49 am    Post subject: Reply with quote

what about your hardware specifications? do u have enough memory? is your swap-file large enough (enough HDD space available)? what's the size of your data files?

Shinigami

Author Message
Syco



Joined: 18 Jun 2006
Posts: 8

PostPosted: Mon Jun 19, 2006 5:02 am    Post subject: Reply with quote

3800 cpu
2GB ram real.2,5 with swap.
HDD with os 1GB free.
HDD with POL 80GB free.

Datasize 650 MB

EDIT:
pc farm:

2,4 dual opteron
2,5GB ram
HDD 300GB

Tnx Smile

Author Message
Syco



Joined: 18 Jun 2006
Posts: 8

PostPosted: Mon Jun 19, 2006 10:50 am    Post subject: Reply with quote

Pls! I really need help T_T

Author Message
Shinigami
POL Core Developer


Joined: 30 Jan 2006
Posts: 292
Location: Germany, Bavaria

PostPosted: Mon Jun 19, 2006 3:10 pm    Post subject: Reply with quote

650mb datasize... strange... I think there is a lot inside u never need

anyway "bad allocation" says something about it was impossible to allocate more memory for core by operating system... that's the problem here

because of your huge files... did u've set

Code:
#
# UseWinLFH: Use Windows XP/2003 low-fragmentation Heap.
#            0|1 (default = 1)
#
UseWinLFH 1

in your servspecopt.cfg? if not, try it

Shinigami

Author Message
Syco



Joined: 18 Jun 2006
Posts: 8

PostPosted: Mon Jun 19, 2006 4:10 pm    Post subject: Reply with quote

With UseWinLFH=1 same error Sad

Author Message
Shinigami
POL Core Developer


Joined: 30 Jan 2006
Posts: 292
Location: Germany, Bavaria

PostPosted: Mon Jun 19, 2006 4:14 pm    Post subject: Reply with quote

maybe I can build a special release showing what's going wrong in your case

Shinigami

Author Message
Syco



Joined: 18 Jun 2006
Posts: 8

PostPosted: Mon Jun 19, 2006 4:31 pm    Post subject: Reply with quote

Tnx Smile

Author Message
hedo



Joined: 26 Jun 2006
Posts: 1

PostPosted: Tue Jun 27, 2006 10:25 am    Post subject: Reply with quote

Shinigami wrote:
maybe I can build a special release showing what's going wrong in your case

Shinigami

Hi Shinigami Smile

Is it possibile to try this special release? Smile
I've just got the same error Sad

Author Message
Pierce



Joined: 02 Feb 2006
Posts: 259

PostPosted: Tue Jun 27, 2006 12:01 pm    Post subject: Reply with quote

Did you've access to the old pol core test groups on yahoo?
There is a pearl script to clean up the storage.txt file from things that are no more needed.
In most cases these are bankboxes of non existent players or from tamed animals. If they were not deleted by script on npc death or player deletion, the storage will grow larger and larger.
This tool will search for such items.




Another thing you can do if i see that:
Quote:
data/items.txt:......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... 1048266 elements in 223407 ms.

If these are not items your players have in their homes - don't know how many players you have - their must be a lot items you can make static. This could also save you a lot of wasted memory Wink

Author Message
Syco



Joined: 18 Jun 2006
Posts: 8

PostPosted: Sat Jul 01, 2006 5:28 am    Post subject: Reply with quote

We have fix it Smile
Tnx Smile

Author Message
jareth



Joined: 18 Jul 2006
Posts: 7

PostPosted: Tue Jul 18, 2006 7:27 pm    Post subject: Reply with quote

Hi syco,
i have your same problem, could u help me to fix it?

tnx

Post new topic   Reply to topic    PenUltima Online Forum Index -> General Help 096 All times are GMT - 4 Hours
Page 1 of 1

 




Powered by phpBB © 2001, 2005 phpBB Group :: Theme & Graphics by GHS & Scott E. Royalty