You are here: > ESRI Forums > arcgis server forums > Thread Replies

ArcGIS Server Forums

ArcGIS Server: Publishing and using GIS Services forum

ArcSOC processes locking up?   Jithen Singh Oct 20, 2004
Re: ArcSOC processes locking up?   Vasileios Vlastaras Oct 26, 2004
Re: ArcSOC processes locking up?   Jithen Singh Oct 31, 2004
Re: ArcSOC processes locking up?   Vasileios Vlastaras Nov 01, 2004
Re: ArcSOC processes locking up? + ArcSDE   michael guzy Jan 07, 2005
Re: ArcSOC processes locking up? + ArcSDE   Vasileios Vlastaras Jan 14, 2005
Re: ArcSOC processes locking up? + ArcSDE   Jithen Singh Jan 14, 2005
Report Inappropriate Content • Top • Print • This Forum is closed for replies.    
Subject ArcSOC processes locking up? 
Author Jithen Singh 
Date Oct 20, 2004 
Message Hi There,

Has anyone come across ArcGIS Server ArcSOC processes locking up?

We are finding that at times that 1 or so of these processes locks up and this lock which is stopping all of the other services on the ArcGIS server loading?.

If anyone has come across this please let me know.

Cheers,
  Jithen (J) Singh

GIS Technical Solutions Team
Eagle Technology Group Ltd (ESRI New Zealand Distributor), http://www.eaglegis.co.nz
Wellington
New Zealand

Blog: http://geo.geek.nz | Twitter: http://geo.geek.nz/twitter 
   
Report Inappropriate Content • Top • Print • This Forum is closed for replies.    
Subject Re: ArcSOC processes locking up? 
Author Vasileios Vlastaras 
Date Oct 26, 2004 
Message Can you please provide some further information
on the issue ???

What exactly do you mean locking and under which
circumstances this behaviour occurs ?
Is that something you can observe in the
task manager of the PC ?

I may be able to help you but you must describe
the problem a bit better.

Regards.

----------------------------
Vasilis Vlastaras
GIS Software Developer
ENB Ltd.
Athens - Greece
vvlastaras@enm.gr
 
   
Report Inappropriate Content • Top • Print • This Forum is closed for replies.    
Subject Re: ArcSOC processes locking up? 
Author Jithen Singh 
Date Oct 31, 2004 
Message Sorry for the delayed reply.

I have been researching the issue and am finding it hard to describe.

Say we have the ArcGIS Server setup with 1 Nonpooled service. We have this setup to accept say 10 instances.

Now the server will work away serving requests with no problem. There comes a time when the services will stop responding and if you are using a web developed application this will return a timeout error.

In general for every instance, or client using the ArcGIS Server, there is a corresponding ArcSOC process, and for every request made by that client, the ArcSOC process uses memory and CPU.

When the web developed application returns the timeout or i refer to the "process's locking up", I have noticed that inspecting the task manager, one of the ArcSOC processes will be using CPU, not so much memory, but it will continue to use the CPU (not heavily), and will never stop. If i end this process, suddenly the ArcGIS server starts serving up requests again and the web developed application is funcational again.

So, something is locking up one of the ArcSOC processes and if one of them locks up, this locks up any request to the ArcGIS Server, which in turn makes the application unuseable.

I have yet to find out what is causing the ArcSOC process to lock up as it is very hard to replicate, but does occur.

So I was wondering if anyone had come across this activity before?.

Cheers,
  Jithen (J) Singh

GIS Technical Solutions Team
Eagle Technology Group Ltd (ESRI New Zealand Distributor), http://www.eaglegis.co.nz
Wellington
New Zealand

Blog: http://geo.geek.nz | Twitter: http://geo.geek.nz/twitter 
   
Report Inappropriate Content • Top • Print • This Forum is closed for replies.    
Subject Re: ArcSOC processes locking up? 
Author Vasileios Vlastaras 
Date Nov 01, 2004 
Message Well we have similar behaviour in our application.
Although it never seemed to be 'locked up'.

