View Full Version : 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?
ok figured out how to increase buffer size. but what is safe to put it out. right now its set to 3000
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.
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
just one small add
if u split npc.exe to another (phisycal) hdd u will be able to use higher i/o thou
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
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?
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 :)
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?
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
same config here. well on the one server win2k
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)
same thing here - 2 weeks ago this crap layed down my server after 1 year of stable gaming.