Author Topic: ./run_init.sh error:Remote exception java.rmi.UnmarshalException: Error un  (Read 7312 times)

shawn

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
when I setup Mailserver,The following error occurs,what can i do?

nohup ./run_load_gen.sh &
./run_init.sh

2019-07-26 10:34:11:261 Waiting for Message CLEAN to terminate...
2019-07-26 10:34:44:637 Error: ******************** Remote exception java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is:
   java.io.EOFException
java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is:
   java.io.EOFException
   at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:236)
   at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:161)
   at org.spec.specimap.specimapclient_Stub.waitComplete(Unknown Source)
   at org.spec.specimap.RemoteLoadGenerators.waitComplete(RemoteLoadGenerators.java:312)
   at org.spec.specimap.SpecimapControl.doMessageClean(SpecimapControl.java:1042)
   at org.spec.specimap.SpecimapControl.doBenchmark(SpecimapControl.java:135)
   at org.spec.specimap.SpecimapControl.access$000(SpecimapControl.java:37)
   at org.spec.specimap.SpecimapControl$1.run(SpecimapControl.java:1788)
Caused by: java.io.EOFException
   at java.io.DataInputStream.readByte(DataInputStream.java:267)
   at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:222)
   ... 7 more
2019-07-26 10:34:44:641 ******************** SPECimap benchmark completed
2019-07-26 10:34:44:642 Error: SpecmailControl.doBenchmark() throws java.lang.NullPointerException
java.lang.NullPointerException
   at org.spec.specimap.specimap.abortTest(specimap.java:268)
   at org.spec.specimap.SpecimapControl.doBenchmark(SpecimapControl.java:239)
   at org.spec.specimap.SpecimapControl.access$000(SpecimapControl.java:37)
   at org.spec.specimap.SpecimapControl$1.run(SpecimapControl.java:1788)
Exception in thread "Thread-2" java.lang.NullPointerException
   at org.spec.specimap.specimap.abortTest(specimap.java:268)
   at org.spec.specimap.SpecimapControl$1.run(SpecimapControl.java:1792)

ChrisFloyd

  • Moderator
  • Jr. Member
  • *****
  • Posts: 52
  • Karma: +2/-0
What mail server are you using?  (dovecot?)

Are you running the run_load_gen.sh and run_init.sh commands from the mailserver VM?

What is the mailserver hostname defined as, and does your /etc/hosts have both "localhost" entry and "mailserver<tile#>" entries?  If so can you provide those here, please?

Can you provide your IMAP_Config.rc?

Thanks,

shawn

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
Tks to reply!

After umount the mailstore and rerun   ./makeme_mailserver.sh vdb,the mailserver can run run_init.sh normally

But now I have  a new question,how can I warm up mailserver,The instructions are not very clear,I don't quite

understand the following description how to operate:



Use the harness to run a test using mailserver and populate theindexes, creating a "warmed up" mailstore. See Section 5 for running atest.

Dovecot requires an initial "mailserverwarmup run" with a duration of one to two hours depending on yourstorage subsystem latencies, CPU performance, and so on. You may seesignificant IMAP timeout errors in the Clientmgr_1088.out log duringthe first 20 or 30 minutes of the initial warmup run, and you canignore these. Wait at least 30 minutes after all IMAP timeoutsdisappear in the IMAP server log, then stop the test, back up theexisting mailstore, and use this for all future runs.

ChrisFloyd

  • Moderator
  • Jr. Member
  • *****
  • Posts: 52
  • Karma: +2/-0
You should do a run for 2 hours (using the mailserver workload only to make things easier, if you prefer).

You will likely see some errors in the client log for the first 40 minutes or so, and is expected. This is because the dovecot mailserver will be overloaded initially, as it needs to create various indices, search histories, etc, as the emulated users perform various operations. 

You do not want these errors during an actual performance test, so once the initial 2 hour mailserver run completes, stop dovecot service, and create a backup (.tgz) of the mailstore data directory.  This backup should be restored (to every tile's mailserver VM) prior to starting each SPECvirt_sc2013 run.

shawn

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
OK,I get it,tks!

Galvin64

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
You should do a run for 2 hours (using the mailserver workload only to make things easier, if you prefer).

You will likely see some errors in the client log for the first 40 minutes or so, and is expected. This is because the dovecot mailserver will be overloaded initially, as it needs to create various indices, search histories, etc, as the emulated users perform various operations. 

You do not want these errors during an actual performance test, so once the initial 2 hour mailserver run completes, stop dovecot service, and create a backup (.tgz) of the mailstore data directory.  This backup should be restored (to every tile's mailserver VM) prior to starting each SPECvirt_sc2013 run.
WalgreensListens Survey

Thanks for the update and quick reply. I'll be sure to keep an eye on this thread. Looking for the same issue. Bumped into your thread. Thanks for creating it. Looking forward for solution.
« Last Edit: October 18, 2021, 12:07:16 AM by Galvin64 »

Vargas69

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-6
Re: ./run_init.sh error:Remote exception java.rmi.UnmarshalException: Error un
« Reply #6 on: February 22, 2022, 03:43:56 AM »
What mail server are you using?  (dovecot?)

Are you running the run_load_gen.sh and run_init.sh commands from the mailserver VM?

What is the mailserver hostname defined as, and does your /etc/hosts have both "localhost" entry and "mailserver<tile#>" entries?  If so can you provide those here, please?

Thanks,

This is because the dovecot mailserver will be overloaded initially, as it needs to create various indices, search histories, etc, as the emulated users perform various operations.
« Last Edit: April 01, 2022, 01:12:12 PM by lroderic »