Log of /trunk/net/net/src/TMonitor.cxx
Parent Directory
Revision
31598 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Dec 7 15:21:47 2009 UTC (5 years, 1 month ago) by
rdm
File length: 15729 byte(s)
Diff to
previous 28779
From Gerri:
Fix a few pending issues in PROOF-Lite:
- Source the env file before running 'proofserv'; this allows to run valgrind
or other wrapper scripts (e.g. experiment-specific environment initializers)
before proofserv, as in normal PROOF
- Fix a problem with Load()
- Add the possibility for the administrator to control the number of workers
for PROOF-Lite or eventually to forbid the use of it (request on the forum).
The rootrc variable ProofLite.MaxWorkers is read out of /etc/system.rootrc
and cannot be overwritten by users.
Improve handling of Ctrl-C:
- Fix a problem in TMonitor affecting the effectiveness of interrupts.
- Do not send the results from workers to masters if the query has been
aborted.
Miscellanea:
- Make sure that the size of the cache sent back to the packetizer by the
workers is meaningful in case the defaults are used (i.e. not -1).
- Make the current processed element available to selectors via the
input list; this allows to write a more simple and effective packetizers
for tasks where the entry is a file (e.g., dataset generation in the
benchmark suite).
Revision
24711 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Jul 8 13:41:12 2008 UTC (6 years, 6 months ago) by
rdm
File length: 14355 byte(s)
Diff to
previous 23091
From Gerri:
in TSocket keep track of socket activity using a time stamp. In TMonitor
use the socket activity timestamp to exclude sockets that have not
seen activity within a certain time interval.
Revision
23091 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Apr 9 15:04:27 2008 UTC (6 years, 9 months ago) by
rdm
File length: 12861 byte(s)
Copied from:
trunk/net/src/TMonitor.cxx revision 23090
Diff to
previous 20882
moving the follwing directories to "net":
alien, auth, glite, globusauth, krb5auth, ldap, monalisa, net, netx,
rootd, rpdutils, srputils, xrootd
Revision
15507 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Jun 21 16:18:27 2006 UTC (8 years, 7 months ago) by
rdm
Original Path:
trunk/net/src/TMonitor.cxx
File length: 12489 byte(s)
Diff to
previous 15114
From Gerri:
The patch implements the following new functionality:
- Shutdown of idle sessions when quitting ROOT; if not idle the session
is shutdown as soon as processing terminates; it is possible to delay
the automatic shutdown by a tunable amount of time via a new directive
in the xrootd config file 'xpd.shutdown' (see xpd.cf.example).
- New static method TProof::Reset(const char *url) to hard-cleanup an
user area (implemented for Xproofd only); this implied quite some
additions in XrdProofdProtocol.
- Possibility to temporary remove / re-insert a worker from the active list
TProof::DeactivateWorker(const char *ord)
TProof::ActivateWorker(const char *ord)
with 'ord' the ordinal numer, e.g. "0.3" .
- A default url for the disk pool
const char *TVirtualProof::GetDataPoolUrl()
It is set by default to a string send back by the master, but it can
be changed via
void TVirtualProof::SetDataPoolUrl(const char *url)
Jan should then adapt his code to use this as default.
- Posibility to timeout Collect; for now this is only used at forced
termination.
The patch includes many small changes and bug fixes. One of the most important
is in TXNetSystem (a bug preventing correct treatment of multiple request
to the same redirector).
Revision
14748 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Apr 19 10:50:01 2006 UTC (8 years, 9 months ago) by
rdm
Original Path:
trunk/net/src/TMonitor.cxx
File length: 12371 byte(s)
Diff to
previous 14745
From Gerri:
- a new class TXHandler from which TXProofMgr, TXProofServ and TXSlave
(i.e. all classes owning a TXSocket) derive; this allows to simplify a
lot the handling of inputs and errors on the asynchronous line.
- a modification to TMonitor to interrupt TMonitor::Select; this is needed
to avoid being stuck on socket errors which in Collect, and also to treat
locally Ctrl-C .
Revision
14745 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Apr 19 08:22:26 2006 UTC (8 years, 9 months ago) by
rdm
Original Path:
trunk/net/src/TMonitor.cxx
File length: 12031 byte(s)
Diff to
previous 10798
Change the TError.h macros:
Assert -> R__ASSERT
Check -> R__CHECK
Change the TCollection.h macro:
ForEach -> R__FOR_EACH
This to avoid potential problems due too trivial macro names.
The old macros will be removed in the next release. Currently
they will print out warning messages with the advice to move
to the new macro names.
Revision
10798 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Dec 15 17:48:03 2004 UTC (10 years, 1 month ago) by
rdm
Original Path:
trunk/net/src/TMonitor.cxx
File length: 12028 byte(s)
Diff to
previous 10339
From Gerri:
Purpose:
- Add new Select functionality in TMonitor and TSocket
This functionality will be used for asyncronous threaded
reader of TXNetFile.
- Add support for creation of a TNetFile using an existing
connection (reuse connection that was already opened by
TXNetFile while remore side is rootd and not xrootd).
net/inc/TMonitor.h
- add new private member Bool_t fMainLoop to tell if the
monitoring has to be on the main loop or outside.
- add argument 'Bool_t mainloop' to the constructor, default kTRUE
- add new method SetInterest() to change interest mask of
a socket
- add new Select() method for the out-of-main-loop case
net/src/TMonitor.cxx
- add implemention for the new methods.
net/inc/TNetFile.h
- add new signature for method Create() to open a TNetFile
using an existing connection (used to optmize the rootd
fall back support in TXNetFile).
net/src/TNetFile.cxx
- add support for new Create()
net/inc/TPSocket.h
- add new constructor to setup a parallel socket using
an existing connection (used to optmize the rootd
fall back support in TXNetFile).
- add support for new constructor in method Init()
net/src/TPSocket.cxx
- add implentation of new ctor and related modifications
in Init().
net/inc/TSocket.h
- add new method Select() to monitor the socket outside
the main event loop
- add new method SetDescriptor() used in TXSocket to save
the TSocket part
- add new member fTcpWindowSize and corresponding getter
for use in the new TPSocket ctor
- add a 'TSocket *' argument to CreateAuthSocket (default 0)
to allow re-using of an existing connection
net/src/TSocket.cxx
- add new method Select() to monitor the socket outside
the main event loop
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
enter a numeric revision.