PenUltima Online

It is currently Fri Sep 05, 2008 12:30 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: Problem with data. Pls help!
PostPosted: Sun Jun 18, 2006 11:37 am 
Offline

Joined: Sun Jun 18, 2006 11:30 am
Posts: 8
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.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 18, 2006 10:49 pm 
Offline
POL Core Developer

Joined: Mon Jan 30, 2006 9:28 am
Posts: 292
Location: Germany, Bavaria
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


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 19, 2006 1:02 am 
Offline

Joined: Sun Jun 18, 2006 11:30 am
Posts: 8
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 :)


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 19, 2006 6:50 am 
Offline

Joined: Sun Jun 18, 2006 11:30 am
Posts: 8
Pls! I really need help T_T


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 19, 2006 11:10 am 
Offline
POL Core Developer

Joined: Mon Jan 30, 2006 9:28 am
Posts: 292
Location: Germany, Bavaria
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


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 19, 2006 12:10 pm 
Offline

Joined: Sun Jun 18, 2006 11:30 am
Posts: 8
With UseWinLFH=1 same error :(


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 19, 2006 12:14 pm 
Offline
POL Core Developer

Joined: Mon Jan 30, 2006 9:28 am
Posts: 292
Location: Germany, Bavaria
maybe I can build a special release showing what's going wrong in your case

Shinigami


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 19, 2006 12:31 pm 
Offline

Joined: Sun Jun 18, 2006 11:30 am
Posts: 8
Tnx :)


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 27, 2006 6:25 am 
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 :(


Top
  
 
 Post subject:
PostPosted: Tue Jun 27, 2006 8:01 am 
Offline

Joined: Thu Feb 02, 2006 8:33 am
Posts: 276
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:
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:


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 01, 2006 1:28 am 
Offline

Joined: Sun Jun 18, 2006 11:30 am
Posts: 8
We have fix it :)
Tnx :)


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 18, 2006 3:27 pm 
Offline

Joined: Tue Jul 18, 2006 3:26 pm
Posts: 7
Hi syco,
i have your same problem, could u help me to fix it?

tnx


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subice by phpBBservice.nl