If you have developed a web application that
consumes an ArcGIS Service you may noticed
that each ArcSOC process in the Task Manager
do not correspond to each of the connected users.
That means that a user which runs the application
in his / her web browser only once, may create
more than one ArcSOC processes in the Task manager
It also seems that an ArcSOC process starts for
each Server Context you use in your code. (Or at
least is what seems to be happening in our
application). Under this perspective I guess you
should be very carefull in the way you control
the ServerContext 's lifetime. You should dispose
it properly and at the right time. Also objects
that may use resources of an ArcSOC process should
be disposed properly. Otherwise I guess you create
a lot of background overhead in the cpu and memory
of the PC. And perhaps this is the problem.

So, I recomend you check all of your code for
proper disposal of objects.

Also another thing you should check is when the
ArcGIS service is freed. I mean that when a remote
user closes the Web Browser, that does not mean
he / she stops using the ArcSOC process he / she
was bound on. You may put code for proper disposal
in the Global.asax file of your application (if
you develop in .NET).

Also check out the following URL that addresses
a known issue regarding .NET garbage collector.
http://support.esri.com/index.cfm?fa=knowledgebase.techarticles.articleShow&d=26953

My experience on developing an ArcGIS Server web
application tells me that you should be very
carefull in garbage colletion of the objects
you use, otherwise ArcSOCs will be running for
more than 20 minutes causing just overhead in
the PC.

By the way, do you consume ArcSDE 8.3 Data ???
If so, there is a bug concerning ArcSDE that
causes such a behaviour which leads to
a PC freeze ! If you use ArcSDE 8.3 data you may
have to alter a couple of things in ArcSDE.

It is all I can say, so check out the disposal
of objects in your application. I hope I was
a bit helpfull.

-----------------------------
Vasilis Vlastaras
GIS Software Developer
ENB Ltd
Athens - Greece
vvlastaras@enm.gr

 
   
Report Inappropriate Content • Top • Print • This Forum is closed for replies.    
Subject Re: ArcSOC processes locking up? + ArcSDE 
Author michael guzy 
Date Jan 07, 2005 
Message Does anybody know what the bug mentioned in previous msg on this thread is?

"...consume ArcSDE 8.3 Data ???
If so, there is a bug concerning ArcSDE that
causes such a behaviour which leads to
a PC freeze ! If you use ArcSDE 8.3 data you may
have to alter a couple of things in ArcSDE."

This resonates with some problems with our SDE 8.3 to 9.0 that only affect ArcGis Server and not other clients. 
   
Report Inappropriate Content • Top • Print • This Forum is closed for replies.    
Subject Re: ArcSOC processes locking up? + ArcSDE 
Author Vasileios Vlastaras 
Date Jan 14, 2005 
Message This has to do with a trigger (or something like
this) that is missing in the ArcSDE 8.3
implementation. I think that the problem had
to do with some malfunction regarding temporary
records that ArcSDE holds in a table and have
to be removed.
While removing them, it just takes ages ...
and that leads to a "freeze" (sometimes with 100%
CPU running time).

We had this problem last March and I can't remember
more on the subject anymore. There is a
workaround for the problem but I will have to
contact our database developer that knows more
on the issue. Meanwhile just try to find info
in ArcSDE user forum.

In case you have the same problem with ours
it will be definetely solved.

----------------------------
Vasilis Vlastaras
GIS Software Developer
ENB Ltd
Athens - Greece
vvlastaras@enm.gr

 
   
Report Inappropriate Content • Top • Print • This Forum is closed for replies.    
Subject Re: ArcSOC processes locking up? + ArcSDE 
Author Jithen Singh 
Date Jan 14, 2005 
Message Guys,

Just to reply my original problem.
We havent experienced this problem since.
Its very bizzare and odd. But our many production ArcGIS Servers have been upgraded to Service Pack 2 and been running well since.

Cheers,
  Jithen (J) Singh

GIS Technical Solutions Team
Eagle Technology Group Ltd (ESRI New Zealand Distributor), http://www.eaglegis.co.nz
Wellington
New Zealand

Blog: http://geo.geek.nz | Twitter: http://geo.geek.nz/twitter