AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / server / 问题

问题[debug](server)

Martin Hope
housemd
Asked: 2021-06-17 14:41:59 +0800 CST

Ansible 打印调试消息结果变量

  • 1

我有一个简单的任务,我无法克服。

我有一个返回 AWS EC2 实例配置的剧本。我只需要打印(显示)private_ip_address。

这是我的剧本

---
- hosts: local
  connection: local
  gather_facts: false
  become: yes
  become_method: enable

  tasks:

  - name: gather-info-ec2
    community.aws.ec2_instance_info:
      instance_ids:
        - i-XXXXXAAAAAA

    register: ec2

  - debug: msg="{{ ec2.instances.network_interfaces.private_ip_address }}"

当我像这样运行它时,我收到以下错误。

fatal: [localhost]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'list object' has no attribute 'network_interfaces'\n\nThe error appears to be in '/etc/ansible/playbooks/AWSLinuxMigration/gather_ec2_info.yaml': line 16, column 5, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n  - debug: msg=\"{{ ec2.instances.network_interfaces.private_ip_address }}\"\n    ^ here\nWe could be wrong, but this one looks like it might be an issue with\nmissing quotes. Always quote template expression brackets when they\nstart a value. For instance:\n\n    with_items:\n      - {{ foo }}\n\nShould be written as:\n\n    with_items:\n      - \"{{ foo }}\"\n"}

当我在没有 DEBUG 部分并使用-vvv的情况下执行它时,它会显示以下结果。如何提取并打印此地址?我把它缩短了一点,但你明白了

