Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

process stop #1216

Open
chenjianquan7 opened this issue Apr 26, 2024 · 1 comment
Open

process stop #1216

chenjianquan7 opened this issue Apr 26, 2024 · 1 comment
Labels

Comments

@chenjianquan7
Copy link

FACT version

4.1.1

Environment

ubuntu20

Steps to reproduce

[2024-04-25 20:17:48][process][ERROR]: �[91mException in Analysis process:
Traceback (most recent call last):
File "/home/chenjianquan/FACT_core-4.1.1/src/helperFunctions/process.py", line 83, in run
Process.run(self)
File "/usr/lib/python3.8/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/home/chenjianquan/FACT_core-4.1.1/src/analysis/PluginBase.py", line 214, in worker
self.worker_processing_with_timeout(worker_id, next_task)
File "/home/chenjianquan/FACT_core-4.1.1/src/analysis/PluginBase.py", line 173, in worker_processing_with_timeout
process.start()
File "/usr/lib/python3.8/multiprocessing/process.py", line 121, in start
self._popen = self._Popen(self)
File "/usr/lib/python3.8/multiprocessing/context.py", line 224, in _Popen
return _default_context.get_context().Process._Popen(process_obj)
File "/usr/lib/python3.8/multiprocessing/context.py", line 277, in _Popen
return Popen(process_obj)
File "/usr/lib/python3.8/multiprocessing/popen_fork.py", line 16, in init
util._flush_std_streams()
File "/usr/lib/python3.8/multiprocessing/util.py", line 439, in _flush_std_streams
sys.stderr.flush()
OSError: [Errno 5] Input/output error

Observed Behavior

[2024-04-25 20:17:48][process][ERROR]: �[91mException in Analysis process:
Traceback (most recent call last):
File "/home/chenjianquan/FACT_core-4.1.1/src/helperFunctions/process.py", line 83, in run
Process.run(self)
File "/usr/lib/python3.8/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/home/chenjianquan/FACT_core-4.1.1/src/analysis/PluginBase.py", line 214, in worker
self.worker_processing_with_timeout(worker_id, next_task)
File "/home/chenjianquan/FACT_core-4.1.1/src/analysis/PluginBase.py", line 173, in worker_processing_with_timeout
process.start()
File "/usr/lib/python3.8/multiprocessing/process.py", line 121, in start
self._popen = self._Popen(self)
File "/usr/lib/python3.8/multiprocessing/context.py", line 224, in _Popen
return _default_context.get_context().Process._Popen(process_obj)
File "/usr/lib/python3.8/multiprocessing/context.py", line 277, in _Popen
return Popen(process_obj)
File "/usr/lib/python3.8/multiprocessing/popen_fork.py", line 16, in init
util._flush_std_streams()
File "/usr/lib/python3.8/multiprocessing/util.py", line 439, in _flush_std_streams
sys.stderr.flush()
OSError: [Errno 5] Input/output error

Expeced Behavior

[2024-04-25 20:17:48][process][ERROR]: �[91mException in Analysis process:
Traceback (most recent call last):
File "/home/chenjianquan/FACT_core-4.1.1/src/helperFunctions/process.py", line 83, in run
Process.run(self)
File "/usr/lib/python3.8/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/home/chenjianquan/FACT_core-4.1.1/src/analysis/PluginBase.py", line 214, in worker
self.worker_processing_with_timeout(worker_id, next_task)
File "/home/chenjianquan/FACT_core-4.1.1/src/analysis/PluginBase.py", line 173, in worker_processing_with_timeout
process.start()
File "/usr/lib/python3.8/multiprocessing/process.py", line 121, in start
self._popen = self._Popen(self)
File "/usr/lib/python3.8/multiprocessing/context.py", line 224, in _Popen
return _default_context.get_context().Process._Popen(process_obj)
File "/usr/lib/python3.8/multiprocessing/context.py", line 277, in _Popen
return Popen(process_obj)
File "/usr/lib/python3.8/multiprocessing/popen_fork.py", line 16, in init
util._flush_std_streams()
File "/usr/lib/python3.8/multiprocessing/util.py", line 439, in _flush_std_streams
sys.stderr.flush()
OSError: [Errno 5] Input/output error

Installation logs

install.log
PASTE HERE

Backend logs

fact_main_backend.log
PASTE HERE

Frontend logs

fact_main_frontend.log
PASTE HERE

Other information

No response

@jstucke
Copy link
Collaborator

jstucke commented Apr 26, 2024

It seems an analysis process unexpectedly crashed before even really starting, because the forked process was unable to access stderr. It's hard to tell what may have caused this without context. Could be a system-related issue (too many open files, full RAM, full drive, or something similar)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants