weideguo / solve Goto Github PK
View Code? Open in Web Editor NEWSimple command deliver server
License: MIT License
Simple command deliver server
License: MIT License
运行任务时如果终止任务,当前正在执行的或者已经加入执行队列的命令,会继续执行,因而真正停止是在此之后。
一个任务存在多个执行对象并发,命令插入执行队列cmd_xxx可能出现问题,表现为执行队列没有数据,但没有任何报错
可以正确执行到 core/cluster_exe.py#L412
但没有这里的输出信息 /core/abstract/abstract_host.py#L78
因而有可能是执行这个 /core/cluster_exe.py#L436 出现未知错误
只对一台主机执行,当并发数为400+时错误日志出现
File "/data/solve/core/abstract/abstract_host.py", line 99, in single_run
stdout, stderr, exit_code=self.exe_cmd(cmd,background_log_set=gen_background_log_set(cmd_uuid,self.redis_log_client),ip_tag=ip_tag)
File "/data/solve/lib/myssh.py", line 63, in exe_cmd
stdin, stdout, stderr = self.ssh_client.exec_command(cmd)
File "/usr/local/lib/python3.7/site-packages/paramiko/client.py", line 508, in exec_command
chan = self._transport.open_session(timeout=timeout)
File "/usr/local/lib/python3.7/site-packages/paramiko/transport.py", line 879, in open_session
timeout=timeout,
File "/usr/local/lib/python3.7/site-packages/paramiko/transport.py", line 1017, in open_channel
raise e
paramiko.ssh_exception.ChannelException: ChannelException(1, 'Administratively prohibited')
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.