ok: [localhost] => {
    "msg": {
        "changed": false,
        "failed": false,
        "instances": [
            {
                "ami_launch_index": 0,
                "architecture": "x86_64",
                "block_device_mappings": [
                    {
                        "device_name": "/dev/xvda",
                        "ebs": {
                            "attach_time": "2020-04-15T16:11:19+00:00",
                            "delete_on_termination": true,
                            "status": "attached",
                            "volume_id": "xxxxxx"
                        }
                    }
                ],
                "capacity_reservation_specification": {
                    "capacity_reservation_preference": "open"
                },
                "client_token": "",
                "cpu_options": {
                    "core_count": 1,
                    "threads_per_core": 2
                },
                "ebs_optimized": true,
                "ena_support": true,
                "enclave_options": {
                    "enabled": false
                },
                "hibernation_options": {
                    "configured": false
                },
                "hypervisor": "xen",
                "iam_instance_profile": {
                    "arn": "xxxxxx",
                    "id": "xxxxxx"
                },
                "image_id": "xxxxx",
                "instance_id": "xxxxx",
                "instance_type": "t3.medium",
                "key_name": "xxxxx",
                "launch_time": "2021-04-21T00:01:25+00:00",
                "metadata_options": {
                    "http_endpoint": "enabled",
                    "http_put_response_hop_limit": 1,
                    "http_tokens": "optional",
                    "state": "applied"
                },
                "monitoring": {
                    "state": "disabled"
                },
                "network_interfaces": [
                    {
                        "association": {
                            "ip_owner_id": "xxxx",
                            "public_dns_name": "xxxxx",
                            "public_ip": "xxxx"
                        },
                        "attachment": {
                            "attach_time": "2020-04-15T16:11:18+00:00",
                            "attachment_id": "xxxxx",
                            "delete_on_termination": true,
                            "device_index": 0,
                            "network_card_index": 0,
                            "status": "attached"
                        },
                        "description": "Primary network interface",
                        "groups": [
                            {
                                "group_id": "xxxxx",
                                "group_name": "xxxxx"
                            }
                        ],
                        "interface_type": "interface",
                        "ipv6_addresses": [],
                        "mac_address": "xxxxx",
                        "network_interface_id": "xxxx",
                        "owner_id": "xxxxx",
                        "private_dns_name": "ip-10-0-1-161.ec2.internal",
                        "private_ip_address": "10.0.1.161",
                        "private_ip_addresses": [
                            {
                                "association": {
                                    "ip_owner_id": "xxxxx",
                                    "public_dns_name": "xxxx.compute-1.amazonaws.com",
                                    "public_ip": "2.2.2.2"
                                },
                                "primary": true,
                                "private_dns_name": "ip-333333.ec2.internal",
                                "private_ip_address": "1.1.1.1."
                            }
                        ],
                        "source_dest_check": true,
                        "status": "in-use"

                    }
                ]
        ]
    }
}
debug variables ansible ansible-playbook
  • 1 个回答
  • 2724 Views
Martin Hope
Mark
Asked: 2020-12-04 14:17:37 +0800 CST

centos 8: debuginfo-install 找不到 kernel-debuginfo 包

  • 3

我有一台CentOS-8已安装的机器,它附带的内核是 4.18.0。我需要安装 debiginfo 包:

% sudo dnf debuginfo-install kernel-4.18.0-193.19.1.el8_2.x86_64
enabling epel-modular-debuginfo repository
enabling epel-debuginfo repository
Last metadata expiration check: 0:22:04 ago on Thu 03 Dec 2020 04:51:14 PM EST.
Could not find debuginfo package for the following installed packages: kernel-4.18.0-193.19.1.el8_2.x86_64
Could not find debugsource package for the following installed packages: kernel-4.18.0-193.19.1.el8_2.x86_64
Dependencies resolved.
Nothing to do.
Complete!
%

虽然yum search找到它:

% yum search kernel-debug
...
kernel-debug.x86_64 : kernel meta-package for the debug kernel
...
%

我认为debuginfo-install是使用 debuginfo 安装软件包的正确方法。我应该怎么做才能让它为我工作?

谢谢。

linux centos yum debug
  • 1 个回答
  • 3853 Views
Martin Hope
Jordan Rieger
Asked: 2016-09-29 13:11:01 +0800 CST

在 Tomcat 8 上启用 javax.net.debug=all 会破坏 HTTPS,并显示“EC AlgorithmParameters not available”

  • 1

在对我的 Tomcat servlet 问题进行故障排除时,我决定通过/var/apache-tomcat-8.5.5/bin/setenv.sh将行编辑并更改export JAVA_OPTS="-Xms512m -Xmx1536m -XX:MaxPermSize=256m"为export JAVA_OPTS="-Xms512m -Xmx1536m -XX:MaxPermSize=256m -Djavax.net.debug=all". 保存文件并重新启动 Tomcat(通过 catalina.sh start/stop)后,我发现我无法再通过 HTTPS连接到 Tomcat 管理器应用程序( https://10.9.9.236:8443/manager/html/ ) . 铬 说:

“无法访问此站点”(ERR_CONNECTION_CLOSED)

在完全停止和取消部署我的 web 应用程序后,我重现了这种行为。(现在只安装了默认的 Tomcat 管理器应用程序。)所以我知道只有一个 Java 选项会导致 HTTPS 失败。

为什么启用调试会破坏 HTTPS?

这是来自 catalina.out 日志文件的可能线索:

https-jsse-nio-8443-exec-4, fatal error: 80: problem unwrapping net record
java.lang.RuntimeException: java.security.NoSuchAlgorithmException: EC AlgorithmParameters not available
https-jsse-nio-8443-exec-4, SEND TLSv1.2 ALERT:  fatal, description = internal_error
https-jsse-nio-8443-exec-4, WRITE: TLSv1.2 Alert, length = 2
28-Sep-2016 14:01:00.576 SEVERE [https-jsse-nio-8443-exec-4] org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun 
 java.lang.RuntimeException: java.security.NoSuchAlgorithmException: EC AlgorithmParameters not available
    at sun.security.ssl.Handshaker.checkThrown(Handshaker.java:1429)
    at sun.security.ssl.SSLEngineImpl.checkTaskThrown(SSLEngineImpl.java:535)
    at sun.security.ssl.SSLEngineImpl.readNetRecord(SSLEngineImpl.java:813)
    at sun.security.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:781)
    at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:624)
    at org.apache.tomcat.util.net.SecureNioChannel.handshakeUnwrap(SecureNioChannel.java:449)
    at org.apache.tomcat.util.net.SecureNioChannel.handshake(SecureNioChannel.java:227)
    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1387)
    at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: java.security.NoSuchAlgorithmException: EC AlgorithmParameters not available
    at sun.security.util.ECUtil.getECParameters(ECUtil.java:100)
    at sun.security.util.ECUtil.getECParameterSpec(ECUtil.java:149)
    at sun.security.ssl.JsseJce.getECParameterSpec(JsseJce.java:385)
    at sun.security.ssl.SupportedEllipticCurvesExtension.toString(SupportedEllipticCurvesExtension.java:127)
    at sun.security.ssl.HelloExtensions.print(HelloExtensions.java:150)
    at sun.security.ssl.HandshakeMessage$ClientHello.print(HandshakeMessage.java:323)
    at sun.security.ssl.ServerHandshaker.clientHello(ServerHandshaker.java:340)
    at sun.security.ssl.ServerHandshaker.processMessage(ServerHandshaker.java:221)
    at sun.security.ssl.Handshaker.processLoop(Handshaker.java:979)
    at sun.security.ssl.Handshaker$1.run(Handshaker.java:919)
    at sun.security.ssl.Handshaker$1.run(Handshaker.java:916)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.security.ssl.Handshaker$DelegatedTask.run(Handshaker.java:1369)
    at org.apache.tomcat.util.net.SecureNioChannel.tasks(SecureNioChannel.java:397)
    at org.apache.tomcat.util.net.SecureNioChannel.handshakeUnwrap(SecureNioChannel.java:457)
    ... 7 more
