Giter Club home page Giter Club logo

fdtcp's Issues

"source" is an invalid command in sh

/usr/bin/wrapper_fdt.sh: 7: /usr/bin/wrapper_fdt.sh: source: not found

Since the shebang of wrapper_fdt.sh is !#/bin/sh, we need to use . to import another shell script.

Server will stay running in case client fails...

------------------------------------------------------------------------------
stdout:
running: '/usr//bin/java -XX:-HeapDumpOnOutOfMemoryError -Xms1024m -Xmx1024m -cp /usr/share/java/fdt.jar lia.util.net.copy.FDT -bs 64K -p 51085 -bio -wCount 5 -f 188.184.81.127 -nolock -S -noupdates -enable_apmon 131.215.207.20:8884 -monID 188.184.29.213:51085:10000 -notmp'
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000eaa80000, 358088704, 0) failed; error='Cannot allocate memory' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 358088704 bytes for committing reserved memory.
# An error report file with more information is saved as:
# /tmp/jvm-4953/hs_error.log

------------------------------------------------------------------------------
stderr:

------------------------------------------------------------------------------
DEBUG     2016-11-01 16:36:19,702 transfer FDT executors container before removing attempt (total 66 items).
CRITICAL  2016-11-01 16:36:19,702 transfer Process of executor id 'fdtcp-vlad-vm-slc6.cern.ch--188.184.81.127-to-188.184.29.213--2016-11-01-16h:36m:16s-qtoqv' (process PID: 4952) still exists! Not removing from FDTD executors container.
DEBUG     2016-11-01 16:36:19,702 transfer Executor process PID: 4952 'sudo -u dynes /usr/bin/wrapper_fdt.sh -XX:-HeapDumpOnOutOfMemoryError -Xms1024m -Xmx1024m -cp $FDTJAR lia.util.net.copy.FDT -bs 64K -p 51085 -bio -wCount 5 -f 188.184.81.127 -nolock -S -noupdates -enable_apmon 131.215.207.20:8884 -monID 188.184.29.213:51085:10000 -notmp' id:'fdtcp-vlad-vm-slc6.cern.ch--188.184.81.127-to-188.184.29.213--2016-11-01-16h:36m:16s-qtoqv' has syncFlag not set, continue.
DEBUG     2016-11-01 16:36:19,702 transfer End of request CleanupProcessesAction serving.
------------------------------------------------------------------------------



WARNING   2016-11-01 16:36:19,702 transfer Logger closing.

There should be fdtls -(laht)

Options to support:

-a do not ignore entries starting with .
-t sort by modification time, newest first
-l use a long listing format
-h with -l, print sizes in human readable format (e.g., 1K 234M 2G)

support local file transfer

should support fdtcp file:///tmp/file/name.root fdt://server-name... and fdt://server-name... file:///tmp/file/name.root to download file. Same for the list of files

renaming circuitIPs

Renaming:
--clientcircuitip=CLIENTCIRCUITIP, -i CLIENTCIRCUITIP
optional argument for specifying client circuit IP
--servercircuitip=SERVERCIRCUITIP, -y SERVERCIRCUITIP
optional argument for specifying server circuit IP

and making them for more advanced users.

failure to clean up process

Exception in thread Thread-4:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/threading.py", line 811, in __bootstrap_inner
    self.run()
  File "/usr/lib64/python2.7/threading.py", line 764, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.7/site-packages/Pyro-3.16-py2.7.egg/Pyro/protocol.py", line 1126, in connectionHandler
    if self.getAdapter().handleConnection(conn, self):
  File "/usr/lib/python2.7/site-packages/Pyro-3.16-py2.7.egg/Pyro/protocol.py", line 836, in handleConnection
    ver,body,pflags = self.receiveMsg(conn)
  File "/usr/lib/python2.7/site-packages/Pyro-3.16-py2.7.egg/Pyro/protocol.py", line 633, in receiveMsg
    self.returnException(conn, ProtocolError(msg))
  File "/usr/lib/python2.7/site-packages/Pyro-3.16-py2.7.egg/Pyro/protocol.py", line 813, in returnException
    pic=Pyro.util.getXMLPickle('gnosis')
  File "/usr/lib/python2.7/site-packages/Pyro-3.16-py2.7.egg/Pyro/util.py", line 435, in getXMLPickle
    raise NotImplementedError('xml pickling implementation (%s) is not available' % impl)
NotImplementedError: xml pickling implementation (gnosis) is not available

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.