S
Sebastian Loncar
Hallo NG,
i've big online game with a lots of requests per second and it uses a lot of
memory. the game runs as an ASP.NET application and holts all the game data
in the memory. The game has 1600 players.
Since a changed the server (from Windows 2003 32 Bit, 2GB RAM) to a new
Server "Windows 2003 64 Bit, 4 CPU's, 8 GB RAM) and upgraded the game from
Framework 1.1 to 2.0(its compiled als class library as in 1.1), there is a
big problem now.
Everything works fine, but sometimes, the ASP.NET application quits without
matter and theres no information in the Event Log of Windows. All recycling
options in the own apppool are disabled, of course!
The applications is designed for only one instance at the same time. If my
application receives a "Application_Quit"-Event in the Global.asax, the i
save alle data to disk and terminate the process(w3wp.exe) with a kill,
because sometimes, some threads hangs. But the kill is not the problem, on
the old server all works very fine.
But on the new Server, the application receives a Application_Quit without
matter and then, bevor the data is saved and the process terminated, a
second child-process is created whitin the same w3wp.exe. I down know if
first the process is created and than first process will be quitted, or if
the applications quits and iis starts a second child-process(appdomain),
while the first applications is quitting to save time. it happens at the
same time.
Here is a reconstruction:
[26.02.2006 16:40:00] App1: My Applications starts
[26.02.2006 17:03:13] App1: My Application logs the recieved Quit-Event to
the own application log. Why does it quit???
[26.02.2006 17:03:13] App2: My Applications starts a second time, but the
first app isn't terminated jet!
[26.02.2006 17:09:42] App1: My Application has saved all data know in will
now execute the Kill.
[26.02.2006 17:09:42] App2: Theres now response in the Logfile at this time.
Matter: The kill of app 1
[26.02.2006 17:09:47] A new application will be startet now...
My Problem is NOT, that two apps runs at the same time, i know how i could
work arround that. The problem is, why quits the application without matter
and starts a second application!
Please help me und you help 1600 players...
For Information: My application uses more than 3 GB of Memory, this should
not be the Problem because it's Windows 2003 64 Bit with 8 GB RAM(in Windows
2003 64 each Process "could" have 8 TB of Memory).
i've big online game with a lots of requests per second and it uses a lot of
memory. the game runs as an ASP.NET application and holts all the game data
in the memory. The game has 1600 players.
Since a changed the server (from Windows 2003 32 Bit, 2GB RAM) to a new
Server "Windows 2003 64 Bit, 4 CPU's, 8 GB RAM) and upgraded the game from
Framework 1.1 to 2.0(its compiled als class library as in 1.1), there is a
big problem now.
Everything works fine, but sometimes, the ASP.NET application quits without
matter and theres no information in the Event Log of Windows. All recycling
options in the own apppool are disabled, of course!
The applications is designed for only one instance at the same time. If my
application receives a "Application_Quit"-Event in the Global.asax, the i
save alle data to disk and terminate the process(w3wp.exe) with a kill,
because sometimes, some threads hangs. But the kill is not the problem, on
the old server all works very fine.
But on the new Server, the application receives a Application_Quit without
matter and then, bevor the data is saved and the process terminated, a
second child-process is created whitin the same w3wp.exe. I down know if
first the process is created and than first process will be quitted, or if
the applications quits and iis starts a second child-process(appdomain),
while the first applications is quitting to save time. it happens at the
same time.
Here is a reconstruction:
[26.02.2006 16:40:00] App1: My Applications starts
[26.02.2006 17:03:13] App1: My Application logs the recieved Quit-Event to
the own application log. Why does it quit???
[26.02.2006 17:03:13] App2: My Applications starts a second time, but the
first app isn't terminated jet!
[26.02.2006 17:09:42] App1: My Application has saved all data know in will
now execute the Kill.
[26.02.2006 17:09:42] App2: Theres now response in the Logfile at this time.
Matter: The kill of app 1
[26.02.2006 17:09:47] A new application will be startet now...
My Problem is NOT, that two apps runs at the same time, i know how i could
work arround that. The problem is, why quits the application without matter
and starts a second application!
Please help me und you help 1600 players...
For Information: My application uses more than 3 GB of Memory, this should
not be the Problem because it's Windows 2003 64 Bit with 8 GB RAM(in Windows
2003 64 each Process "could" have 8 TB of Memory).