The kernel module is the root of the module tree, and is always present when sconeserver is running. Its main task is to manage the simultaneous handling of client connections, dispatching events to the relevant modules where appropriate.
The kernel module's configuration file is used to:
- Set any global options.
- Load the main modules.
In addition to the standard module interface, it also has the following:
|jobs||String||Returns a string describing the current system jobs and their states.|
|root||Bool||Is the process running as root (superuser)?|
|thread_pool||Int||The number of threads in the thread pool.|
|latency||Int||Multiplexer latency in microseconds.|
|system_nodename||String||The system hostname.|
|system_version||String||The system version. On Linux, this gives the running kernel version.|
|system_hardware||String||The system architecture.|
- restart () [Admin]
- Restart sconeserver.
- shutdown () [Admin]
- Shutdown sconeserver.
- set_user ( name : String ) [Admin]
- Set the user which sconeserver is running as.
- set_thread_pool ( num_threads : Int ) [Admin]
- Set the number of threads to use.
- set_latency ( latency : Int ) [Admin]
- Set the multiplexer latency in microseconds. This is the timeout used in the multiplexer's select() call, which governs how often non-descriptor jobs are polled for readiness. Setting this value too low will result in the process consuming more CPU time. A value of 1000000 (1 second) is used as default.