Brian Adkins <lojicdotcomNOSPAM@gmail.com> wrote:
+---------------
| Marc Battyani wrote:
| > As for "industrial strength", today cl-user.net has an uptime of 456 days,
| > has served 130306440 requests so far and it's still the same Lispworks
| > process since the beginning. The other applications all have a similar
| > uptime.
|
| So have you modified the code during the 456 days? If so, can you
| enlighten me a bit. Did you connect to the running Lispworks process
| from another machine? Very curious.
+---------------
Not sure how Marc does it, but on the machines I support that
are running CMUCL-based application servers (behind Apache), the
application server has a REPL listener pending on a Unix-domain
socket (a.k.a. local-domain a.k.a. AF_POSIX). Then I just SSH to
the server host, and once there I Telnet[1] to the REPL socket,
which is protected by both filesystem permissions and a password.
Then I can look at stats, LOAD new versions of functions, etc.
-Rob
[1] Recent BSD-derived "Telnet" supports connecting to Unix-domain
sockets ["telnet /foo/bar"], though Linux doesn't seem to have
picked that up yet. On Linux servers I just use Dan Barlow's
"detachtty/attachtty" on the actual top-level REPL. Same thing.
-----
Rob Warnock <rpw3@rpw3.org>
627 26th Avenue <URL:http://rpw3.org/>
San Mateo, CA 94403 (650)572-2607