Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Темы без сохранившегося раздела (https://postpacific.mmorpg-game.online/forumdisplay.php?f=10001)
-   -   i/o buffer / usersockets (https://postpacific.mmorpg-game.online/showthread.php?t=2127)

Dave 07.10.2005 14:23

i/o buffer / usersockets
 
Ok I promise i have searched...I figured out by sercer crash problems are due to usersockets goinig through the roof.. I read in a thread tha i could increase i/o buffer... how do I do this.. I also read that usersocket could be caused do to script errors or even DDOS attackes. is there any prevention out there for this?

Dave 07.10.2005 14:42

ok
 
ok figured out how to increase buffer size. but what is safe to put it out. right now its set to 3000

BiGBoY 07.10.2005 19:48

Its depend on ur hardware configuration.
if u got 2 gig of ram and average hdds u could trz with 4000.
if u got 3 gig or more ram and fast hdds u can try with 9000-12000
it all depends on ur hardware capability.
u have to test it how far u can go so it remain stable.

Dave 07.10.2005 20:46

got it
 
well i had done some testing before your post. However I do appreciate your post. I have 4gb and figured 6k is around stable. 9k crashed after some time

BiGBoY 08.10.2005 00:47

just one small add
if u split npc.exe to another (phisycal) hdd u will be able to use higher i/o thou

Dave 08.10.2005 02:51

Maybe this has something to do with it
 
ok.. my server stopped letting ppl login after 12 hours again. This time no bad i/o errors, not usersocket issues. in searching for the problem, I found this in new auth config file.

DevServerIP="IP.IP.IP.IP"
this was set to the wrong IP address, I reset to my WAN address. would this have anything to do with it?

ISSUE" SERVER STOPS LETTING PPL LOGIN AFTER ABOUT 12 HOURS OR SO. NO PHYSICAL ERROS CAN BE SEEN. JUST WONT LET YOU LOGIN.

HMMM, just thinking of when it started... could it be bad auth file. I run an auth that allows multiple servers.

horyfilipe 08.10.2005 14:51

I have same usersocket count problem.. it increases to 2,3,4k while users connected are at 900 and decreasing and nobody can login

Enishi 08.10.2005 15:23

Do you have a server status script?
Those things use sockets like crazy

top-gear 08.10.2005 15:41

same problem here. how can I increase the buffer size? i have 6 gm memory on cached/authd computer

horyfilipe 08.10.2005 16:05

windows server standard supports 4GB ram only. Enterprise version supports up to 12GB if im not wrong..


About script to check status. yes, i use it.. but:

1) It opens the socket and closes very fast
2) I have 2 worlds, and only the biggest one(1500 players) has this problem daily of usersocket. The other one(700 players) has this problem once in a week, not daily.. and both are being checked for the status script..

:/

top-gear 08.10.2005 16:35

yes but how can i customize the buffer size?

BiGBoY 08.10.2005 17:12

Quote:

Originally Posted by top-gear
yes but how can i customize the buffer size?

check ur .ini files
there u will find the i/o settings

top-gear 08.10.2005 18:28

let me see :)

Dave 08.10.2005 20:06

server status script
 
Well i dont use any server status scripts that I can think of, except Hopezone that checks. could that be it. today I had 125 ppl on , but usersocket said 425...stopped letting ppl log on.

top-gear 08.10.2005 22:09

what operating system are you using? have you tried to fix the virtual memory's limit?

Dave 08.10.2005 23:25

welll.. know your gonna say .. hmmm but windows server 2k...I havent upgraded this server to 2003. but its been that way since c1. I wil maybe change virtual memory.. just wierd it started just a few weeks ago.

horyfilipe 09.10.2005 01:36

here win2k3 server standard, virtual memory at 4GB and boot.ini /3GB

Dave 09.10.2005 03:48

same config
 
same config here. well on the one server win2k

Dave 09.10.2005 15:49

could this be...
 
Could this be a html exploit causing this issue?

top-gear 10.10.2005 00:14

I have server 2003 and have the same problem. restart every 3-4 hours. I think that the buffer overflows for some reason (maybe server error messages)

SOnick 19.12.2005 22:03

same thing here - 2 weeks ago this crap layed down my server after 1 year of stable gaming.

SlayerX 06.01.2006 19:41

same here
:cry:


All times are GMT. The time now is 21:45.