Linspector - FAQ
Table of contents
General
Is it posible to daemonize Linspector?
No. Linspector is an interactive software which provides a terminal based frontend called Lish for maintenance tasks. Daemonizing makes no sense. Maybe daemonizing will be added in the future. Just start Linspector in a screen or tmux session and detach. This is how we are doing it.
Will Linspector provide a RPC interface for management?
Yes. Linspector will provide a JSON-RPC based interface.
Is a web interface planned in Linspector?
No. Linspector will not provide a web interface for management. BTW, there will be a seperate project called WebLin which provides a web interface for Linspector. WebLin will make use of the JSON-RPC interface provided by Linspector.
Errors
I got "error: can't start new thread" in Lish. What happened?
The Error looks like this:
Exception in thread APScheduler: Traceback (most recent call last): File "/usr/lib64/python2.7/threading.py", line 808, in __bootstrap_inner self.run() File "/usr/lib64/python2.7/threading.py", line 761, in run self.__target(*self.__args, **self.__kwargs) File "/usr/lib64/python2.7/site-packages/apscheduler/scheduler.py", line 581, in _main_loop next_wakeup_time = self._process_jobs(now) File "/usr/lib64/python2.7/site-packages/apscheduler/scheduler.py", line 547, in _process_jobs self._threadpool.submit(self._run_job, job, run_times) File "/usr/lib64/python2.7/site-packages/apscheduler/threadpool.py", line 105, in submit self._adjust_threadcount() File "/usr/lib64/python2.7/site-packages/apscheduler/threadpool.py", line 58, in _adjust_threadcount self._add_thread(self.num_threads < self.core_threads) File "/usr/lib64/python2.7/site-packages/apscheduler/threadpool.py", line 65, in _add_thread t.start() File "/usr/lib64/python2.7/threading.py", line 743, in start _start_new_thread(self.__bootstrap, ()) error: can't start new thread
If you are getting this error message and all scheduled jobs are shutting down, you have reached the maximum allowed number of processes running for your user. Please refer to the documentation of your OS for setting this value higher.