0 Replies Latest reply on May 25, 2010 5:21 PM by 807578

    Sunray 2fs over vpn exception

    807578
      I am running a sun ray 2fs thin client that connects to my office via vpn. The server is located in the main office and I am able to connect to the server and get my session. I have multiple users set up the same way, and all seems to be good except for one user. He can connect and get his session but within minutes (sometimes seconds) his session is destroyed and it also brings down the whole server.

      In the log files I see the following:

      ==> auth_log <==
      Exception in thread "Terminator" Exception in thread "SessionManager0" java.lang.OutOfMemoryError: Java heap space
      at java.util.Arrays.copyOf(Arrays.java:2882)
      at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100)
      at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:633)
      at java.lang.StringBuffer.append(StringBuffer.java:346)
      at auth.utauthd.SessionId.toString(SessionId.java:37)
      at auth.utauthd.AuthRecord.getBySid(AuthRecord.java:832)
      at auth.utauthd.SessionManager.callme(SessionManager.java:650)
      at auth.utauthd.SessionManager.run(SessionManager.java:892)
      at java.lang.Thread.run(Thread.java:619)
      java.lang.OutOfMemoryError: Java heap space
      at java.util.Arrays.copyOfRange(Arrays.java:3209)
      at java.lang.String.<init>(String.java:215)
      at java.lang.StringBuffer.toString(StringBuffer.java:585)
      at auth.sdk.Log.debug(Log.java:73)
      at auth.utauthd.Mutex.unlock(Mutex.java:98)
      at auth.utauthd.Terminal.unlock(Terminal.java:337)
      at auth.utauthd.SessionManager.taskEvent(SessionManager.java:147)
      at auth.sdk.Task.event(Task.java:33)
      at auth.sdk.JobQueue.run(JobQueue.java:24)
      at java.lang.Thread.run(Thread.java:619)
      Exception in thread "Worker11" java.lang.OutOfMemoryError: Java heap space
      at java.nio.HeapByteBuffer.<init>(HeapByteBuffer.java:39)
      at java.nio.ByteBuffer.allocate(ByteBuffer.java:312)
      at sun.nio.cs.StreamDecoder.<init>(StreamDecoder.java:231)
      at sun.nio.cs.StreamDecoder.<init>(StreamDecoder.java:211)
      at sun.nio.cs.StreamDecoder.forInputStreamReader(StreamDecoder.java:50)
      at java.io.InputStreamReader.<init>(InputStreamReader.java:83)
      at auth.utauthd.CallBack.taskEvent(CallBack.java:125)
      at auth.sdk.Task.event(Task.java:33)
      at auth.utauthd.Worker.run(Worker.java:76)
      at java.lang.Thread.run(Thread.java:619)
      Exception in thread "Worker17" java.lang.OutOfMemoryError: Java heap space
      Exception in thread "Worker15" java.lang.OutOfMemoryError: Java heap space
      at java.nio.HeapByteBuffer.<init>(HeapByteBuffer.java:39)
      at java.nio.ByteBuffer.allocate(ByteBuffer.java:312)
      at sun.nio.cs.StreamDecoder.<init>(StreamDecoder.java:231)
      at sun.nio.cs.StreamDecoder.<init>(StreamDecoder.java:211)
      at sun.nio.cs.StreamDecoder.forInputStreamReader(StreamDecoder.java:50)
      at java.io.InputStreamReader.<init>(InputStreamReader.java:83)
      at auth.utauthd.CallBack.taskEvent(CallBack.java:125)
      at auth.sdk.Task.event(Task.java:33)
      at auth.utauthd.Worker.run(Worker.java:76)
      at java.lang.Thread.run(Thread.java:619)
      Exception in thread "Worker5" java.lang.OutOfMemoryError: Java heap space
      Exception in thread "Worker21" java.lang.OutOfMemoryError: Java heap space
      Exception in thread "Worker1" java.lang.OutOfMemoryError: Java heap space

      ==> messages <==
      May 24 17:15:14 prisrv119 last message repeated 5 times

      ==> auth_log <==
      Exception in thread "Worker19" java.lang.OutOfMemoryError: Java heap space

      ==> messages <==
      May 24 17:15:28 prisrv119 utcapture: getAuthMgrRecords(): read error - Connection reset by peer

      ==> auth_log <==
      Exception in thread "Worker9" java.lang.OutOfMemoryError: Java heap space
      Exception in thread "Worker3" java.lang.OutOfMemoryError: Java heap space

      ==> messages <==
      May 24 17:15:44 prisrv119 utcapture: getAuthMgrRecords(): poll timed out

      ==> auth_log <==
      Exception in thread "WatchIO" java.lang.OutOfMemoryError: Java heap space
      Exception in thread "Worker7" java.lang.OutOfMemoryError: Java heap space


      I have tried replacing the thin client with no luck. Any help would be greatly appreciated. Please let me know if more information is required.

      Thanks,
      Billy