![]() |
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
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. |
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
|
just one small add
if u split npc.exe to another (phisycal) hdd u will be able to use higher i/o thou |
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. |
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 |
same problem here. how can I increase the buffer size? i have 6 gm memory on cached/authd computer
|
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.. :/ |
yes but how can i customize the buffer size?
|
Quote:
there u will find the i/o settings |
let me see :)
|
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.
|
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.
|
here win2k3 server standard, virtual memory at 4GB and boot.ini /3GB
|
same config
same config here. well on the one server win2k
|
could this be...
Could this be a html exploit causing this issue?
|
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.
|
same here
:cry: |
| All times are GMT. The time now is 15:26. |