Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 07.10.2005, 14:23   #1
Dave
Архивный участник
 
Join Date: Jun 2005
Posts: 364
Default 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 is offline  
Old 07.10.2005, 14:42   #2
Dave
Архивный участник
 
Join Date: Jun 2005
Posts: 364
Default ok

ok figured out how to increase buffer size. but what is safe to put it out. right now its set to 3000
Dave is offline  
Old 07.10.2005, 19:48   #3
BiGBoY
Архивный участник
 
Join Date: May 2005
Posts: 216
Default

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.
BiGBoY is offline  
Old 07.10.2005, 20:46   #4
Dave
Архивный участник
 
Join Date: Jun 2005
Posts: 364
Default 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
Dave is offline  
Old 08.10.2005, 00:47   #5
BiGBoY
Архивный участник
 
Join Date: May 2005
Posts: 216
Default

just one small add
if u split npc.exe to another (phisycal) hdd u will be able to use higher i/o thou
BiGBoY is offline  
Old 08.10.2005, 02:51   #6
Dave
Архивный участник
 
Join Date: Jun 2005
Posts: 364
Default 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.
Dave is offline  
Old 08.10.2005, 14:51   #7
horyfilipe
Архивный участник
 
Join Date: Jul 2005
Posts: 242
Default

I have same usersocket count problem.. it increases to 2,3,4k while users connected are at 900 and decreasing and nobody can login
horyfilipe is offline  
Old 08.10.2005, 15:23   #8
Enishi
Архивный участник
 
Join Date: Apr 2005
Posts: 354
Default

Do you have a server status script?
Those things use sockets like crazy
Enishi is offline  
Old 08.10.2005, 15:41   #9
top-gear
Архивный участник
 
Join Date: Aug 2005
Posts: 605
Default

same problem here. how can I increase the buffer size? i have 6 gm memory on cached/authd computer
top-gear is offline  
Old 08.10.2005, 16:05   #10
horyfilipe
Архивный участник
 
Join Date: Jul 2005
Posts: 242
Default

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..

:/
horyfilipe is offline  
Old 08.10.2005, 16:35   #11
top-gear
Архивный участник
 
Join Date: Aug 2005
Posts: 605
Default

yes but how can i customize the buffer size?
top-gear is offline  
Old 08.10.2005, 17:12   #12
BiGBoY
Архивный участник
 
Join Date: May 2005
Posts: 216
Default

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
BiGBoY is offline  
Old 08.10.2005, 18:28   #13
top-gear
Архивный участник
 
Join Date: Aug 2005
Posts: 605
Default

let me see
top-gear is offline  
Old 08.10.2005, 20:06   #14
Dave
Архивный участник
 
Join Date: Jun 2005
Posts: 364
Default 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.
Dave is offline  
Old 08.10.2005, 22:09   #15
top-gear
Архивный участник
 
Join Date: Aug 2005
Posts: 605
Default

what operating system are you using? have you tried to fix the virtual memory's limit?
top-gear is offline  
Old 08.10.2005, 23:25   #16
Dave
Архивный участник
 
Join Date: Jun 2005
Posts: 364
Default

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.
Dave is offline  
Old 09.10.2005, 01:36   #17
horyfilipe
Архивный участник
 
Join Date: Jul 2005
Posts: 242
Default

here win2k3 server standard, virtual memory at 4GB and boot.ini /3GB
horyfilipe is offline  
Old 09.10.2005, 03:48   #18
Dave
Архивный участник
 
Join Date: Jun 2005
Posts: 364
Default same config

same config here. well on the one server win2k
Dave is offline  
Old 09.10.2005, 15:49   #19
Dave
Архивный участник
 
Join Date: Jun 2005
Posts: 364
Default could this be...

Could this be a html exploit causing this issue?
Dave is offline  
Old 10.10.2005, 00:14   #20
top-gear
Архивный участник
 
Join Date: Aug 2005
Posts: 605
Default

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)
top-gear is offline  
Old 19.12.2005, 22:03   #21
SOnick
Архивный участник
 
Join Date: Feb 2005
Posts: 177
Default

same thing here - 2 weeks ago this crap layed down my server after 1 year of stable gaming.
SOnick is offline  
Old 06.01.2006, 19:41   #22
SlayerX
Архивный участник
 
Join Date: Dec 2005
Posts: 82
Default

same here
:cry:
SlayerX is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 17:20.