Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
6329 | minor | always | 02-26-20 02:46 | 08-20-20 14:10 | |
|
|||||
Reporter: | nam | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | high | OS Version: | |||
Status: | closed | Product Version: | 4.0.55 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 4.0.66 | ||
|
|||||
Summary: | 0006329: resinctl restart throws OutOfMemoryError from relaxng | ||||
Description: |
(rep by M. Shimomura) resinctl restart throws an OutOfMemoryError whereas a stop then start doesn't. [2020/02/17 01:10:03.134] {resin-51} Watchdog received warning from Resin[app-1,pid=32473]: Shutdown: Resin shutdown from watchdog stop 'watchdog@admin.resin.caucho' [2020/02/17 01:10:05.732] {watchdog-app-1} Watchdog detected close of Resin[app-1,pid=32473] exit reason: normal exit (exit code=0) [2020/02/17 01:10:05.733] {watchdog-app-1} WatchdogChild[app-1] stopped [2020/02/17 01:10:13.852] {watchdog-app-1} WatchdogChild[app-1] starting [2020/02/17 01:10:13.853] {watchdog-app-1} Watchdog starting Resin[app-1] [2020/02/18 01:10:06.199] {resin-49} Watchdog received warning from Resin[app-1,pid=29650]: Shutdown: Resin shutdown from watchdog stop 'watchdog@admin.resin.caucho' [2020/02/18 01:10:08.929] {watchdog-app-1} Watchdog detected close of Resin[app-1,pid=29650] exit reason: normal exit (exit code=0) [2020/02/18 01:10:08.929] {watchdog-app-1} WatchdogChild[app-1] stopped [2020/02/18 01:10:18.285] {watchdog-app-1} WatchdogChild[app-1] starting [2020/02/18 01:10:18.286] {watchdog-app-1} Watchdog starting Resin[app-1] [2020/02/19 01:10:03.846] {resin-33} Watchdog received warning from Resin[app-1,pid=23952]: Shutdown: Resin shutdown from watchdog stop 'watchdog@admin.resin.caucho' [2020/02/19 01:10:06.285] {watchdog-app-1} Watchdog detected close of Resin[app-1,pid=23952] exit reason: normal exit (exit code=0) [2020/02/19 01:10:06.286] {watchdog-app-1} WatchdogChild[app-1] stopped EXN: java.lang.RuntimeException: com.caucho.bam.actor.SkeletonInvocationException: java.lang.OutOfMemoryError: Java heap space java.lang.RuntimeException: com.caucho.bam.actor.SkeletonInvocationException: java.lang.OutOfMemoryError: Java heap space at com.caucho.env.actor2.ActorQueue2$ActorWorker.runTask(ActorQueue2.java:162) at com.caucho.env.thread2.AbstractTaskWorker2.run(AbstractTaskWorker2.java:247) at com.caucho.env.thread2.ResinThread2.runTasks(ResinThread2.java:173) at com.caucho.env.thread2.ResinThread2.run(ResinThread2.java:118) Caused by: com.caucho.bam.actor.SkeletonInvocationException: java.lang.OutOfMemoryError: Java heap space at com.caucho.bam.actor.SkeletonInvocationException.createRuntimeException(SkeletonInvocationException.java:65) at com.caucho.bam.proxy.ProxySkeleton.query(ProxySkeleton.java:260) at com.caucho.bam.proxy.ProxyActor.query(ProxyActor.java:117) at com.caucho.bam.packet.Query.dispatch(Query.java:86) at com.caucho.bam.mailbox.MultiworkerMailbox$PacketProcessor.process(MultiworkerMailbox.java:424) at com.caucho.bam.mailbox.MultiworkerMailbox$PacketProcessor.process(MultiworkerMailbox.java:410) at com.caucho.env.actor2.QueueRingFixed.deliver(QueueRingFixed.java:287) at com.caucho.env.actor2.ActorQueue2$ActorWorker.runTask(ActorQueue2.java:157) ... 3 more Caused by: java.lang.OutOfMemoryError: Java heap space at com.caucho.relaxng.pattern.InterleavePattern.createItem(InterleavePattern.java:140) at com.caucho.relaxng.pattern.RefPattern.createItem(RefPattern.java:91) at com.caucho.relaxng.pattern.ElementPattern.createItem(ElementPattern.java:157) at com.caucho.relaxng.pattern.ChoicePattern.createItem(ChoicePattern.java:149) at com.caucho.relaxng.pattern.GroupPattern.createItem(GroupPattern.java:117) at com.caucho.relaxng.pattern.ElementPattern.createItem(ElementPattern.java:157) at com.caucho.relaxng.pattern.GroupPattern.createItem(GroupPattern.java:117) at com.caucho.relaxng.pattern.ZeroOrMorePattern.createItem(ZeroOrMorePattern.java:89) at com.caucho.relaxng.pattern.InterleavePattern.createItem(InterleavePattern.java:143) at com.caucho.relaxng.pattern.RefPattern.createItem(RefPattern.java:91) at com.caucho.relaxng.pattern.GroupPattern.createItem(GroupPattern.java:117) at com.caucho.relaxng.pattern.ElementPattern.createItem(ElementPattern.java:157) at com.caucho.relaxng.pattern.GroupPattern.createItem(GroupPattern.java:117) at com.caucho.relaxng.pattern.ZeroOrMorePattern.createItem(ZeroOrMorePattern.java:89) at com.caucho.relaxng.pattern.InterleavePattern.createItem(InterleavePattern.java:143) at com.caucho.relaxng.pattern.RefPattern.createItem(RefPattern.java:91) at com.caucho.relaxng.pattern.InterleavePattern.createItem(InterleavePattern.java:143) at com.caucho.relaxng.pattern.ElementPattern.createItem(ElementPattern.java:157) at com.caucho.relaxng.pattern.RefPattern.createItem(RefPattern.java:91) at com.caucho.relaxng.pattern.GroupPattern.createItem(GroupPattern.java:117) at com.caucho.relaxng.pattern.ZeroOrMorePattern.createItem(ZeroOrMorePattern.java:89) at com.caucho.relaxng.pattern.InterleavePattern.createItem(InterleavePattern.java:143) at com.caucho.relaxng.pattern.RefPattern.createItem(RefPattern.java:91) at com.caucho.relaxng.pattern.GroupPattern.createItem(GroupPattern.java:117) at com.caucho.relaxng.pattern.ElementPattern.createItem(ElementPattern.java:157) at com.caucho.relaxng.pattern.RefPattern.createItem(RefPattern.java:91) at com.caucho.relaxng.pattern.GroupPattern.createItem(GroupPattern.java:117) at com.caucho.relaxng.pattern.ZeroOrMorePattern.createItem(ZeroOrMorePattern.java:89) at com.caucho.relaxng.pattern.InterleavePattern.createItem(InterleavePattern.java:143) at com.caucho.relaxng.pattern.RefPattern.createItem(RefPattern.java:91) at com.caucho.relaxng.pattern.ElementPattern.createItem(ElementPattern.java:157) at com.caucho.relaxng.pattern.RefPattern.createItem(RefPattern.java:91) WarningService: java.lang.RuntimeException: com.caucho.bam.actor.SkeletonInvocationException: java.lang.OutOfMemoryError: Java heap space [2020/02/19 01:10:14.163] {watchdog@admin.resin.caucho-31} WarningService: java.lang.RuntimeException: com.caucho.bam.actor.SkeletonInvocationException: java.lang.OutOfMemoryError: Java heap space [2020/02/19 01:10:14.164] {watchdog@admin.resin.caucho-31} java.lang.RuntimeException: com.caucho.bam.actor.SkeletonInvocationException: java.lang.OutOfMemoryError: Java heap space at com.caucho.env.actor2.ActorQueue2$ActorWorker.runTask(ActorQueue2.java:162) at com.caucho.env.thread2.AbstractTaskWorker2.run(AbstractTaskWorker2.java:247) at com.caucho.env.thread2.ResinThread2.runTasks(ResinThread2.java:173) at com.caucho.env.thread2.ResinThread2.run(ResinThread2.java:118) Caused by: com.caucho.bam.actor.SkeletonInvocationException: java.lang.OutOfMemoryError: Java heap space at com.caucho.bam.actor.SkeletonInvocationException.createRuntimeException(SkeletonInvocationException.java:65) at com.caucho.bam.proxy.ProxySkeleton.query(ProxySkeleton.java:260) at com.caucho.bam.proxy.ProxyActor.query(ProxyActor.java:117) at com.caucho.bam.packet.Query.dispatch(Query.java:86) at com.caucho.bam.mailbox.MultiworkerMailbox$PacketProcessor.process(MultiworkerMailbox.java:424) at com.caucho.bam.mailbox.MultiworkerMailbox$PacketProcessor.process(MultiworkerMailbox.java:410) at com.caucho.env.actor2.QueueRingFixed.deliver(QueueRingFixed.java:287) at com.caucho.env.actor2.ActorQueue2$ActorWorker.runTask(ActorQueue2.java:157) ... 3 more Caused by: java.lang.OutOfMemoryError: Java heap space at com.caucho.relaxng.pattern.InterleavePattern.createItem(InterleavePattern.java:140) at com.caucho.relaxng.pattern.RefPattern.createItem(RefPattern.java:91) at com.caucho.relaxng.pattern.ElementPattern.createItem(ElementPattern.java:157) at com.caucho.relaxng.pattern.ChoicePattern.createItem(ChoicePattern.java:149) at com.caucho.relaxng.pattern.GroupPattern.createItem(GroupPattern.java:117) at com.caucho.relaxng.pattern.ElementPattern.createItem(ElementPattern.java:157) at com.caucho.relaxng.pattern.GroupPattern.createItem(GroupPattern.java:117) at com.caucho.relaxng.pattern.ZeroOrMorePattern.createItem(ZeroOrMorePattern.java:89) at com.caucho.relaxng.pattern.InterleavePattern.createItem(InterleavePattern.java:143) at com.caucho.relaxng.pattern.RefPattern.createItem(RefPattern.java:91) at com.caucho.relaxng.pattern.GroupPattern.createItem(GroupPattern.java:117) at com.caucho.relaxng.pattern.ElementPattern.createItem(ElementPattern.java:157) at com.caucho.relaxng.pattern.GroupPattern.createItem(GroupPattern.java:117) at com.caucho.relaxng.pattern.ZeroOrMorePattern.createItem(ZeroOrMorePattern.java:89) at com.caucho.relaxng.pattern.InterleavePattern.createItem(InterleavePattern.java:143) at com.caucho.relaxng.pattern.RefPattern.createItem(RefPattern.java:91) at com.caucho.relaxng.pattern.InterleavePattern.createItem(InterleavePattern.java:143) at com.caucho.relaxng.pattern.ElementPattern.createItem(ElementPattern.java:157) at com.caucho.relaxng.pattern.RefPattern.createItem(RefPattern.java:91) at com.caucho.relaxng.pattern.GroupPattern.createItem(GroupPattern.java:117) at com.caucho.relaxng.pattern.ZeroOrMorePattern.createItem(ZeroOrMorePattern.java:89) at com.caucho.relaxng.pattern.InterleavePattern.createItem(InterleavePattern.java:143) at com.caucho.relaxng.pattern.RefPattern.createItem(RefPattern.java:91) at com.caucho.relaxng.pattern.GroupPattern.createItem(GroupPattern.java:117) at com.caucho.relaxng.pattern.ElementPattern.createItem(ElementPattern.java:157) at com.caucho.relaxng.pattern.RefPattern.createItem(RefPattern.java:91) at com.caucho.relaxng.pattern.GroupPattern.createItem(GroupPattern.java:117) at com.caucho.relaxng.pattern.ZeroOrMorePattern.createItem(ZeroOrMorePattern.java:89) at com.caucho.relaxng.pattern.InterleavePattern.createItem(InterleavePattern.java:143) at com.caucho.relaxng.pattern.RefPattern.createItem(RefPattern.java:91) at com.caucho.relaxng.pattern.ElementPattern.createItem(ElementPattern.java:157) at com.caucho.relaxng.pattern.RefPattern.createItem(RefPattern.java:91) EXN: java.lang.RuntimeException: com.caucho.bam.actor.SkeletonInvocationException: java.lang.OutOfMemoryError: Java heap space java.lang.RuntimeException: com.caucho.bam.actor.SkeletonInvocationException: java.lang.OutOfMemoryError: Java heap space at com.caucho.env.actor2.ActorQueue2$ActorWorker.runTask(ActorQueue2.java:162) at com.caucho.env.thread2.AbstractTaskWorker2.run(AbstractTaskWorker2.java:247) at com.caucho.env.thread2.ResinThread2.runTasks(ResinThread2.java:173) at com.caucho.env.thread2.ResinThread2.run(ResinThread2.java:118) Caused by: com.caucho.bam.actor.SkeletonInvocationException: java.lang.OutOfMemoryError: Java heap space at com.caucho.bam.actor.SkeletonInvocationException.createRuntimeException(SkeletonInvocationException.java:65) at com.caucho.bam.proxy.ProxySkeleton.query(ProxySkeleton.java:260) at com.caucho.bam.proxy.ProxyActor.query(ProxyActor.java:117) at com.caucho.bam.packet.Query.dispatch(Query.java:86) at com.caucho.bam.mailbox.MultiworkerMailbox$PacketProcessor.process(MultiworkerMailbox.java:424) at com.caucho.bam.mailbox.MultiworkerMailbox$PacketProcessor.process(MultiworkerMailbox.java:410) at com.caucho.env.actor2.QueueRingFixed.deliver(QueueRingFixed.java:287) at com.caucho.env.actor2.ActorQueue2$ActorWorker.runTask(ActorQueue2.java:157) ... 3 more Caused by: java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:3181) at java.util.ArrayList.grow(ArrayList.java:265) at java.util.ArrayList.ensureExplicitCapacity(ArrayList.java:239) at java.util.ArrayList.ensureCapacityInternal(ArrayList.java:231) at java.util.ArrayList.add(ArrayList.java:462) at com.caucho.relaxng.program.ChoiceItem.addItem(ChoiceItem.java:121) at com.caucho.relaxng.pattern.ChoicePattern.createItem(ChoicePattern.java:149) at com.caucho.relaxng.pattern.InterleavePattern.createItem(InterleavePattern.java:143) at com.caucho.relaxng.pattern.ElementPattern.createItem(ElementPattern.java:157) at com.caucho.relaxng.pattern.RefPattern.createItem(RefPattern.java:91) at com.caucho.relaxng.pattern.ChoicePattern.createItem(ChoicePattern.java:149) at com.caucho.relaxng.pattern.InterleavePattern.createItem(InterleavePattern.java:143) at com.caucho.relaxng.pattern.RefPattern.createItem(RefPattern.java:91) at com.caucho.relaxng.pattern.InterleavePattern.createItem(InterleavePattern.java:143) at com.caucho.relaxng.pattern.ElementPattern.createItem(ElementPattern.java:157) at com.caucho.relaxng.pattern.RefPattern.createItem(RefPattern.java:91) at com.caucho.relaxng.pattern.GroupPattern.createItem(GroupPattern.java:117) at com.caucho.relaxng.pattern.ZeroOrMorePattern.createItem(ZeroOrMorePattern.java:89) at com.caucho.relaxng.pattern.InterleavePattern.createItem(InterleavePattern.java:143) at com.caucho.relaxng.pattern.RefPattern.createItem(RefPattern.java:91) at com.caucho.relaxng.pattern.GroupPattern.createItem(GroupPattern.java:117) at com.caucho.relaxng.pattern.ElementPattern.createItem(ElementPattern.java:157) at com.caucho.relaxng.pattern.RefPattern.createItem(RefPattern.java:91) at com.caucho.relaxng.pattern.GroupPattern.createItem(GroupPattern.java:117) at com.caucho.relaxng.pattern.ZeroOrMorePattern.createItem(ZeroOrMorePattern.java:89) at com.caucho.relaxng.pattern.InterleavePattern.createItem(InterleavePattern.java:143) at com.caucho.relaxng.pattern.RefPattern.createItem(RefPattern.java:91) at com.caucho.relaxng.pattern.ElementPattern.createItem(ElementPattern.java:157) at com.caucho.relaxng.pattern.RefPattern.createItem(RefPattern.java:91) at com.caucho.relaxng.pattern.ChoicePattern.createItem(ChoicePattern.java:149) at com.caucho.relaxng.SchemaImpl.<init>(SchemaImpl.java:52) at com.caucho.relaxng.CompactVerifierFactoryImpl.compileSchema(CompactVerifierFactoryImpl.java:117) WarningService: java.lang.RuntimeException: com.caucho.bam.actor.SkeletonInvocationException: java.lang.OutOfMemoryError: Java heap space [2020/02/19 08:33:26.992] {watchdog@admin.resin.caucho-52} WarningService: java.lang.RuntimeException: com.caucho.bam.actor.SkeletonInvocationException: java.lang.OutOfMemoryError: Java heap space [2020/02/19 08:33:26.993] {watchdog@admin.resin.caucho-52} java.lang.RuntimeException: com.caucho.bam.actor.SkeletonInvocationException: java.lang.OutOfMemoryError: Java heap space at com.caucho.env.actor2.ActorQueue2$ActorWorker.runTask(ActorQueue2.java:162) at com.caucho.env.thread2.AbstractTaskWorker2.run(AbstractTaskWorker2.java:247) at com.caucho.env.thread2.ResinThread2.runTasks(ResinThread2.java:173) at com.caucho.env.thread2.ResinThread2.run(ResinThread2.java:118) Caused by: com.caucho.bam.actor.SkeletonInvocationException: java.lang.OutOfMemoryError: Java heap space at com.caucho.bam.actor.SkeletonInvocationException.createRuntimeException(SkeletonInvocationException.java:65) at com.caucho.bam.proxy.ProxySkeleton.query(ProxySkeleton.java:260) at com.caucho.bam.proxy.ProxyActor.query(ProxyActor.java:117) at com.caucho.bam.packet.Query.dispatch(Query.java:86) at com.caucho.bam.mailbox.MultiworkerMailbox$PacketProcessor.process(MultiworkerMailbox.java:424) at com.caucho.bam.mailbox.MultiworkerMailbox$PacketProcessor.process(MultiworkerMailbox.java:410) at com.caucho.env.actor2.QueueRingFixed.deliver(QueueRingFixed.java:287) at com.caucho.env.actor2.ActorQueue2$ActorWorker.runTask(ActorQueue2.java:157) ... 3 more Caused by: java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:3181) at java.util.ArrayList.grow(ArrayList.java:265) at java.util.ArrayList.ensureExplicitCapacity(ArrayList.java:239) at java.util.ArrayList.ensureCapacityInternal(ArrayList.java:231) at java.util.ArrayList.add(ArrayList.java:462) at com.caucho.relaxng.program.ChoiceItem.addItem(ChoiceItem.java:121) at com.caucho.relaxng.pattern.ChoicePattern.createItem(ChoicePattern.java:149) at com.caucho.relaxng.pattern.InterleavePattern.createItem(InterleavePattern.java:143) at com.caucho.relaxng.pattern.ElementPattern.createItem(ElementPattern.java:157) at com.caucho.relaxng.pattern.RefPattern.createItem(RefPattern.java:91) at com.caucho.relaxng.pattern.ChoicePattern.createItem(ChoicePattern.java:149) at com.caucho.relaxng.pattern.InterleavePattern.createItem(InterleavePattern.java:143) at com.caucho.relaxng.pattern.RefPattern.createItem(RefPattern.java:91) at com.caucho.relaxng.pattern.InterleavePattern.createItem(InterleavePattern.java:143) at com.caucho.relaxng.pattern.ElementPattern.createItem(ElementPattern.java:157) at com.caucho.relaxng.pattern.RefPattern.createItem(RefPattern.java:91) at com.caucho.relaxng.pattern.GroupPattern.createItem(GroupPattern.java:117) at com.caucho.relaxng.pattern.ZeroOrMorePattern.createItem(ZeroOrMorePattern.java:89) at com.caucho.relaxng.pattern.InterleavePattern.createItem(InterleavePattern.java:143) at com.caucho.relaxng.pattern.RefPattern.createItem(RefPattern.java:91) at com.caucho.relaxng.pattern.GroupPattern.createItem(GroupPattern.java:117) at com.caucho.relaxng.pattern.ElementPattern.createItem(ElementPattern.java:157) at com.caucho.relaxng.pattern.RefPattern.createItem(RefPattern.java:91) at com.caucho.relaxng.pattern.GroupPattern.createItem(GroupPattern.java:117) at com.caucho.relaxng.pattern.ZeroOrMorePattern.createItem(ZeroOrMorePattern.java:89) at com.caucho.relaxng.pattern.InterleavePattern.createItem(InterleavePattern.java:143) at com.caucho.relaxng.pattern.RefPattern.createItem(RefPattern.java:91) at com.caucho.relaxng.pattern.ElementPattern.createItem(ElementPattern.java:157) at com.caucho.relaxng.pattern.RefPattern.createItem(RefPattern.java:91) at com.caucho.relaxng.pattern.ChoicePattern.createItem(ChoicePattern.java:149) at com.caucho.relaxng.SchemaImpl.<init>(SchemaImpl.java:52) at com.caucho.relaxng.CompactVerifierFactoryImpl.compileSchema(CompactVerifierFactoryImpl.java:117) [2020/02/19 08:35:51.044] {main} [2020/02/19 08:35:51.045] {main} Resin Professional 4.0.55 (built Wed, 29 Nov 2017 03:07:06 PST) [2020/02/19 08:35:51.045] {main} [2020/02/19 08:35:51.045] {main} Linux 3.10.0-693.17.1.el7.x86_64 amd64 [2020/02/19 08:35:51.045] {main} Java(TM) SE Runtime Environment 1.8.0_161-b12, UTF-8, ja [2020/02/19 08:35:51.045] {main} Java HotSpot(TM) 64-Bit Server VM 25.161-b12, 64, mixed mode, Oracle Corporation [2020/02/19 08:35:51.045] {main} [2020/02/19 08:35:51.046] {main} user.name = foo [2020/02/19 08:35:51.092] {main} [2020/02/19 08:35:51.092] {main} resin.home = /home/foo/resin/ [2020/02/19 08:35:51.092] {main} resin.root = /home/foo/resin [2020/02/19 08:35:51.092] {main} resin.conf = /home/foo/resin/conf/resin.xml [2020/02/19 08:35:51.092] {main} [2020/02/19 08:35:51.092] {main} watchdog = 127.0.0.1:-1 (watchdog:default) [2020/02/19 08:35:51.093] {main} stage = production [2020/02/19 08:35:51.311] {resin-19} WebApp[production/webapp/admin.resin/ROOT] active [2020/02/19 08:35:51.313] {main} Host[production/host/admin.resin] active [2020/02/19 08:35:51.313] {main} ProServer[id=default,cluster=watchdog] active [2020/02/19 08:35:51.317] {main} JNI keepalive: disabled for unknown reasons [2020/02/19 08:35:51.320] {main} JNI: file, socket [2020/02/19 08:35:51.320] {main} [2020/02/19 08:35:51.320] {main} [2020/02/19 08:35:51.327] {main} http listening to localhost:6600 [2020/02/19 08:35:51.332] {main} [2020/02/19 08:35:51.440] {watchdog-app-1} WatchdogChild[app-1] starting [2020/02/19 08:35:51.451] {watchdog-app-1} Watchdog starting Resin[app-1] |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
There are no notes attached to this issue. |