Caused by: java.security.NoSuchAlgorithmException: EC AlgorithmParameters not available
    at sun.security.jca.GetInstance.getInstance(GetInstance.java:159)
    at java.security.Security.getImpl(Security.java:695)
    at java.security.AlgorithmParameters.getInstance(AlgorithmParameters.java:146)
    at sun.security.util.ECUtil.getECParameters(ECUtil.java:98)
    ... 21 more

当我擦除日志并恢复为默认 JAVA_OPTS 时,不会发生异常。

环境:

CentOS Linux release 7.2.1511 (Core)
uname -r: 3.10.0-327.10.1.el7.x86_64

Using CATALINA_BASE:   /var/apache-tomcat-8.5.5
Using CATALINA_HOME:   /var/apache-tomcat-8.5.5
Using CATALINA_TMPDIR: /var/apache-tomcat-8.5.5/temp
Using JRE_HOME:        /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.101-3.b13.el7_2.x86_64/jre
Using CLASSPATH:       /var/apache-tomcat-8.5.5/bin/bootstrap.jar:/var/apache-tomcat-8.5.5/bin/tomcat-juli.jar
Using CATALINA_PID:    /var/apache-tomcat-8.5.5/tomcat.pid

我应该补充一点,即使对 servlet 的 HTTPS 访问被破坏,我仍然可以通过 HTTP 访问它,例如http://10.9.9.236:8080/manager/html/。

tomcat java debug tomcat8
  • 1 个回答
  • 6132 Views
Martin Hope
Itai Ganot
Asked: 2016-06-02 03:26:29 +0800 CST

Ansible:是否可以在播放剧本而不是调试时“cat文件”并将其输出导出到屏幕?

  • 26

我写了一本为每个用户安装和配置 Google Authenticator 的剧本。

我想要剧本的最后一步到catgoogle_authenticator 配置文件。

使用“调试”模块,我可以让数据显示在屏幕上,但只能作为调试消息:

TASK: [debug var=details.stdout_lines] ****************************************
ok: [localhost] => {
    "details.stdout_lines": [
        "ZKMFTE2ADYA2OYCH",
        "\"RATE_LIMIT 3 30",
        "\" DISALLOW_REUSE",
        "\" TOTP_AUTH",
        "12920994",
        "88224784",
        "69464205",
        "38144121",
        "45634120"
    ]
}

我在网上读到我可以做这样的事情:

  - name: Print to screen google authenticator details
    command: /bin/cat {{ google_authenticator_secret_file_location }}
    register: details
    tags: google_2fa_user

  - debug: msg="{{ details.stdout_lines }}"

但是当我运行它时出现错误:

TASK: [Print to screen google authenticator details] **************************
changed: [localhost]

TASK: [debug msg="{{details.stdout_lines}}"] **********************************
fatal: [localhost] => Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/ansible/runner/__init__.py", line 532, in _executor
    exec_rc = self._executor_internal(host, new_stdin)
  File "/usr/lib/python2.7/dist-packages/ansible/runner/__init__.py", line 629, in _executor_internal
    return self._executor_internal_inner(host, self.module_name, self.module_args, inject, port, complex_args=complex_args)
  File "/usr/lib/python2.7/dist-packages/ansible/runner/__init__.py", line 815, in _executor_internal_inner
    result = handler.run(conn, tmp, module_name, module_args, inject, complex_args)
  File "/usr/lib/python2.7/dist-packages/ansible/runner/action_plugins/debug.py", line 41, in run
    kv = utils.parse_kv(module_args)
  File "/usr/lib/python2.7/dist-packages/ansible/utils/__init__.py", line 526, in parse_kv
    vargs = [x.decode('utf-8') for x in shlex.split(args, posix=True)]
  File "/usr/lib/python2.7/shlex.py", line 279, in split
    return list(lex)
  File "/usr/lib/python2.7/shlex.py", line 269, in next
    token = self.get_token()
  File "/usr/lib/python2.7/shlex.py", line 96, in get_token
    raw = self.read_token()
  File "/usr/lib/python2.7/shlex.py", line 172, in read_token
    raise ValueError, "No closing quotation"
