View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0005161||Multi Theft Auto : San Andreas||Server||public||2010-01-03 13:07||2010-05-20 19:24|
|Target Version||1.0.4||Fixed in Version||1.0.4|
|Summary||0005161: Connecting players cause huge amount of CPU usage|
When a player connects to our server CPU usage goes to 100% on one core (only on one for some reason). Happens between connect and join.
This causes network trouble for the players on the server, which in turn causes them to leave.
According to toady:
<Willy> so lil_Toady you reckon its down to having lots of elements?
|Tags||No tags attached.|
The initial map packet doesn't block chat or cause network trouble, and it definitely does not affect the packet flow to other players.
I would think one of the running resources is hogging the server cpu when a player joins. Stop as many unneeded resources as possible and put 'outputDebugString( "resource name:" .. getTickCount() )' at the start and end of all the remaining onPlayerConnect/onPlayerJoin event handlers. This should show you which one is at fault.
This was traced to accounts.xml, no?
Fixed in r1637 assuming it was accounts.xml