The javaw.exe processes provide basic application server functionality and the ability to host web services, they are started automatically when the server is started. Seeing two of them is expected.
You can tell that a javaw.exe process is associated with ArcGIS Server by looking at the Command Line column in Windows Task Manager. If the path includes the ArcGIS installation directory, you know it's a process associated with ArcGIS Server. You can derive further information about each process by examining its full command.
http://resources.arcgis.com/en/help/main/10.1/index.html#//0154000003p4000000
Hope this helps!
- Daniel
Without discussing the details of the inner workings of ArcGIS Server, I can say that both are required to provide application server functionality and the ability to host web services.
Daniel Stauning
I have a question, If there is not enough memory capacity for processing for a certain SOC, although processing fails, please let me know the behavior when releasing memory. Is ArcGIS Server making the decision to free memory? Or is the memory forcibly released by the OS?