G
Guest
I have a load balanced system that consists of 3 production servers. There
are about 20 different applications that are used on these boxes. One of my
applications in particular is used more than the others. Since updating 2
applications, I have had problems on the event log of the servers, following
stopping of the aspnet_ws.exe process.
Something is causing the following error in the windows application event log:
The description for Event ID ( 0 ) in Source ( .NET Runtime ) cannot be
found. The local computer may not have the necessary registry information or
message DLL files to display messages from a remote computer. The following
information is part of the event: .NET Runtime version 1.1.4322.2032- Setup
Error: Failed to load resources from resource file
This is usually followed by the crashing of the aspnet_ws.exe process, which
will crash all users that are in any application on the server. This happens
about 3-8 times per day, at random times, with an absolute unknown cause for
this.
I have searched all over the net for help on this error, and I cannot find a
single answer that will fix this. I am thinking it is is something in my
code, but what is odd is that this error does NOT happen at anytime on our
test server or my local computer that uses the same application.
We test the application constantly on the test server, and no matter what,
the log never receives this error. It is possible that the reason for this
is the higher load on our production servers. There are usually 85 - 100
users simultaneously hitting the box.
Here is an example of the new stuff that has been added since I have been
starting to get that error. (Prior to adding this code, I have never seen
this error in the log.)
Code:
Imports System.Threading
Public Sub PostDocument
Dim ThreadPost As New Thread(New ThreadStart(AddressOf ExecutePost))
ThreadPost.Priority = ThreadPriority.Lowest
ThreadPost.Start()
End Sub
Public Sub ExecutePost()
Dim mut As Mutex = New Mutex
mut.WaitOne()
Try
Dim oHB As New HostBridgeLink(gsURL, "F400", UserID, Password,
Token)
oHB.ExecCmdWithData("PF10", "WEBIND=Y") : oHB.ExecCmd("PF8")
Catch ex As Exception
Finally
mut.ReleaseMutex()
End Try
End Sub
All of the above code works correctly in test, and production too. I am just
wondering if excessive use of any of the above at simultaneous times could
cause problems? Is there something I need to do to the server to handle the
Threading? Am I forgetting another step that will cause a problem on the
server?
I am using threading because the response time was very slow on our servers,
so I do not wait for a response. Its a new method I chose, and works
excellent, however, now the servers are still receiving that above message,
and the Memory usage does not even exceed 300K, whereas in the past, it used
to go all the way up to 900K when it crashed.
This is a major problem, and needs to be resolved fast.
Any help would be greatly appreciated. Thank you.
- Vincent
are about 20 different applications that are used on these boxes. One of my
applications in particular is used more than the others. Since updating 2
applications, I have had problems on the event log of the servers, following
stopping of the aspnet_ws.exe process.
Something is causing the following error in the windows application event log:
The description for Event ID ( 0 ) in Source ( .NET Runtime ) cannot be
found. The local computer may not have the necessary registry information or
message DLL files to display messages from a remote computer. The following
information is part of the event: .NET Runtime version 1.1.4322.2032- Setup
Error: Failed to load resources from resource file
This is usually followed by the crashing of the aspnet_ws.exe process, which
will crash all users that are in any application on the server. This happens
about 3-8 times per day, at random times, with an absolute unknown cause for
this.
I have searched all over the net for help on this error, and I cannot find a
single answer that will fix this. I am thinking it is is something in my
code, but what is odd is that this error does NOT happen at anytime on our
test server or my local computer that uses the same application.
We test the application constantly on the test server, and no matter what,
the log never receives this error. It is possible that the reason for this
is the higher load on our production servers. There are usually 85 - 100
users simultaneously hitting the box.
Here is an example of the new stuff that has been added since I have been
starting to get that error. (Prior to adding this code, I have never seen
this error in the log.)
Code:
Imports System.Threading
Public Sub PostDocument
Dim ThreadPost As New Thread(New ThreadStart(AddressOf ExecutePost))
ThreadPost.Priority = ThreadPriority.Lowest
ThreadPost.Start()
End Sub
Public Sub ExecutePost()
Dim mut As Mutex = New Mutex
mut.WaitOne()
Try
Dim oHB As New HostBridgeLink(gsURL, "F400", UserID, Password,
Token)
oHB.ExecCmdWithData("PF10", "WEBIND=Y") : oHB.ExecCmd("PF8")
Catch ex As Exception
Finally
mut.ReleaseMutex()
End Try
End Sub
All of the above code works correctly in test, and production too. I am just
wondering if excessive use of any of the above at simultaneous times could
cause problems? Is there something I need to do to the server to handle the
Threading? Am I forgetting another step that will cause a problem on the
server?
I am using threading because the response time was very slow on our servers,
so I do not wait for a response. Its a new method I chose, and works
excellent, however, now the servers are still receiving that above message,
and the Memory usage does not even exceed 300K, whereas in the past, it used
to go all the way up to 900K when it crashed.
This is a major problem, and needs to be resolved fast.
Any help would be greatly appreciated. Thank you.
- Vincent