rysinal

rysinal 查看完整档案

填写现居城市  |  填写毕业院校  |  填写所在公司/组织填写个人主网站
编辑
_ | |__ _ _ __ _ | '_ \| | | |/ _` | | |_) | |_| | (_| | |_.__/ \__,_|\__, | |___/ 该用户太懒什么也没留下

个人动态

rysinal 回答了问题 · 9月17日

解决nexus3上传docker镜像报错EOF

关注 1 回答 1

rysinal 提出了问题 · 8月4日

解决nexus3上传docker镜像报错EOF

RT:
docker login 私服正常,网页打开nexus3管理端正常。
docker push的时候EOF异常:

1a6dd0fe761d: Preparing
1a6dd0fe761d: Pushing [==================================================>]  34.79MB/34.79MB
1731012b8e30: Layer already exists
0db1c93dd886: Layer already exists
2104e5b926f6: Preparing
2104e5b926f6: Layer already exists

EOF

查看nexus3的日志为:

org.sonatype.nexus.blobstore.api.BlobStoreException: BlobId: path$nexus-repository-docker/e379b6e1-7f89-4b22-b2d8-3a82c8deef6d/1596539444735, java.io.IOException: java.util.concurrent.TimeoutException: Idle timeout expired: 30000/30000 ms, Cause: java.util.concurrent.TimeoutException: Idle timeout expired: 30000/30000 ms

at org.sonatype.nexus.blobstore.file.FileBlobStore.tryCreate(FileBlobStore.java:372)

at org.sonatype.nexus.blobstore.file.FileBlobStore.create(FileBlobStore.java:308)

at org.sonatype.nexus.blobstore.file.FileBlobStore.doCreate(FileBlobStore.java:289)

at org.sonatype.nexus.blobstore.BlobStoreSupport.create(BlobStoreSupport.java:127)

at org.sonatype.nexus.common.stateguard.MethodInvocationAction.run(MethodInvocationAction.java:39)

at org.sonatype.nexus.common.stateguard.StateGuard$GuardImpl.run(StateGuard.java:272)

at org.sonatype.nexus.common.stateguard.GuardedInterceptor.invoke(GuardedInterceptor.java:53)

at org.sonatype.nexus.blobstore.BlobStoreSupport.create(BlobStoreSupport.java:111)

at org.sonatype.nexus.common.stateguard.MethodInvocationAction.run(MethodInvocationAction.java:39)

at org.sonatype.nexus.common.stateguard.StateGuard$GuardImpl.run(StateGuard.java:272)

at org.sonatype.nexus.common.stateguard.GuardedInterceptor.invoke(GuardedInterceptor.java:53)

at org.sonatype.nexus.repository.docker.internal.Upload.addBlob(Upload.java:125)

at org.sonatype.nexus.repository.docker.internal.UploadManagerImpl.add(UploadManagerImpl.java:77)

at org.sonatype.nexus.repository.docker.internal.DockerHostedFacetImpl.uploadBlobRange(DockerHostedFacetImpl.java:588)

at org.sonatype.nexus.repository.docker.internal.DockerHostedFacet$uploadBlobRange$3.call(Unknown Source)

at org.sonatype.nexus.repository.docker.internal.V2Handlers$_closure4.doCall(V2Handlers.groovy:137)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)

at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)

at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:264)

at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)

at groovy.lang.Closure.call(Closure.java:420)

at org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:54)

at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:124)

at com.sun.proxy.$Proxy190.handle(Unknown Source)

at org.sonatype.nexus.repository.view.Context.proceed(Context.java:80)

at org.sonatype.nexus.repository.storage.UnitOfWorkHandler.handle(UnitOfWorkHandler.java:39)

at org.sonatype.nexus.repository.view.Context.proceed(Context.java:80)

at com.sonatype.nexus.clm.internal.FirewallContributedHandler.handle(FirewallContributedHandler.java:96)

at org.sonatype.nexus.repository.view.Context.proceed(Context.java:80)

at org.sonatype.nexus.repository.view.handlers.HandlerContributor.handle(HandlerContributor.java:67)

at org.sonatype.nexus.repository.view.Context.proceed(Context.java:80)

at org.sonatype.nexus.repository.security.SecurityHandler.handle(SecurityHandler.java:51)

at org.sonatype.nexus.repository.view.Context.proceed(Context.java:80)

at org.sonatype.nexus.repository.view.Context$proceed.call(Unknown Source)

at org.sonatype.nexus.repository.docker.internal.V2Handlers$_closure18.doCall(V2Handlers.groovy:298)

at sun.reflect.GeneratedMethodAccessor101.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)

at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)

at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:264)

at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)

at groovy.lang.Closure.call(Closure.java:420)

at org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:54)

at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:124)

at com.sun.proxy.$Proxy190.handle(Unknown Source)

at org.sonatype.nexus.repository.view.Context.proceed(Context.java:80)

at org.sonatype.nexus.repository.view.Context$proceed.call(Unknown Source)

at org.sonatype.nexus.repository.docker.internal.V2Handlers$_closure1.doCall(V2Handlers.groovy:90)

at sun.reflect.GeneratedMethodAccessor100.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)

at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)

at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:264)

at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)

at groovy.lang.Closure.call(Closure.java:420)

at org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:54)

at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:124)

at com.sun.proxy.$Proxy190.handle(Unknown Source)

at org.sonatype.nexus.repository.view.Context.proceed(Context.java:80)

at com.sonatype.analytics.internal.handler.AnalyticsMeteringHandler.handle(AnalyticsMeteringHandler.java:69)

at org.sonatype.nexus.repository.view.Context.proceed(Context.java:80)

at org.sonatype.nexus.repository.view.handlers.TimingHandler.handle(TimingHandler.java:58)

at org.sonatype.nexus.repository.view.Context.proceed(Context.java:80)

at org.sonatype.nexus.repository.view.Context.start(Context.java:114)

at org.sonatype.nexus.repository.view.Router.dispatch(Router.java:65)

at org.sonatype.nexus.repository.view.ConfigurableViewFacet.dispatch(ConfigurableViewFacet.java:52)

at org.sonatype.nexus.repository.view.ConfigurableViewFacet.dispatch(ConfigurableViewFacet.java:43)

at org.sonatype.nexus.repository.httpbridge.internal.ViewServlet.dispatchAndSend(ViewServlet.java:212)

at org.sonatype.nexus.repository.httpbridge.internal.ViewServlet.doService(ViewServlet.java:174)

at org.sonatype.nexus.repository.httpbridge.internal.ViewServlet.service(ViewServlet.java:126)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)

at com.google.inject.servlet.ServletDefinition.doServiceImpl(ServletDefinition.java:286)

at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:276)

at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:181)

at com.google.inject.servlet.DynamicServletPipeline.service(DynamicServletPipeline.java:71)

at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:85)

at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:112)

at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)

at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61)

at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)

at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)

at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)

at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)

at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)

at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)

at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)

at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)

at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)

at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)

at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)

at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)

at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)

at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)

at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)

at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)

at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)

at org.sonatype.nexus.security.SecurityFilter.executeChain(SecurityFilter.java:85)

at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)

at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)

at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)

at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:387)

at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)

at org.sonatype.nexus.security.SecurityFilter.doFilterInternal(SecurityFilter.java:101)

at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)

at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)

at org.sonatype.nexus.repository.httpbridge.internal.ExhaustRequestFilter.doFilter(ExhaustRequestFilter.java:80)

at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)

at com.sonatype.nexus.licensing.internal.LicensingRedirectFilter.doFilter(LicensingRedirectFilter.java:114)

at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)

at com.codahale.metrics.servlet.AbstractInstrumentedFilter.doFilter(AbstractInstrumentedFilter.java:112)

at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)

at org.sonatype.nexus.internal.web.ErrorPageFilter.doFilter(ErrorPageFilter.java:79)

at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)

at org.sonatype.nexus.internal.web.EnvironmentFilter.doFilter(EnvironmentFilter.java:101)

at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)

at org.sonatype.nexus.internal.web.HeaderPatternFilter.doFilter(HeaderPatternFilter.java:98)

at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)

at com.google.inject.servlet.DynamicFilterPipeline.dispatch(DynamicFilterPipeline.java:104)

at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:135)

