大网数据广告活动
服务器运维问答

Why does my debian server freeze?

· 52CE 我爱测

I installed Debian 9 ("Stretch") in a virtual machine hosted on ESXi 6.5 The OS is up-to-date and nothing else has been installed but VMware tools. Sometimes when I execute a command, the server will freeze and nothing can be don…

问题原文

原帖链接 · mimipc · CC BY-SA 3.0

I installed Debian 9 ("Stretch") in a virtual machine hosted on ESXi 6.5 The OS is up-to-date and nothing else has been installed but VMware tools.

Sometimes when I execute a command, the server will freeze and nothing can be done besides resetting the VM (the SSH server becomes unresponsive, all terminals are freezed, it doesn't show a KP or anything else)

I can reproduce the problem very easily: I just have to execute wget a couple of times and the OS will hang.

At first, I thought it could be a RAM problem. I used memtest86+ on the host and no problem was found. I also tried the debian package "memtester" which runs very well in the VM and doesn't make the OS freeze whatsoever.

/var/log/messages shows nothing special, but there's one line I don't understand:

Jul  3 13:05:57 myhost kernel: [   58.966715] TCP: ens192: Driver has suspect GRO implementation, TCP performance may be compromised.

What could be the problem and how can I debug the whole thing?

Config: 1 CPU / 4 cores - 32GB Ram - 64GB HDD

社区高分解答

原帖链接 · LulzCodr · CC BY-SA 3.0

I had this exact scenario going on. Created a Debian 9 VM under ESXi 6.5 and it would freeze when running a few commands. Also, when I closed an SSH session, it would completely freeze and my only option was to reboot.

I fixed it by changing the network adapter type for this host from the default "VMXNET 3" to "E1000e".

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2017-07-03)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。