Comments (18)
cpu 和 内存正常吗,抓包看下 overview 里面的 serverip
from nohost.
cpu 和内存明显高很多,这种状态下抓不了包,cgi/bin/get-data 接口都502了
from nohost.
@avwo 大佬,现在这个问题不好复现,能提供些排查思路吗
from nohost.
cgi-bin/get-data 本身不会返回 502,看看响应头 502 是哪个服务返回的
from nohost.
@avwo 大佬,我这两天在关键位置加了日志进行排查,发现用户使用密集的时候,这个进程就触发关闭了。
同时在这块监听了一下日志:
process.on('pforkError', (data) => {
logger.info('调试点3_1_4:>>' + JSON.stringify(data))
})
收集信息如下:
[2023-08-08 15:42:51] [info: 调试点3_1_4:>>{"script":"/export/App/lib/whistle.js","message":"unknown"}]
没有返回什么有效信息
from nohost.
估计进程等 cpu 爆了,pfork 有个心跳,超过一定时间没响应会自动 kill 掉进程,不要把所有请求集中在一个账号里面
from nohost.
这个进程30013端口,是启动 whistle.nohost 插件的那个进程,所有流量都要集中在这里
from nohost.
流量有多大,怎么启动的,有没有开启抓包功能
from nohost.
就是部署 nohost 源码启动的,启动方式 node ./bin/nohost.js start -o www.***.com
from nohost.
主进程有没有开启抓包功能
from nohost.
主进程抓包有没有开启,在哪块可以看呢,抓包都是在用户的进程下面,主进程的启动配置是按照源码来的
from nohost.
我也是这个情况。部署在团队内一个配置较低的 macmini 上。
稳定跑了半个月左右就开始 502 错误。重启服务没能解决。
from nohost.
你 macmini 系统详细配置多少?
多少人使用呢
from nohost.
i5 双核 16g。日常 10 人左右在用~
刚才重启了下机器还是 502。
不过又试了下抓百度是没问题的。
可能是我们自己网关做了什么限制。
from nohost.
如果部署在 80 或 443 端口,换成 8080 端口试试
from nohost.
如果部署在 80 或 443 端口,换成 8080 端口试试
大佬,这个和端口有啥关系吗,可否详细指点下😊
from nohost.
80、443端口会被扫描,导致出现很多不必要的请求压垮进程
from nohost.
80、443端口会被扫描,导致出现很多不必要的请求压垮进程
非常感谢。从 80 端口换成 8899 端口后可以正常访问服务了。
from nohost.
Related Issues (20)
- nohost重启后设备环境需要重新选择 HOT 2
- nohost上传了证书了,但是使用nohost client需要下载client证书 HOT 1
- 自定义clientIp绑定逻辑 HOT 1
- 无法使用autosave插件 HOT 21
- client设置了多个请求头规则,但是只有 x-whistle-client-id 生效了 HOT 5
- 上传证书之后会将证书域名增加到入口规则 HOT 3
- baseDir 绝对路径(如 /data/.nohost )配置不生效 HOT 2
- nohost 部署在云函数报错 non-error thrown: node: bad option: --tls-min-v1.0 HOT 2
- 在账号抓包界面中,生成二维码地址有误 HOT 4
- nohost对接本地的whistle后,当去除接入规则后,whistle的自有规则受到影响 HOT 6
- macos 13 ventura系统版本中使用发生闪退 HOT 5
- 默认的正式环境能否禁用 HOT 1
- 账密加密使用sha1不够安全
- 这里的证书和key如何配置呀 HOT 1
- 偶发网站无法访问,需要过段时间才能访问 HOT 7
- 这里如果是app抓包,是怎么控制多环境的呢 HOT 1
- 同一局域网多用户同时使用环境冲突问题 HOT 1
- 如何开启whistle socks HOT 3
- 切换环境失败问题 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nohost.