at org.sonatype.nexus.bootstrap.osgi.DelegatingFilter.doFilter(DelegatingFilter.java:73)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1602)

at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:540)

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146)

at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)

at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)

at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257)

at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1700)

at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255)

at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345)

at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203)

at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480)

at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1667)

at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201)

at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247)

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144)

at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)

at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:239)

at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:152)

at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)

at org.eclipse.jetty.server.Server.handle(Server.java:505)

at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:370)

at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:267)

at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305)

at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)

at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117)

at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333)

at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310)

at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168)

at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126)

at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366)

at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:698)

at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:804)

at java.lang.Thread.run(Thread.java:748)

Caused by: java.io.IOException: java.util.concurrent.TimeoutException: Idle timeout expired: 30000/30000 ms

at org.eclipse.jetty.server.HttpInput$ErrorState.noContent(HttpInput.java:1085)

at org.eclipse.jetty.server.HttpInput.read(HttpInput.java:318)

at com.google.common.io.CountingInputStream.read(CountingInputStream.java:63)

at java.security.DigestInputStream.read(DigestInputStream.java:161)

at java.io.FilterInputStream.read(FilterInputStream.java:133)

at java.io.FilterInputStream.read(FilterInputStream.java:107)

at com.google.common.io.ByteStreams.copy(ByteStreams.java:109)

at org.sonatype.nexus.blobstore.file.internal.SimpleFileOperations.create(SimpleFileOperations.java:61)

at org.sonatype.nexus.blobstore.file.FileBlobStore.lambda$1(FileBlobStore.java:289)

at org.sonatype.nexus.blobstore.file.FileBlobStore.tryCreate(FileBlobStore.java:342)

... 158 common frames omitted

Caused by: java.util.concurrent.TimeoutException: Idle timeout expired: 30000/30000 ms

at org.eclipse.jetty.io.IdleTimeout.checkIdleTimeout(IdleTimeout.java:166)

at org.eclipse.jetty.io.IdleTimeout$1.run(IdleTimeout.java:50)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

at java.util.concurrent.FutureTask.run(FutureTask.java:266)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

... 1 common frames omitted

Suppressed: java.lang.Throwable: HttpInput failure

at org.eclipse.jetty.server.HttpInput.failed(HttpInput.java:831)

at org.eclipse.jetty.server.HttpConnection$BlockingReadCallback.failed(HttpConnection.java:661)

at org.eclipse.jetty.io.FillInterest.onFail(FillInterest.java:138)

at org.eclipse.jetty.io.AbstractEndPoint.onIdleExpired(AbstractEndPoint.java:406)

... 9 common frames omitted

该nexus3是部署在k8s环境的,使用的pvc是nas存储。镜像版本是3.22.0,请教这个问题如何解决呢?

关注 1 回答 1

rysinal 提出了问题 · 6月2日

pm2如何传递参数到nodejs项目

例如:nodejs项目的原启动命令为:

npm run test --A=192.168.0.170:8080 --BN=test

如果用pm2启动的话如何动态传递A和BN的值到项目里呢,谢谢

关注 2 回答 1

rysinal 回答了问题 · 3月3日

关于MongoDB调小WiredTiger internal cache能避免系统内存撑爆吗?

请问问题解决了吗

关注 2 回答 1

rysinal 关注了问题 · 3月3日

关于MongoDB调小WiredTiger internal cache能避免系统内存撑爆吗?

线上MongoDB服务器最近经常宕机 通过监控平台推测应该是内存撑爆导致 如下图所示 28号凌晨1点内存已经满了

clipboard.png

使用的MongoDB版本是3.2.10 默认使用的是WiredTiger 从官网文档可知 其同时包含如下缓存

  • WiredTiger internal cache

    • 默认大小为 32 * 0.6 - 1 = 18GB (60% of RAM minus 1 GB)
  • filesystem cache

    • 系统剩多少 用多少

    Via the filesystem cache, MongoDB automatically uses all free memory that is not used by the WiredTiger cache or by other processes.

而MongoDB只能控制internal cache大小

To adjust the size of the WiredTiger internal cache, see storage.wiredTiger.engineConfig.cacheSizeGB and --wiredTigerCacheSizeGB.