ValueError: No closing quotation


FATAL: all hosts have already failed -- aborting

PLAY RECAP ********************************************************************

错误说:“没有结束引号”,尽管它被引用了。也试过:

 - debug: msg= "{{ details.stdout_lines }}"

知道可能是什么问题吗?

debug ansible ansible-playbook
  • 4 个回答
  • 65852 Views
Martin Hope
bluszcz
Asked: 2012-07-13 09:42:36 +0800 CST

Java 进程 (OpenDS) 消耗所有 cpu (futex flood) - 如何调试 futex?

  • 6

今天我注意到我的 LDAP 服务器 (OpenDS) 在每个可用内核上都占用了 100% 的 CPU。快速诊断显示在 futex 锁定期间有很多 ETIMEDOUT。

我如何调试它以弄清楚发生了什么以及如何修复它?

futex(0x7f7ecf9053a4, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1540779077, {1342114766, 309244206}, ffffffff) = -1 ETIMEDOUT (Connection timed out)
futex(0x7f7ecf9053d0, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x7f7ecf9053a4, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1540779079, {1342114766, 309528293}, ffffffff) = -1 ETIMEDOUT (Connection timed out)
futex(0x7f7ecf9053d0, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x7f7ecf9053a4, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1540779081, {1342114766, 309812186}, ffffffff) = -1 ETIMEDOUT (Connection timed out)
futex(0x7f7ecf9053d0, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x7f7ecf9053a4, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1540779083, {1342114766, 310107537}, ffffffff) = -1 ETIMEDOUT (Connection timed out)
futex(0x7f7ecf9053d0, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x7f7ecf9053a4, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1540779085, {1342114766, 310406075}, ffffffff) = -1 ETIMEDOUT (Connection timed out)
futex(0x7f7ecf9053d0, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x7f7ecf9053a4, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1540779087, {1342114766, 310705339}, ffffffff) = -1 ETIMEDOUT (Connection timed out)
futex(0x7f7ecf9053d0, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x7f7ecf9053a4, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1540779089, {1342114766, 311018839}, ffffffff) = -1 ETIMEDOUT (Connection timed out)
futex(0x7f7ecf9053d0, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x7f7ecf9053a4, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1540779091, {1342114766, 311315446}, ffffffff) = -1 ETIMEDOUT (Connection timed out)
futex(0x7f7ecf9053d0, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x7f7ecf9053a4, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1540779093, {1342114766, 311632617}, ffffffff) = -1 ETIMEDOUT (Connection timed out)
futex(0x7f7ecf9053d0, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x7f7ecf9053a4, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1540779095, {1342114766, 311951779}, ffffffff) = -1 ETIMEDOUT (Connection timed out)
futex(0x7f7ecf9053d0, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x7f7ecf9053a4, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1540779097, {1342114766, 312278610}, ffffffff) = -1 ETIMEDOUT (Connection timed out)
futex(0x7f7ecf9053d0, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x7f7ecf9053a4, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1540779099, {1342114766, 312601929}, ffffffff) = -1 ETIMEDOUT (Connection timed out)
futex(0x7f7ecf9053d0, FUTEX_WAKE_PRIVATE, 1) = 0

不确定它是否相关 - 但我还注意到 Redmine(Ruby 应用程序)具有类似的“功能”......帮助:)

java linux debug strace opends
  • 1 个回答
  • 7691 Views
Martin Hope
DmitrySemenov
Asked: 2012-05-23 15:42:14 +0800 CST

在网络上显示“iftop”

  • 1

我愿意iftop -i eth1 > out.txt

