Re: Gamedbd Process Issue
oO never had any problems with gamedbd.
does it crash if theres only 1 person online?
Re: Gamedbd Process Issue
Im sure you probably know this already because you run a large server... but gamedbd is a finicky little bastard of a process, it likes to crash for seemingly no reason, Id double check all the IP addr's in the configs and start it manually and watch what it does.
Re: Gamedbd Process Issue
yea ive been running some tests and its related to a java issue, I run some scripts which look up the character info for the people which it uses the gamedbd to read and some people have been deliberately doing it over and over spamming till the process falls, i located the errors actually in java.
Re: Gamedbd Process Issue
you were exporting from gamedbd every time? oO
export all data to mysql everyday, job done.
oh btw remember that list.jsp i gave you and i said i do it manually so it doesnt brake the chineese names and you managed to put a export to mysql into it,
yea i found out i can just use wget for that /facepalm
Re: Gamedbd Process Issue
Quote:
Originally Posted by
rbb138
you were exporting from gamedbd every time? oO
export all data to mysql everyday, job done.
pwAdmin reads from gamedbd everytime, I don't see why that would be that big of an issue, unless it really truly is that amazingly unstable :lol:
Re: Gamedbd Process Issue
but normal users don't have access to pwAdmin. I would imagine if normal users had access to something that called on it, and enough people were using it, or one person with ill intent, it could cause it to crash, I could see that :)
Re: Gamedbd Process Issue
Quote:
Originally Posted by
343
but normal users don't have access to pwAdmin. I would imagine if normal users had access to something that called on it, and enough people were using it, or one person with ill intent, it could cause it to crash, I could see that :)
But the game also calls to it all the time as well, idk... maybe its just the protocol java class that has bugs in it that make the damn thing crash, would be wonderful if gamedbd was just a unix socket to mysql :drool:
Re: Gamedbd Process Issue
The code isnt unstable its being deliberately spammed over and over ive put an IP track on now to see whos doing what and see if its just outsiders doing it.
Re: Gamedbd Process Issue
Quote:
Originally Posted by
das7002
pwAdmin reads from gamedbd everytime, I don't see why that would be that big of an issue, unless it really truly is that amazingly unstable :lol:
no, but imagine a public page that draws info from gamedbd?
now imagine that page refreshed 20 times a second?
hence the exploit.
Re: Gamedbd Process Issue
im almost finished something:
- User goes to the page which shows the char info.
- If information is incorrect and needs updating user can click update.
- Information updates and is put into sql db.
- The Information is displayed as sql instead of rolebean information which means less stress on gamedbd process.
Limits is the user can only press the link once a day and when pressing the link information is logged such as the account name and the IP etc so I can find people doing this issue deliberately.
Re: Gamedbd Process Issue
Re: Gamedbd Process Issue
Quote:
Originally Posted by
nofxpunkerbrian
im almost finished something:
- User goes to the page which shows the char info.
- If information is incorrect and needs updating user can click update.
- Information updates and is put into sql db.
- The Information is displayed as sql instead of rolebean information which means less stress on gamedbd process.
Limits is the user can only press the link once a day and when pressing the link information is logged such as the account name and the IP etc so I can find people doing this issue deliberately.
or you could just run it daily and make them wait.
Re: Gamedbd Process Issue
Quote:
Originally Posted by
rbb138
or you could just run it daily and make them wait.
I do it with my rank page. I manually update it one time each day.
Re: Gamedbd Process Issue
Quote:
Originally Posted by
vinicius.edson
I do it with my rank page. I manually update it one time each day.
you could just add
Code:
@daily refreshcommandgoeshere
In your crontab
OR if your cron doesn't support @daily use, 0 0 * * *