CrushMFT Documentation

The control panel#

The control panel is a small window for the server on the machine it runs on. It opens when you start CrushMFT with no further word: a double-click on CrushMFT.exe on Windows, or on the CrushMFT app on a Mac.

It is for the first setup, and for looking after a server when the admin pages cannot help: before there is an administrator, when nobody can log in, when the server does not start.

It is not an installer. There are no steps to click through; everything is on the screen at once, and closing the window ends it. It puts no icon into the system tray, and the server does not need it to run.

Linux has no control panel. There the same things are done with the start script and the command line: Install on Linux, Command line.

The window#

At the top: the name and version, the folder of this copy of CrushMFT, and one state: service running, temporary server running, service stopped, not installed.

Under it, four tabs.

Overview#

Card Shows and does
Setup three checks: an admin user exists, the service is installed, the server is running. When a server runs, links to its admin pages.
Service (Windows), Daemon (macOS) its state, with its process number and when it started; its name; the program it runs. Install, Start, Stop, Restart, Remove. On Windows also Run as account. A warning when the installed service belongs to another copy of CrushMFT on the machine.
Listeners the ports the server opens, from its settings. While no server runs, each is tried once: a port that another program already holds shows before the first start.
Memory what the server starts Java with, the machine's memory, and a suggestion. Megabytes, or a share such as 50%. It counts at the next start; Restart is beside it when the service runs.
Admin users the administrators there are. Add one: name, password, the connection group if there are several. A warning for easy names. A click on a name opens the reset of that user's password.
This copy the version, and Register for entering a licence
Temporary server runs the server for as long as the window is open, without any service. Its uptime, sessions, memory and output. Not offered while the service runs from this folder.

Install, Start, Remove and the service's account need an administrator's consent, which the system asks for. Stop and Restart of a service that runs from this folder do not.

Banners at the top warn when the folder cannot be written to, and when the installed service belongs to another copy.

Monitor#

What the server of this folder is doing, renewed every few seconds while the tab is open.

Processor of the server and of the whole machine, with a line over the last minutes
Memory heap in use, the most allowed, and what the memory is set to
Threads running, waiting, blocked, the peak
Activity sessions, downloads and uploads with their speeds, jobs
Busiest threads the threads that used the most processor since the last look, each with the top of what it is doing. Often this answers "why is it busy" without a thread dump.
This Java uptime, process number, Java version, memory outside the heap, open files, garbage collection, logins

Buttons: Thread dump, Heap dump, Memory…. The dumps are taken of whichever server runs, the service or the temporary one. A heap dump is written into the folder heap_dumps, readable by its owner only: see Thread dumps and what to send support.

Log#

The whole window for one log: the server's CrushMFT.log, the Windows service's log, the Mac app's own log when there is one, or the output of the temporary server.

how much the last 500 to 5,000 lines
Filter shows the lines that hold a text: "17 of the last 480 lines match"
Wrap breaks long lines
following the view follows the end of the log; scrolling up stops that, scrolling back to the end starts it again
Copy what is shown
Show the file opens the folder

Tools#

Tool Does
Get back in sets a new password for any user, with Make one for a random one. For the administrator who forgot theirs.
Banned addresses lists the addresses the server refuses, with reason and end, and lifts a ban. For when you banned yourself.
Registration enters a licence
Roll back to an earlier version puts the program back to a version the server kept at an update. Only the program: settings, users and data stay as they are. The version in place is kept first, so a rollback can be undone.
Diagnostic capture writes a zip for support into the folder diagnostics. Nothing is sent anywhere: you send it. See below.

How the panel reaches a running server#

A change, such as a new password, goes to whichever server of this folder runs:

  • the temporary server is the panel's own child;
  • the service is reached through a port that only answers on the machine itself, and only to a program that can write into the same CrushMFT folder. Nothing restarts.
  • when nothing runs, the panel writes the change into the files.

The server's log notes each such change: "Control panel:" and what was done.

The diagnostic capture#

In the zip
always a summary, what the panel showed, the program files with their sizes and checksums, the versions kept, Java's settings
while a server runs two samples of what it is doing, a thread dump, the bans
with Logs ticked the end of CrushMFT.log and of the service's log, and the newest thread dumps
with Settings ticked the settings file and the memory settings

Values that can be secrets are blanked: passwords, keys, tokens, the licence code, and passwords inside addresses. No user's files and no list of users are in it. Look into the zip before you send it all the same.

Starting the panel#

System How
Windows double-click CrushMFT.exe in the CrushMFT folder
macOS double-click the CrushMFT app in the CrushMFT folder

The window uses the system's web view. Where Windows has none (WebView2 is missing on many Windows Servers) the same page opens in the default browser, and the panel ends by itself some minutes after the page was closed.

Things to know#

  • The panel works on the folder it was started from. Two copies of CrushMFT on one machine have two panels.
  • Whoever can open the panel can make an administrator. It needs no login: being able to write into the CrushMFT folder is the proof. Protect the folder and the machine accordingly.
  • Closing the window stops the temporary server, after asking. It never stops the service.
  • Windows on ARM gets the page in the browser.

Not tried for this page#

The control panel was not opened for this page. It is written from its design and build record. That record says what was tested when it was built: the page and what it does, in a browser, on a Mac; and that the window itself had not been opened and nothing had been run on Windows.