CVS log for loncom/loncnew
Up to [LON-CAPA] / loncom
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.110: download - view: text, markup, annotated - select for diffs
Fri Jun 14 18:49:41 2024 UTC (4 months, 3 weeks ago) by raeburn
Branches: MAIN
CVS tags: version_2_12_X,
HEAD
Diff to previous 1.109: preferred, colored
Changes since revision 1.109: +8 -3
lines
- Changes from loncnew rev. 1.108 when creating a new connection between
LON-CAPA nodes to (a) support verification of common name when creating
SSL tunnel between 2.12 nodes, while (b) supporting continued queuing of
any delayed transactions when reconnecting (both 2.12 and pre-2.12).
Revision 1.100.10.2: download - view: text, markup, annotated - select for diffs
Sun Jan 12 01:55:44 2020 UTC (4 years, 9 months ago) by raeburn
Branches: version_2_11_X
CVS tags: version_2_11_5_msu,
version_2_11_5,
version_2_11_4_uiuc,
version_2_11_4_msu,
version_2_11_4,
version_2_11_3_uiuc,
version_2_11_3_msu,
version_2_11_3
Diff to previous 1.100.10.1: preferred, colored to branchpoint 1.100: preferred, colored next main 1.101: preferred, colored
Changes since revision 1.100.10.1: +2 -2
lines
- For 2.11
Backport 1.109
Revision 1.109: download - view: text, markup, annotated - select for diffs
Sun Jan 12 01:21:33 2020 UTC (4 years, 9 months ago) by raeburn
Branches: MAIN
Diff to previous 1.108: preferred, colored
Changes since revision 1.108: +2 -2
lines
- Reverse change in rev. 1.102.
- the HostID of the peer is included in the string returned by:
$Transaction->getRequest().
- for a deferred transaction, the value of $Transaction->getClient() will
be undef.
Revision 1.108: download - view: text, markup, annotated - select for diffs
Fri Dec 14 02:05:38 2018 UTC (5 years, 10 months ago) by raeburn
Branches: MAIN
Diff to previous 1.107: preferred, colored
Changes since revision 1.107: +18 -4
lines
- Include verification of common name when creating SSL tunnel unless
connecting to/from pre-2.12 node.
- $IO::Socket::SSL::DEBUG is set to current $DEBUG value so debugging
from IO/Socket/SSL.pm is written to lond_errors or lonc_errors.
Revision 1.107: download - view: text, markup, annotated - select for diffs
Mon Dec 10 17:34:22 2018 UTC (5 years, 11 months ago) by raeburn
Branches: MAIN
Diff to previous 1.106: preferred, colored
Changes since revision 1.106: +22 -7
lines
- Verification of CN when creating SSL tunnel on multi-domain servers.
CN is default lonid, i.e., one listed last for the node's hostname in
hosts.tab and/or dns_hosts.tab.
Revision 1.106: download - view: text, markup, annotated - select for diffs
Thu Dec 6 13:52:28 2018 UTC (5 years, 11 months ago) by raeburn
Branches: MAIN
Diff to previous 1.105: preferred, colored
Changes since revision 1.105: +1 -2
lines
- Remove unused assignment added in rev. 1.105
Revision 1.100.10.1: download - view: text, markup, annotated - select for diffs
Sun Sep 2 15:57:16 2018 UTC (6 years, 2 months ago) by raeburn
Branches: version_2_11_X
Diff to previous 1.100: preferred, colored
Changes since revision 1.100: +4 -4
lines
- For 2.11
Backport 1.102, 1.103, 1.104
Revision 1.105: download - view: text, markup, annotated - select for diffs
Tue Aug 7 17:12:09 2018 UTC (6 years, 3 months ago) by raeburn
Branches: MAIN
Diff to previous 1.104: preferred, colored
Changes since revision 1.104: +111 -13
lines
- Support Certificate Revocation List checking when using SSL channel
for key exchange during negotiation of connection to remote lond.
Revision 1.104: download - view: text, markup, annotated - select for diffs
Sun Jun 24 18:45:18 2018 UTC (6 years, 4 months ago) by raeburn
Branches: MAIN
Diff to previous 1.103: preferred, colored
Changes since revision 1.103: +3 -3
lines
- Support "local" mode in LondConnection.pm when a server's lonc is connecting
to its own lond. Sys::Hostname::FQDN::fqdn() preferred with Ubuntu 18.04
- Need to add dependency on Sys::Hostname::FQDN to LONCAPA-prerequisites.
Revision 1.103: download - view: text, markup, annotated - select for diffs
Tue Jan 16 18:13:29 2018 UTC (6 years, 9 months ago) by raeburn
Branches: MAIN
Diff to previous 1.102: preferred, colored
Changes since revision 1.102: +3 -3
lines
- Support "local" mode in LondConnection.pm when a server's lonc is connecting
to its own lond in distros where &hostname() returns only the short hostname
(e.g., Ubuntu) by using Net::Domain::hostfqdn() in loncnew::my_hostname().
(Net::Domain is a core perl module).
- On Ubuntu, also need to edit /etc/resolvconf/resolv.conf.d/tail
to include: domain <domain name> , and also run resolvconf -u.
Revision 1.102: download - view: text, markup, annotated - select for diffs
Fri Oct 20 20:20:20 2017 UTC (7 years ago) by raeburn
Branches: MAIN
Diff to previous 1.101: preferred, colored
Changes since revision 1.101: +2 -2
lines
- Log hostID for completed deferred transactions in lonnet.perm.log.
Revision 1.101: download - view: text, markup, annotated - select for diffs
Tue Feb 28 05:42:06 2017 UTC (7 years, 8 months ago) by raeburn
Branches: MAIN
Diff to previous 1.100: preferred, colored
Changes since revision 1.100: +3 -1
lines
- Use of LON-CAPA SSL certificates to create secure channel for exchange of
encryption key between LON-CAPA nodes can be set to: "no", "yes", "req"
(i.e., required) separately for outbound (i.e., lonc) and inbound connections
(i.e., lond) in domain config (default domain only on a multi-domain server).
- Can differentiate between connections between nodes in same domain, nodes
in same "internet" domain. and nodes in neither.
- Supercedes use of loncAllowInsecure and londAllowInsecure from loncapa.conf
on each node.
- Run /home/httpd/perl/loncron --justreload (as www) after changing domain config
Revision 1.100: download - view: text, markup, annotated - select for diffs
Fri Jun 17 17:41:37 2011 UTC (13 years, 4 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_11_2_uiuc,
version_2_11_2_msu,
version_2_11_2_educog,
version_2_11_2,
version_2_11_1,
version_2_11_0_RC3,
version_2_11_0_RC2,
version_2_11_0_RC1,
version_2_11_0,
version_2_10_X,
version_2_10_1,
loncapaMITrelate_1,
language_hyphenation_merge,
language_hyphenation,
BZ4492-merge,
BZ4492-feature_horizontal_radioresponse,
BZ4492-feature_Support_horizontal_radioresponse,
BZ4492-Support_horizontal_radioresponse
Branch point for: version_2_11_X
Diff to previous 1.99: preferred, colored
Changes since revision 1.99: +5 -5
lines
- Eliminate lone single quotes in POD which could cause problems with
syntax highlighting for some editors.
Revision 1.99: download - view: text, markup, annotated - select for diffs
Fri Jun 17 16:36:29 2011 UTC (13 years, 4 months ago) by raeburn
Branches: MAIN
Diff to previous 1.98: preferred, colored
Changes since revision 1.98: +3 -3
lines
- Fix typos in POD.
Revision 1.98: download - view: text, markup, annotated - select for diffs
Fri Jun 17 10:26:26 2011 UTC (13 years, 4 months ago) by foxr
Branches: MAIN
Diff to previous 1.97: preferred, colored
Changes since revision 1.97: +2 -1
lines
Reset londconnecting if the connection count becomes 0 in KillSocket
Revision 1.97: download - view: text, markup, annotated - select for diffs
Thu Jun 16 07:18:53 2011 UTC (13 years, 4 months ago) by raeburn
Branches: MAIN
Diff to previous 1.96: preferred, colored
Changes since revision 1.96: +29 -28
lines
- Fix typos in documentation.
Revision 1.96: download - view: text, markup, annotated - select for diffs
Tue Jan 25 11:02:35 2011 UTC (13 years, 9 months ago) by foxr
Branches: MAIN
CVS tags: version_2_10_0
Diff to previous 1.95: preferred, colored
Changes since revision 1.95: +3 -2
lines
Improve comment that describes why no action is taken on errors in write
to client socket.
Revision 1.95: download - view: text, markup, annotated - select for diffs
Mon Jan 24 11:02:32 2011 UTC (13 years, 9 months ago) by foxr
Branches: MAIN
Diff to previous 1.94: preferred, colored
Changes since revision 1.94: +5 -4
lines
Add a 'ClientData' member to LondConnection and have loncnew use it to
properly keep track of which connection is which.
(Bug 6377 comment 43).
Revision 1.94: download - view: text, markup, annotated - select for diffs
Thu Jan 20 11:19:37 2011 UTC (13 years, 9 months ago) by foxr
Branches: MAIN
Diff to previous 1.93: preferred, colored
Changes since revision 1.93: +2 -2
lines
Decrease the idle timeout to 5min...improve comment on how to set that
value.
Revision 1.93: download - view: text, markup, annotated - select for diffs
Mon Jan 10 12:23:00 2011 UTC (13 years, 10 months ago) by foxr
Branches: MAIN
Diff to previous 1.92: preferred, colored
Changes since revision 1.92: +8 -1
lines
Insulate child processes from SIGPIPE that will get thrown on a
disconnect.
Revision 1.92: download - view: text, markup, annotated - select for diffs
Tue Dec 21 11:17:03 2010 UTC (13 years, 10 months ago) by foxr
Branches: MAIN
Diff to previous 1.91: preferred, colored
Changes since revision 1.91: +3 -2
lines
Ensure that ticks are relative to last tick calls so they can't fall on the
heels of each other.
Revision 1.91: download - view: text, markup, annotated - select for diffs
Mon Dec 20 11:31:52 2010 UTC (13 years, 10 months ago) by foxr
Branches: MAIN
Diff to previous 1.90: preferred, colored
Changes since revision 1.90: +2 -1
lines
Ensure that time on flock keeping messages (forking server) in logs are
updated...note that this will make the ps axuww message include the time
of the last fork if I'm reading the code correctly..rather than the
start time.
Revision 1.90: download - view: text, markup, annotated - select for diffs
Mon Dec 20 11:15:51 2010 UTC (13 years, 10 months ago) by foxr
Branches: MAIN
Diff to previous 1.89: preferred, colored
Changes since revision 1.89: +4 -2
lines
- Cancel watcher on fd when killing off a socket...just in case we'll
get 'readable' events on fds that are dead.
- When killing a socket update the ps axuww status that is displayed for the
loncnew process.
Revision 1.89: download - view: text, markup, annotated - select for diffs
Mon Jun 14 13:29:27 2010 UTC (14 years, 5 months ago) by www
Branches: MAIN
CVS tags: version_2_9_X,
version_2_9_1,
version_2_10_0_RC2,
version_2_10_0_RC1
Diff to previous 1.88: preferred, colored
Changes since revision 1.88: +2 -2
lines
Workaround for Bug #6304, until we have something better that is sufficiently tested.
Revision 1.88: download - view: text, markup, annotated - select for diffs
Mon Oct 6 10:55:46 2008 UTC (16 years, 1 month ago) by foxr
Branches: MAIN
CVS tags: version_2_9_99_0,
version_2_9_0,
version_2_8_X,
version_2_8_99_1,
version_2_8_99_0,
version_2_8_2,
version_2_8_1,
version_2_8_0,
version_2_7_99_1,
version_2_7_99_0,
bz6209-base,
bz6209,
bz5969,
bz2851,
PRINT_INCOMPLETE_base,
PRINT_INCOMPLETE,
GCI_3,
GCI_2,
GCI_1,
BZ5971-printing-apage,
BZ5434-fox
Diff to previous 1.87: preferred, colored
Changes since revision 1.87: +181 -1
lines
Added documentation of the log messages to the pod.
Revision 1.87: download - view: text, markup, annotated - select for diffs
Mon Jun 18 22:49:52 2007 UTC (17 years, 4 months ago) by albertel
Branches: MAIN
CVS tags: version_2_7_X,
version_2_7_1,
version_2_7_0,
version_2_6_X,
version_2_6_99_1,
version_2_6_99_0,
version_2_6_3,
version_2_6_2,
version_2_6_1,
version_2_6_0,
version_2_5_X,
version_2_5_99_1,
version_2_5_99_0,
version_2_5_2,
version_2_5_1,
version_2_5_0,
version_2_4_99_0
Diff to previous 1.86: preferred, colored
Changes since revision 1.86: +13 -4
lines
- when doing reconnects, be more targeted, just reset the retries on the
one loncnew child (if it even exists)
Revision 1.86: download - view: text, markup, annotated - select for diffs
Wed Jun 13 03:05:54 2007 UTC (17 years, 5 months ago) by albertel
Branches: MAIN
CVS tags: version_2_4_X,
version_2_4_2,
version_2_4_1
Diff to previous 1.85: preferred, colored
Changes since revision 1.85: +4 -3
lines
- delayed message flush log message to perm log was incorrectly formatted
Revision 1.85: download - view: text, markup, annotated - select for diffs
Tue May 1 01:04:23 2007 UTC (17 years, 6 months ago) by albertel
Branches: MAIN
CVS tags: version_2_4_0,
version_2_3_99_0
Diff to previous 1.84: preferred, colored
Changes since revision 1.84: +9 -3
lines
- when handling the reload need to clear out the children preccesses after they have exited
Revision 1.84: download - view: text, markup, annotated - select for diffs
Wed Apr 11 16:20:26 2007 UTC (17 years, 7 months ago) by albertel
Branches: MAIN
Diff to previous 1.83: preferred, colored
Changes since revision 1.83: +5 -1
lines
- vcu was seeing this error condition occur, catch and exit in this case as
somethign has gone awry
Revision 1.83: download - view: text, markup, annotated - select for diffs
Wed Apr 11 00:10:45 2007 UTC (17 years, 7 months ago) by albertel
Branches: MAIN
Diff to previous 1.82: preferred, colored
Changes since revision 1.82: +26 -34
lines
- when there is a race to create a connection make sure only one child gets forked off
Revision 1.82: download - view: text, markup, annotated - select for diffs
Wed Mar 28 21:44:05 2007 UTC (17 years, 7 months ago) by albertel
Branches: MAIN
Diff to previous 1.81: preferred, colored
Changes since revision 1.81: +35 -37
lines
- eliminate need for lonnet, by having lonnet send all known lonids over the launch channel
- need to quotemeta on the re now since lonids can have . and -
Revision 1.81: download - view: text, markup, annotated - select for diffs
Wed Mar 28 20:28:29 2007 UTC (17 years, 7 months ago) by albertel
Branches: MAIN
Diff to previous 1.80: preferred, colored
Changes since revision 1.80: +47 -75
lines
- eliminate any reading of hosts.tab from loncnew
- launch of lonc connection requires passing the lonid through the common
launch socket
- dealyed messages getting sent again (requires loncnew using lonnet....)
Revision 1.80: download - view: text, markup, annotated - select for diffs
Wed Mar 28 00:23:46 2007 UTC (17 years, 7 months ago) by albertel
Branches: MAIN
Diff to previous 1.79: preferred, colored
Changes since revision 1.79: +65 -122
lines
- eliminate the non-DIeWhenIdle option
Revision 1.79: download - view: text, markup, annotated - select for diffs
Wed Mar 28 00:14:15 2007 UTC (17 years, 7 months ago) by albertel
Branches: MAIN
Diff to previous 1.78: preferred, colored
Changes since revision 1.78: +2 -2
lines
- switch on the dynamic hosts.tab support in loncnew by default
Revision 1.78: download - view: text, markup, annotated - select for diffs
Wed Mar 28 00:05:38 2007 UTC (17 years, 7 months ago) by albertel
Branches: MAIN
Diff to previous 1.77: preferred, colored
Changes since revision 1.77: +18 -11
lines
- switch lond to use new multiplex lonc communication route
- swithc to making the common socket a config option
Revision 1.77: download - view: text, markup, annotated - select for diffs
Tue Mar 27 19:38:36 2007 UTC (17 years, 7 months ago) by albertel
Branches: MAIN
Diff to previous 1.76: preferred, colored
Changes since revision 1.76: +110 -29
lines
- add ability for loncnew to work without having to read a hosts.tab
Revision 1.76: download - view: text, markup, annotated - select for diffs
Fri Aug 25 21:12:19 2006 UTC (18 years, 2 months ago) by albertel
Branches: MAIN
CVS tags: version_2_3_X,
version_2_3_2,
version_2_3_1,
version_2_3_0,
version_2_2_X,
version_2_2_99_1,
version_2_2_99_0,
version_2_2_2,
version_2_2_1
Diff to previous 1.75: preferred, colored
Changes since revision 1.75: +3 -3
lines
- typo and redeclaration
Revision 1.75: download - view: text, markup, annotated - select for diffs
Wed Jul 19 19:56:26 2006 UTC (18 years, 3 months ago) by albertel
Branches: MAIN
CVS tags: version_2_2_0,
version_2_1_99_3,
version_2_1_99_2,
version_2_1_99_1
Diff to previous 1.74: preferred, colored
Changes since revision 1.74: +18 -9
lines
- BUG#4927 - delayed messages were not being noticed after the host name transition
Revision 1.74: download - view: text, markup, annotated - select for diffs
Fri Jan 27 20:37:12 2006 UTC (18 years, 9 months ago) by albertel
Branches: MAIN
CVS tags: version_2_1_99_0
Diff to previous 1.73: preferred, colored
Changes since revision 1.73: +1 -1
lines
- connections are now be hostname not lon machine id
- socket files are by hostname
- lonnet.pm prepends sethost:<lonid>: to each command
- LondConnection takes care of tracking with machine id the lond thinks it
- it strips the sethost command if it's unneeded
- it splits it into two seperate commands that it sends in order
if lond needs to be told
- eventually for lond of late enoyugh heritage it will just
send the whole command
Revision 1.73: download - view: text, markup, annotated - select for diffs
Fri Jan 27 16:35:13 2006 UTC (18 years, 9 months ago) by albertel
Branches: MAIN
CVS tags: version_2_1_X,
version_2_1_3,
version_2_1_2
Diff to previous 1.72: preferred, colored
Changes since revision 1.72: +2 -2
lines
- typo
Revision 1.72: download - view: text, markup, annotated - select for diffs
Mon Aug 29 18:22:48 2005 UTC (19 years, 2 months ago) by albertel
Branches: MAIN
CVS tags: version_2_1_1,
version_2_1_0,
version_2_0_X,
version_2_0_99_1,
version_2_0_2,
version_2_0_1
Diff to previous 1.71: preferred, colored
Changes since revision 1.71: +3 -3
lines
- upping the default number of connection attempts made
Revision 1.71: download - view: text, markup, annotated - select for diffs
Thu Jun 16 22:33:45 2005 UTC (19 years, 4 months ago) by albertel
Branches: MAIN
CVS tags: version_2_0_0,
version_1_99_3,
version_1_99_2,
version_1_99_1,
version_1_99_0
Diff to previous 1.70: preferred, colored
Changes since revision 1.70: +3 -3
lines
- BUg#4128
Revision 1.70: download - view: text, markup, annotated - select for diffs
Thu Jun 9 02:38:03 2005 UTC (19 years, 5 months ago) by albertel
Branches: MAIN
Diff to previous 1.69: preferred, colored
Changes since revision 1.69: +2 -1
lines
- after reseting the ConnectionRetries should update the status indicator
Revision 1.69: download - view: text, markup, annotated - select for diffs
Thu Mar 24 22:57:56 2005 UTC (19 years, 7 months ago) by matthew
Branches: MAIN
CVS tags: version_1_99_1_tmcc,
version_1_99_0_tmcc
Diff to previous 1.68: preferred, colored
Changes since revision 1.68: +16 -4
lines
POD fixups. It no longer throws errors, at least.
Revision 1.68: download - view: text, markup, annotated - select for diffs
Tue Mar 15 01:12:20 2005 UTC (19 years, 8 months ago) by albertel
Branches: MAIN
Diff to previous 1.67: preferred, colored
Changes since revision 1.67: +3 -3
lines
some of BUG 3996
Revision 1.57.2.1: download - view: text, markup, annotated - select for diffs
Wed Jan 19 21:38:25 2005 UTC (19 years, 9 months ago) by albertel
Branches: version_1_2_X
Diff to previous 1.57: preferred, colored next main 1.58: preferred, colored
Changes since revision 1.57: +11 -6
lines
- backport sleep removal, and uppdatestatus fixes 1.66 1.67
Revision 1.67: download - view: text, markup, annotated - select for diffs
Mon Jan 17 22:18:44 2005 UTC (19 years, 9 months ago) by albertel
Branches: MAIN
CVS tags: version_1_3_X,
version_1_3_3,
version_1_3_2
Diff to previous 1.66: preferred, colored
Changes since revision 1.66: +10 -6
lines
- getting rid of the sleep 1, byy using locking instead
Revision 1.66: download - view: text, markup, annotated - select for diffs
Mon Jan 17 20:35:14 2005 UTC (19 years, 9 months ago) by albertel
Branches: MAIN
Diff to previous 1.65: preferred, colored
Changes since revision 1.65: +2 -1
lines
- the status might change throught the course of a Tick in a way that causes Tick()s to stop
so need to update also at the end
Revision 1.65: download - view: text, markup, annotated - select for diffs
Tue Oct 5 11:16:57 2004 UTC (20 years, 1 month ago) by foxr
Branches: MAIN
CVS tags: version_1_3_1,
version_1_3_0,
version_1_2_99_1,
version_1_2_99_0
Diff to previous 1.64: preferred, colored
Changes since revision 1.64: +50 -78
lines
Full signal handling in loncnew. I believe this now works so I have set
DieWhenIdle to true. If there are problems in an emergency, set DieWhenIdle
to 0 and old style behavior (no process trimming) will occur.
Revision 1.64: download - view: text, markup, annotated - select for diffs
Tue Oct 5 10:10:31 2004 UTC (20 years, 1 month ago) by foxr
Branches: MAIN
Diff to previous 1.63: preferred, colored
Changes since revision 1.63: +50 -18
lines
Factor out all the paths in the child that can exit and ensure they
create lock files for the unix domain socket if die when idle is turned
on. Still need signal handling so DO NOT turn on DieWhenIdle unless
you don't care about that.
Revision 1.63: download - view: text, markup, annotated - select for diffs
Mon Oct 4 11:30:45 2004 UTC (20 years, 1 month ago) by foxr
Branches: MAIN
Diff to previous 1.62: preferred, colored
Changes since revision 1.62: +42 -2
lines
Add child exit handling to server trim branch of the develoment. Note:
The other signals are still not appropriately handled. Therefore do not
yet set DieWhenIdle true unless you are just playing around... and certainly
not in production servers.
Revision 1.62: download - view: text, markup, annotated - select for diffs
Mon Oct 4 10:30:50 2004 UTC (20 years, 1 month ago) by foxr
Branches: MAIN
Diff to previous 1.61: preferred, colored
Changes since revision 1.61: +115 -25
lines
Get the subprocess forking to work. A lot of stuff still to do (Handling
child exit for one, signals etc. for another), so pleases still leave
DieWhenIdle false.
Revision 1.61: download - view: text, markup, annotated - select for diffs
Wed Sep 29 10:37:35 2004 UTC (20 years, 1 month ago) by foxr
Branches: MAIN
Diff to previous 1.60: preferred, colored
Changes since revision 1.60: +11 -4
lines
Start adding logic for parent listen. All this is still conditionalized on
the DieWhenIdle variable, and is incomplete. Do not set DieWhenIdle to true
as the current effect is DieBeforeStarting. (RF).
Revision 1.60: download - view: text, markup, annotated - select for diffs
Wed Sep 22 11:11:54 2004 UTC (20 years, 1 month ago) by foxr
Branches: MAIN
Diff to previous 1.59: preferred, colored
Changes since revision 1.59: +38 -22
lines
Add toplevel flow control for switching loncnew to monitoring the
lonnet socket and forking off kids that then die when their connection
count gets trimmed back to 0. All this is conditionalized on the
DieWhenIdle variable which MUST NOT BE SET NONZERO as the support is
incomplete. The variable is there so that I can commit my changes
and continue to test but not affect the current working loncnew
SO KEEP YOUR HANDS OFF IT:
Oh, and by the way, did I mention that you should not modify the
DieWhenIdle variable?
Revision 1.59: download - view: text, markup, annotated - select for diffs
Wed Sep 22 10:46:06 2004 UTC (20 years, 1 month ago) by foxr
Branches: MAIN
Diff to previous 1.58: preferred, colored
Changes since revision 1.58: +6 -5
lines
Remove policy decision that unix domain sockets for lonnet clients must
be connected to an IO event that dispatches to NewClient. This is only
appropriate for the child process. Come the revolution, when the parent
is taking over truly idle lonnet client sockets, things will be different.
Revision 1.58: download - view: text, markup, annotated - select for diffs
Wed Sep 22 10:34:44 2004 UTC (20 years, 1 month ago) by foxr
Branches: MAIN
Diff to previous 1.57: preferred, colored
Changes since revision 1.57: +21 -2
lines
Continue adding latent support for child exit when connection count
trimmed to zero: Allow default host for GetLoncSocketPath and
SetupLoncListener to be optionally parameterized with a loncapa
hostname. The actual server processes will typically not parameterize
these, but the parent/master will.
Revision 1.57: download - view: text, markup, annotated - select for diffs
Wed Sep 22 10:22:50 2004 UTC (20 years, 1 month ago) by foxr
Branches: MAIN
CVS tags: version_1_2_1
Branch point for: version_1_2_X
Diff to previous 1.56: preferred, colored
Changes since revision 1.56: +36 -9
lines
- Factor out link status display into UpdateStatus
- Add a call to UpdateStatus when the connection count goes to zero.
Otherwise, since the Tick clock gets disabled, the ps status never
shows that the process has 0 connections.
- Add/test latent support in Tick for exiting the child process with
a lock file on the unix domain socket when the number of connections
has been trimmed to zero. This is currently disabled (controlled via
the DieWhenIdle variable). Note that since parent logic for fork on
accept has not yet been written, some transactions may fail if this
support is enabled at this time, because there will be a time window
during which the child is being restarted while there is no listen on
the unix domain socket.
Revision 1.56: download - view: text, markup, annotated - select for diffs
Tue Sep 21 10:54:43 2004 UTC (20 years, 1 month ago) by foxr
Branches: MAIN
Diff to previous 1.55: preferred, colored
Changes since revision 1.55: +22 -12
lines
Only allow new connections if there are no connection requests in progress.
This should prevent connection explosions due to short term load spikes.
I believe that connection explosion may also be responsible for transaction
failures due to resource issues.
Revision 1.55: download - view: text, markup, annotated - select for diffs
Mon Sep 20 18:40:06 2004 UTC (20 years, 1 month ago) by albertel
Branches: MAIN
Diff to previous 1.54: preferred, colored
Changes since revision 1.54: +3 -3
lines
- up the number of people we can put on hold
- enable ron's connection increase code
Revision 1.54: download - view: text, markup, annotated - select for diffs
Mon Sep 20 10:27:35 2004 UTC (20 years, 1 month ago) by foxr
Branches: MAIN
Diff to previous 1.53: preferred, colored
Changes since revision 1.53: +9 -3
lines
- Fix a bit of an oops where I forgot to put a $ in front of a var.
- Set up to only increase connection count if there are no connections
in the process of being established... just need change one line to get there.
Revision 1.53: download - view: text, markup, annotated - select for diffs
Mon Sep 20 09:34:31 2004 UTC (20 years, 1 month ago) by foxr
Branches: MAIN
Diff to previous 1.52: preferred, colored
Changes since revision 1.52: +2 -1
lines
Fix the issue where loncnew would rapidly oscillate connections. The problem
was that once it started trimmning connections. they'd all get trimmed out
at the rate of one/sec, rather than at the rate of one /idle timeout
period... needed to reset the idle timeout each time a connection got
trimmed.
Revision 1.52: download - view: text, markup, annotated - select for diffs
Mon Aug 30 11:01:04 2004 UTC (20 years, 2 months ago) by foxr
Branches: MAIN
Diff to previous 1.51: preferred, colored
Changes since revision 1.51: +53 -29
lines
- Completely turn off ticking when there are no connections left.
- Add a bit more foreceful kill logic since there have been 'rumors' of cases where
lonc's don't die appropriately.
- Remove some of the less useful log spew.
Revision 1.51: download - view: text, markup, annotated - select for diffs
Thu Aug 26 12:35:10 2004 UTC (20 years, 2 months ago) by albertel
Branches: MAIN
Diff to previous 1.50: preferred, colored
Changes since revision 1.50: +17 -5
lines
- Decrease Tick length on Idle servers
Revision 1.50: download - view: text, markup, annotated - select for diffs
Fri Jul 2 09:28:14 2004 UTC (20 years, 4 months ago) by albertel
Branches: MAIN
CVS tags: version_1_2_0,
version_1_1_99_5,
version_1_1_99_4,
version_1_1_99_3,
version_1_1_99_2,
version_1_1_99_1
Diff to previous 1.49: preferred, colored
Changes since revision 1.49: +2 -2
lines
- many firewalls out there drop idle tcp connections that have been idl for 10 minutes or more.
Revision 1.49: download - view: text, markup, annotated - select for diffs
Thu Jun 17 22:37:06 2004 UTC (20 years, 4 months ago) by foxr
Branches: MAIN
Diff to previous 1.48: preferred, colored
Changes since revision 1.48: +8 -2
lines
Add connection authmode type to status.
Revision 1.48: download - view: text, markup, annotated - select for diffs
Thu Jun 17 10:15:46 2004 UTC (20 years, 4 months ago) by foxr
Branches: MAIN
Diff to previous 1.47: preferred, colored
Changes since revision 1.47: +4 -4
lines
Turn down the logging volume now that the ssl stuff looks like it's functional.
Revision 1.47: download - view: text, markup, annotated - select for diffs
Tue Jun 1 10:02:13 2004 UTC (20 years, 5 months ago) by foxr
Branches: MAIN
CVS tags: version_1_1_99_0
Diff to previous 1.46: preferred, colored
Changes since revision 1.46: +19 -16
lines
Make parameter passing meet standard using @_ not multiple shifts
or English @ARG.
Revision 1.46: download - view: text, markup, annotated - select for diffs
Tue May 25 15:32:13 2004 UTC (20 years, 5 months ago) by albertel
Branches: MAIN
Diff to previous 1.45: preferred, colored
Changes since revision 1.45: +14 -11
lines
- don't always log Connection status, only when debugging
Revision 1.45: download - view: text, markup, annotated - select for diffs
Tue May 11 19:55:35 2004 UTC (20 years, 6 months ago) by albertel
Branches: MAIN
Diff to previous 1.44: preferred, colored
Changes since revision 1.44: +5 -5
lines
- more xhtmlized
Revision 1.44: download - view: text, markup, annotated - select for diffs
Tue Mar 2 16:25:17 2004 UTC (20 years, 8 months ago) by albertel
Branches: MAIN
Diff to previous 1.43: preferred, colored
Changes since revision 1.43: +2 -2
lines
- Yeah, finally figured out the loncnew goes on a holiday bug
Revision 1.43: download - view: text, markup, annotated - select for diffs
Tue Feb 17 15:09:08 2004 UTC (20 years, 8 months ago) by albertel
Branches: MAIN
Diff to previous 1.42: preferred, colored
Changes since revision 1.42: +12 -12
lines
- retabinate
Revision 1.42: download - view: text, markup, annotated - select for diffs
Tue Feb 17 09:43:21 2004 UTC (20 years, 8 months ago) by foxr
Branches: MAIN
Diff to previous 1.41: preferred, colored
Changes since revision 1.41: +53 -59
lines
- Clean up write logic and factor out common code.
- Fix up some error logic to ensure that:
o All failed transactions fromthe lonc point of view close the
associated connection
o All closures of a lond connection will fail any associated transaction
o A bit of defensive programming when closing a connection that should be
idle to ensure that any bad book-keeping gets cleaned up by failing
the associaed transaction.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Mon Feb 9 13:39:28 2004 UTC (20 years, 9 months ago) by albertel
Branches: MAIN
Diff to previous 1.40: preferred, colored
Changes since revision 1.40: +179 -179
lines
- fix tabination
Revision 1.40: download - view: text, markup, annotated - select for diffs
Mon Feb 9 10:58:03 2004 UTC (20 years, 9 months ago) by foxr
Branches: MAIN
Diff to previous 1.39: preferred, colored
Changes since revision 1.39: +207 -146
lines
Handle the additional states in LondConnection during connection setup.
Get and log the version of our peer.
Revision 1.39: download - view: text, markup, annotated - select for diffs
Tue Jan 13 09:57:18 2004 UTC (20 years, 10 months ago) by foxr
Branches: MAIN
Diff to previous 1.38: preferred, colored
Changes since revision 1.38: +29 -1
lines
Added capability for transaction logging. To toggle between 'normal' operation
and transaction logging and back, send USR2 at a specific lonc daemon.
Transactions are logged in the /home/httpd/perl/lonc.log file with success
status, as normal log messages. Two types of messages are generated:
Transaction: yadayada
Reply from lond: yadayada
Transaction is a request issued to lonc from a local client.
Reply from lond: is a transaction reply.
Note that no effort is made, at this time, to match up transactions and replies or even to tag them, so in a heavily used access server, this logging will be confusing as multiple simultaneous transactions and replies fly back and forth.
For later work, it may be useful to assign transactions a monotonically incrementing serial number and add that serial number to log messages that are relevant
to that transaction (sort of like the mail id you see in an smtp log file).
Revision 1.38: download - view: text, markup, annotated - select for diffs
Mon Jan 5 09:29:36 2004 UTC (20 years, 10 months ago) by foxr
Branches: MAIN
Diff to previous 1.37: preferred, colored
Changes since revision 1.37: +22 -6
lines
Add additional status output for SIGUSR1:
- In the status file give the status of each of the connections as well
as (implicitly) the connection count.
- In the error file /home/httpd/perl/logs/lonc_error dump the state of each
connection (depends on update to LondConnection.pm to redirect Dump to STDERR)
The idea is that if you have some weird state in loncnew perhaps this will give enough information to diagnose this or at least get started.
Revision 1.37: download - view: text, markup, annotated - select for diffs
Tue Dec 16 16:12:19 2003 UTC (20 years, 10 months ago) by albertel
Branches: MAIN
CVS tags: version_1_1_X,
version_1_1_3,
version_1_1_2,
version_1_1_1,
version_1_1_0,
version_1_0_99_3
Diff to previous 1.36: preferred, colored
Changes since revision 1.36: +3 -3
lines
- better fix for handling the connection Count issue
Revision 1.36: download - view: text, markup, annotated - select for diffs
Mon Dec 15 23:30:57 2003 UTC (20 years, 11 months ago) by albertel
Branches: MAIN
Diff to previous 1.35: preferred, colored
Changes since revision 1.35: +2 -2
lines
- I am seeing negative Connection Counts, (BUG#2502) Forcing it to zero if this happens.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Fri Dec 12 09:57:28 2003 UTC (20 years, 11 months ago) by foxr
Branches: MAIN
CVS tags: version_1_0_99_2
Diff to previous 1.34: preferred, colored
Changes since revision 1.34: +4 -8
lines
Simplify the connection timeout logic... iterate over all active connections
that are not idle.
Revision 1.34: download - view: text, markup, annotated - select for diffs
Thu Dec 11 23:18:37 2003 UTC (20 years, 11 months ago) by albertel
Branches: MAIN
Diff to previous 1.33: preferred, colored
Changes since revision 1.33: +9 -1
lines
- connections could get frozen in the connectiong state if the remote end accepted the connection but never got back to us on any of our commands BUG#2488
Revision 1.33: download - view: text, markup, annotated - select for diffs
Tue Nov 25 10:14:40 2003 UTC (20 years, 11 months ago) by foxr
Branches: MAIN
CVS tags: version_1_0_99_1,
version_1_0_99
Diff to previous 1.32: preferred, colored
Changes since revision 1.32: +2 -2
lines
Remove debug flag from event timer setup.
Revision 1.32: download - view: text, markup, annotated - select for diffs
Fri Nov 21 19:27:18 2003 UTC (20 years, 11 months ago) by albertel
Branches: MAIN
Diff to previous 1.31: preferred, colored
Changes since revision 1.31: +1 -103
lines
- removing Debugging use lib
- removing change log
Revision 1.31: download - view: text, markup, annotated - select for diffs
Tue Oct 28 10:48:10 2003 UTC (21 years ago) by foxr
Branches: MAIN
Diff to previous 1.30: preferred, colored
Changes since revision 1.30: +6 -1
lines
Call LondConnection::ReadConfig explicitly so that the configuration is loaded
prior to getting the hosts table hashiterator.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Mon Oct 27 10:09:21 2003 UTC (21 years ago) by foxr
Branches: MAIN
Diff to previous 1.29: preferred, colored
Changes since revision 1.29: +10 -7
lines
Tighten up a few compares to eq and flip a few debug levels around... nothing
critical
Revision 1.29: download - view: text, markup, annotated - select for diffs
Tue Oct 21 14:24:42 2003 UTC (21 years ago) by foxr
Branches: MAIN
Diff to previous 1.28: preferred, colored
Changes since revision 1.28: +23 -18
lines
Fix little typo that may explain growth of connections
Revision 1.28: download - view: text, markup, annotated - select for diffs
Tue Oct 14 15:36:21 2003 UTC (21 years, 1 month ago) by albertel
Branches: MAIN
Diff to previous 1.27: preferred, colored
Changes since revision 1.27: +5 -2
lines
- making it easier to run loncnew,
/etc/init.d/loncontrol startnew
/etc/init.d/loncontrol restartnew
will now start loncnew in place of lonc
Revision 1.27: download - view: text, markup, annotated - select for diffs
Tue Oct 7 11:23:03 2003 UTC (21 years, 1 month ago) by foxr
Branches: MAIN
Diff to previous 1.26: preferred, colored
Changes since revision 1.26: +83 -3
lines
Installed and tested code to process reinit in parent server.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Tue Sep 30 11:11:17 2003 UTC (21 years, 1 month ago) by foxr
Branches: MAIN
Diff to previous 1.25: preferred, colored
Changes since revision 1.25: +11 -1
lines
Add book-keeping hashes to support the re-init procedure.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Tue Sep 23 11:22:14 2003 UTC (21 years, 1 month ago) by foxr
Branches: MAIN
Diff to previous 1.24: preferred, colored
Changes since revision 1.24: +6 -8
lines
Tested ability to receive sigusr2 This is now logged and must be
properly implemented as a re-read of hosts and re-init of appropriate
children.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Tue Sep 16 09:46:42 2003 UTC (21 years, 1 month ago) by foxr
Branches: MAIN
Diff to previous 1.23: preferred, colored
Changes since revision 1.23: +35 -1
lines
Added skeletal infrastructure to support SIGUSR2 update hosts request.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Mon Sep 15 09:24:49 2003 UTC (21 years, 2 months ago) by foxr
Branches: MAIN
Diff to previous 1.22: preferred, colored
Changes since revision 1.22: +33 -24
lines
Add use strict and fix all the fallout from that.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Tue Sep 2 10:34:47 2003 UTC (21 years, 2 months ago) by foxr
Branches: MAIN
Diff to previous 1.21: preferred, colored
Changes since revision 1.21: +46 -11
lines
- Fix errors in host dead detection logic (too many cases where the
retries left were not getting incremented or just not checked).
- Added some additional status to the ps axuww display:
o Remaining retries on a host.
o >>> DEAD <<< indicator if I've given up on a host.
- Tested the SIGHUP will reset the retries remaining count (thanks to
the above status stuff, and get allow the loncnew to re-try again
on the host (thanks to the log).
Revision 1.21: download - view: text, markup, annotated - select for diffs
Tue Aug 26 09:19:51 2003 UTC (21 years, 2 months ago) by foxr
Branches: MAIN
Diff to previous 1.20: preferred, colored
Changes since revision 1.20: +6 -2
lines
How embarrassing... put in the SocketTimeout function in loncnew and forgot
to actually hook it into the LondTransaction. Added this to MakeLondConnection
where it belongs... hopefully transactions (not just connection attempts) will
timeout more speedily than the socket errors will catch it.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Mon Aug 25 18:48:11 2003 UTC (21 years, 2 months ago) by albertel
Branches: MAIN
Diff to previous 1.19: preferred, colored
Changes since revision 1.19: +6 -2
lines
- fixing a forgotten ;
Revision 1.19: download - view: text, markup, annotated - select for diffs
Tue Aug 19 09:31:46 2003 UTC (21 years, 2 months ago) by foxr
Branches: MAIN
Diff to previous 1.18: preferred, colored
Changes since revision 1.18: +5 -2
lines
Get socket directory from configuration rather than the old hard coded test
way that I forgot to un-hard code.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Wed Aug 6 09:52:29 2003 UTC (21 years, 3 months ago) by foxr
Branches: MAIN
CVS tags: version_1_0_3,
version_1_0_2,
version_1_0_1,
version_1_0_0,
version_0_99_5,
version_0_99_4
Diff to previous 1.17: preferred, colored
Changes since revision 1.17: +10 -1
lines
Also needed to remember to fail in-flight transactions if their sends fail.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun Aug 3 00:44:31 2003 UTC (21 years, 3 months ago) by foxr
Branches: MAIN
Diff to previous 1.16: preferred, colored
Changes since revision 1.16: +24 -13
lines
1. Correct handling of connection failure: Assume it means the host is
unreachable and fail all of the queued transactions. Note that the
inflight transactions should fail on their own time due either to timeout
or send/receive failures.
2. Correct handling of logs for forced death signals. Pull the signal
from the event watcher.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Tue Jul 29 02:33:05 2003 UTC (21 years, 3 months ago) by foxr
Branches: MAIN
Diff to previous 1.15: preferred, colored
Changes since revision 1.15: +27 -8
lines
Add SIGINT processing to child processes to toggle annoying trace mode
on/off.. will try to use this to isolate the compute boud process issue.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Tue Jul 15 02:07:05 2003 UTC (21 years, 4 months ago) by foxr
Branches: MAIN
Diff to previous 1.14: preferred, colored
Changes since revision 1.14: +33 -3
lines
Added code for lonc/lond transaction timeouts. Who knows if it works right.
The intent is for a timeout to fail any transaction in progress and kill
off the sockt that timed out.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Thu Jul 3 02:10:18 2003 UTC (21 years, 4 months ago) by foxr
Branches: MAIN
Diff to previous 1.13: preferred, colored
Changes since revision 1.13: +103 -20
lines
Get all of the signals to work correctly.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Jul 2 01:31:55 2003 UTC (21 years, 4 months ago) by foxr
Branches: MAIN
Diff to previous 1.12: preferred, colored
Changes since revision 1.12: +19 -1
lines
Added kill -HUP logic (restart).
Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Jul 2 01:12:35 2003 UTC (21 years, 4 months ago) by foxr
Branches: MAIN
Diff to previous 1.11: preferred, colored
Changes since revision 1.11: +49 -13
lines
- Add some debugging to killthemall
- Add better error handling to LondReadable
- Remove tick logging in the timer handler.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Wed Jun 25 01:54:44 2003 UTC (21 years, 4 months ago) by foxr
Branches: MAIN
CVS tags: version_0_99_3
Diff to previous 1.10: preferred, colored
Changes since revision 1.10: +11 -6
lines
Fix more problems with transaction failure.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue Jun 24 02:46:04 2003 UTC (21 years, 4 months ago) by foxr
Branches: MAIN
Diff to previous 1.9: preferred, colored
Changes since revision 1.9: +83 -28
lines
Put a limit on the number of times we'll retry a connection.
Start getting the signal stuff put in as well...note that need to get signals
going or else 6the client will permanently give up on dead servers.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri Jun 13 02:38:43 2003 UTC (21 years, 5 months ago) by foxr
Branches: MAIN
CVS tags: version_0_99_2
Diff to previous 1.8: preferred, colored
Changes since revision 1.8: +109 -19
lines
Add logging in 'expected format'
Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Jun 11 02:04:35 2003 UTC (21 years, 5 months ago) by foxr
Branches: MAIN
Diff to previous 1.7: preferred, colored
Changes since revision 1.7: +51 -29
lines
Support delayed transactions... this is done uniformly by encapsulating
transactions in an object ... a LondTransaction that is implemented by
LondTransaction.pm
Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue Jun 3 01:59:39 2003 UTC (21 years, 5 months ago) by foxr
Branches: MAIN
CVS tags: conference_2003
Diff to previous 1.6: preferred, colored
Changes since revision 1.6: +88 -48
lines
complete coding to support deferred transactions.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon May 5 23:40:27 2003 UTC (21 years, 6 months ago) by foxr
Branches: MAIN
CVS tags: version_0_99_1,
version_0_99_0
Diff to previous 1.5: preferred, colored
Changes since revision 1.5: +129 -65
lines
>>>>UNTESTED<<<<<
Add beginnings of code for delayed transactions...
Add code to fork off into separate session...
>>>>UNTESTED<<<<
Comitting prior to ripping guts out to re-cast the transaction as an object
so that state/history/etc. can be more easily carried with it (need to do that
to know when to retire a delayed transaction).
Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Apr 29 03:24:51 2003 UTC (21 years, 6 months ago) by foxr
Branches: MAIN
Diff to previous 1.4: preferred, colored
Changes since revision 1.4: +92 -33
lines
- Add a bit more error checking on write fails.
- Write pid file.
- If a tick goes by and there's work to do but no connections attempt
to start connections to process the work (can happen on initial
connection fail.. this retries once per second).
Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Apr 24 10:56:55 2003 UTC (21 years, 6 months ago) by foxr
Branches: MAIN
Diff to previous 1.3: preferred, colored
Changes since revision 1.3: +107 -5
lines
Added code to roll back connection counts. Also added code to show
status of daemon on ps -axuww: show who 'I'm connected to and current connection
count
Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Apr 18 03:10:36 2003 UTC (21 years, 6 months ago) by albertel
Branches: MAIN
Diff to previous 1.2: preferred, colored
Changes since revision 1.2: +250 -120
lines
- correcting pod documentation so that 'perldoc loncnew' runs and generates something that looks reasonable
Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Apr 18 02:59:31 2003 UTC (21 years, 6 months ago) by albertel
Branches: MAIN
Diff to previous 1.1: preferred, colored
Changes since revision 1.1: +27 -0
lines
- add GNU GPL headers
Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Apr 18 02:39:20 2003 UTC (21 years, 6 months ago) by foxr
Branches: MAIN
loncnew - lonc daemon the next generation. This version of lonc is capable
of running multiple connections to lond's in the target hosts; This commit
moves loncnew from the experimental sandbox to the mainline development area,
as it has achieved minimally useful functionality
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>