Hi, Cloudsuite-users,
When I try the media streaming benchmark, I can see the server transfer
data to the client, following the method in thread
http://www.mail-archive.com/[email protected]/msg00182.html , but
when I try
"sh scripts/start-run.sh 1000 dist 127.0.0.1 1", I make server and
client in the same machine by the way, I get the following error:
May 30, 2013 10:09:48 AM com.sun.faban.common.RegistryImpl main
SEVERE: Exception starting registry.
java.rmi.server.ExportException: Port already in use: 9998; nested
exception is:
java.net.BindException: Address already in use
at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:328)
at
sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:236)
at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:411)
at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:147)
at
sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:207)
at sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:122)
at sun.rmi.registry.RegistryImpl.<init>(RegistryImpl.java:108)
at
java.rmi.registry.LocateRegistry.createRegistry(LocateRegistry.java:203)
at com.sun.faban.common.RegistryImpl.main(RegistryImpl.java:412)
Caused by: java.net.BindException: Address already in use
at java.net.PlainSocketImpl.socketBind(Native Method)
at
java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:353)
at java.net.ServerSocket.bind(ServerSocket.java:336)
at java.net.ServerSocket.<init>(ServerSocket.java:202)
at java.net.ServerSocket.<init>(ServerSocket.java:114)
at
sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerSocket(RMIDirectSocketFactory.java:45)
at
sun.rmi.transport.proxy.RMIMasterSocketFactory.createServerSocket(RMIMasterSocketFactory.java:351)
at
sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:667)
at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:317)
... 8 more
Error occurred during initialization of VM
Could not reserve enough space for object heap
/home/guo/faban-streaming/streaming/scripts/run-test.sh: 104: kill: No such
process
I search the internet and it says that maybe I need to make the -Xmx to a
big number, so I change it in the streaming/deploy/run.xml. But it doesnt
work. So could any one have the same problem? Any hint is appreciable.
In addition, what's the memory requirment if we want to runt the
cloudsuite? Is the machine only having 2G memory OK to run it?
Thanks
Xiangyang