我在想针对内存撑爆问题 调小internal cache 有用吗? 如由默认的18GB --> 9GB 多出来的内存不还是被filesystem cache占用了 内存依然会撑爆的啊

另外 filesystem cache 不是应该有LRU机制吗? 照说内存应该也不会用尽啊 只是page fault会多一点而已啊。

关注 2 回答 1

rysinal 赞了回答 · 1月14日

解决nginx根据域名进行upstream的负载均衡问题

1、自己根据需要改源码编译就行

2、中间加一层代理{
upstream 负载到两个server
server1 到dc1.abc.com
server2 到dc2.abc.com
}

个人觉得你这个毫无意义

关注 2 回答 2

rysinal 回答了问题 · 1月14日

解决nginx根据域名进行upstream的负载均衡问题

参考使用了map函数之后取的值为空!发现不行,原因是 proxy_set_headeris executed beforeproxy_passeven if you put it afterproxy_pass, and before entering load balancing, $upstream_addr is null

image.png

解决方案目前只有再做一层代理,参考:
https://stackoverflow.com/que...

关注 2 回答 2

rysinal 提出了问题 · 1月14日

解决nginx根据域名进行upstream的负载均衡问题

问题

nginx通过域名反向代理负载到两个数据中心的服务上:

1、设置HOST为proxy_set_header Host $proxy_host; 时,proxy_pass只能写单数据中心的域名,不能写upstream形式(实测写到upstream里会报错404,HOST好像无法传递到upstream里),无法满足多中心负载。

server {  
        listen       80;  
        server_name  www.xyz.com;        
        location / {  
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;  
            proxy_set_header X-Real-IP $remote_addr;  
            proxy_set_header Host $proxy_host;  
            proxy_pass http://dc1.abc.com;   
        }  
}

或=================》

server {  
        listen       80;  
        server_name  www.xyz.com;        
        location / {  
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;  
            proxy_set_header X-Real-IP $remote_addr;  
            proxy_set_header Host $proxy_host;  
            proxy_pass http://dc2.abc.com;   
        }  
}

2、期望是以下配置可以正常访问:

upstream pp{  
            server  dc1.abc.com;  
            server  dc2.abc.com;  
    }  
server {  
        listen       80;  
        server_name  www.xyz.com;        
        location / {  
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;  
            proxy_set_header X-Real-IP $remote_addr;  
            proxy_set_header Host $proxy_host;  
            proxy_pass http://pp;   
        }  
}

疑问?

nginx upstream可以根据域名进行负载均衡吗?设置了Host $proxy_host只能满足非upstream访问
请教如何把$proxy_host 传递到upstream里,然后根据upstream配置的不同的server设置不同的HOST?

比如:www.xyz.com转发到upstream里的dc1.abc.com时,传递header的HOST为dc1.abc.com;
www.xyz.com转发到upstream里的dc2.abc.com时,传递header的HOST为dc2.abc.com;
请问如何实现呢

关注 2 回答 2

rysinal 回答了问题 · 2019-06-06

zabbix3.4 web场景 监控 报错Recv failure: Connection reset by peer

已解决,是302重定向导致的

关注 1 回答 1

rysinal 提出了问题 · 2018-12-26

zabbix3.4 web场景 监控 报错Recv failure: Connection reset by peer

报错功能为web场景监控

  1. zabbix突然接到大量报警,监控的web url全部报错,实际url都是正常访问的。报错信息

    Last error message of scenario: Failure when receiving data from the peer: Recv failure: Connection reset by peer

  2. 使用curl在zabbix服务器上手动请求监控的url是可以得到200状态码(HTTP/1.1 200 OK)
  3. 升级了curl版本到 7.63.0 不可行

告警前没有对系统做过调整,请教下该问题如何修复呢谢谢

关注 1 回答 1

认证与成就

  • 获得 0 次点赞
  • 获得 8 枚徽章 获得 0 枚金徽章, 获得 1 枚银徽章, 获得 7 枚铜徽章

擅长技能
编辑

(゚∀゚ )
暂时没有

开源项目 & 著作
编辑

(゚∀゚ )
暂时没有

注册于 2016-01-19
个人主页被 281 人浏览