Page 1 of 1

Problem with data. Pls help!

Posted: Sun Jun 18, 2006 11:37 am
by Syco
Hi all :)
I need some help :P
Sorry for bad english :P

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.

Posted: Sun Jun 18, 2006 10:49 pm
by Shinigami
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

Posted: Mon Jun 19, 2006 1:02 am
by Syco
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 :)

Posted: Mon Jun 19, 2006 6:50 am
by Syco
Pls! I really need help T_T

Posted: Mon Jun 19, 2006 11:10 am
by Shinigami
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: Select all

#
# UseWinLFH: Use Windows XP/2003 low-fragmentation Heap.
#            0|1 (default = 1)
#
UseWinLFH 1
in your servspecopt.cfg? if not, try it

Shinigami

Posted: Mon Jun 19, 2006 12:10 pm
by Syco
With UseWinLFH=1 same error :(

Posted: Mon Jun 19, 2006 12:14 pm
by Shinigami
maybe I can build a special release showing what's going wrong in your case

Shinigami

Posted: Mon Jun 19, 2006 12:31 pm
by Syco
Tnx :)

Posted: Tue Jun 27, 2006 6:25 am
by hedo
Shinigami wrote:maybe I can build a special release showing what's going wrong in your case

Shinigami
Hi Shinigami :)

Is it possibile to try this special release? :)
I've just got the same error :(

Posted: Tue Jun 27, 2006 8:01 am
by Pierce
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.

Old Core Area


Another thing you can do if i see that:
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:

Posted: Sat Jul 01, 2006 1:28 am
by Syco
We have fix it :)
Tnx :)

Posted: Tue Jul 18, 2006 3:27 pm
by jareth
Hi syco,
i have your same problem, could u help me to fix it?

tnx