它确实会生成带有“加密”UI 内容的文件,例如 [(B[)0[[1;80r[[mO[[?7h[[?1h[=[[H[[J[[0;7mO Listening on eth1 [[1;48H[[mO12.5Kb

是否有可能以某种方式将其显示为 web xhtml 输出?

cat out.txt在我的控制台上确实会产生一个正常的 iftop 窗口,但是当我在网络上做同样的事情时,我会得到上面的内容。我知道它是在内核级别上“管理”的。我想执行的任务是否可行?

linux debug
  • 3 个回答
  • 3523 Views
Martin Hope
JohnIdol
Asked: 2010-02-21 15:30:51 +0800 CST

Vista cmd shell 认为是 Windows Server 2008 DEBUG

  • 2

以前从未见过 - 我的 vista cmd shell 开始以黄色显示所有内容,并在我启动后立即输出以下内容:

Setting SDK relative to C:/Program Files/Microsoft SDK/Windows/v6.1
.
Targeting Windows Server 2008 x86 DEBUG

关于为什么会发生这种情况以及如何恢复正常的任何线索?

我认为可能已经运行了一个可能已经擦除了我的类路径的 bat 文件......但我检查了我的类路径,它似乎很好 - 我怀疑这个问题可能完全不相关。

windows-server-2008 windows-vista windows-command-prompt debug
  • 1 个回答
  • 453 Views
Martin Hope
Pure.Krome
Asked: 2010-02-14 20:39:55 +0800 CST

帮助尝试找出 IIS7 崩溃/锁定/拒绝连接的原因

  • 2

我有一个非常繁忙的网站,它在 W2K8 + IIS7 上的单个 Web 前端机器上运行。

时不时地-例如。也许是星期一凌晨 3 点或其他时间,然后几天后.. 某个清晨的时间.. 然后 2 周内什么都没有......等等 - 该网站无法响应任何客户端连接。

IE。没有人可以连接到该网站。

我可以远程桌面到机器等没有问题。

我重新启动应用程序池(网站以集成模式运行),仍然没有。我尝试获取该过程的崩溃转储(大约 600 mb 甚至更多)......尝试大约一分钟后失败(而且我有足够的高清空间)。

解决此问题的唯一方法是手动停止 www 服务,然后重新启动它。停止需要一段时间(一分钟?),而启动几乎是即时的。

我不知道我的代码的哪一部分导致了这种情况。起初,我认为这可能是堆栈溢出,因为某些错误可能会进入错误页面,从而导致错误..冲洗重复繁荣。但是我看过错误页面,感觉还可以。

因此,我希望有人能够帮助并说明如何正确获取 IIS 进程的正确转储,以便我可以对其进行更多的尸检。我会向Tess Ferrandez(崩溃调试女神)发送电子邮件,但我想在向她发送垃圾邮件之前先在这里尝试一下。

任何人都可以对我如何弄清楚如何开始调试这个问题有任何建议吗?

asp.net iis-7 debug
  • 2 个回答
  • 6446 Views
Martin Hope
Robin M
Asked: 2009-05-06 06:22:16 +0800 CST

IIS6 网站/应用程序池可以使用的最大内存是多少?

  • 8

我有一个在 Windows 2003 SP2 x86 上运行的 IIS 6 服务器。该服务器具有 4GB 的 RAM,并在分配 2GB 的情况下始终如一地运行。

我意识到使用 x86,服务器不会利用所有 4GB RAM,应用程序空间也有限,但 IIS 进程似乎在其他地方受到限制。w3wp.exe 分配的内存从未超过 500MB,而且我偶尔会从繁忙的 .NET 应用程序中得到 OutOfMemory 异常(有几个应用程序正在运行,每个应用程序都有一个单独的应用程序池)。

IIS6 网站/应用程序池可以使用的最大内存是多少?

performance windows-server-2003 memory iis debug
  • 6 个回答
  • 35334 Views
Martin Hope
Robin M
Asked: 2009-05-01 09:13:34 +0800 CST

如何调试 IIS 问题,其中排队的请求突然增加并且服务器无法响应?

  • 4

我有一个 IIS 6 服务器,它使用经典的 ASP 和 ASP.NET 为应用程序提供服务。

我越来越多地遇到问题,即 ASP.NET 请求队列中的请求数(使用 ASP.NET\Requests Queued 计数器观察)开始增加到服务器无法再为请求提供服务的程度。这发生在排队请求开始增加的三四分钟后。回收应用程序池可恢复服务。

通常,排队的请求为零,偶尔会有小峰值,但似乎每天一到两次,许多请求阻塞了队列,排队的请求开始增加。

我怀疑有网络问题导致客户端失去连接(并重新提交他们的请求),尽管失去了他们的客户端,队列中的请求仍在继续。

如何诊断问题?我可以查看队列中请求的状态吗?我是否需要 MS调试诊断工具或其中一种工具?

performance monitoring iis debug
  • 2 个回答
  • 3523 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve