How to Run Traceroute and Ping, Troubleshoot High Disk I/O, and Use cPanel & WHM Inside Linux Containers

This guide explains how to run traceroute and ping on different operating systems, how to diagnose and resolve high disk I/O issues on a server, and how to properly configure and run cPanel & WHM inside Linux Containers (LXC). It includes examples, warnings, and required configuration steps.

Traceroute and PingHigh Disk I/O TroubleshootingcPanel in Linux Containers

~3 min read · Updated Feb 18, 2026

1. Running the traceroute Command


The traceroute utility shows the path that network packets take from your machine to a destination host.


macOS or Linux


If the server restricts traceroute, connect via SSH as a privileged user such as root.


traceroute example.com

Example output:


traceroute to example.com (192.168.0.20)
 1  gateway (192.168.0.20)
 2  10.1.0.1
 3  vl118.ss-core.example.com

Microsoft Windows


Windows uses the tracert command.


tracert example.com

Example output:


Tracing route to example.com [192.168.0.20]
 1  2ms  1ms  1ms 192.168.0.20
 2  7ms  7ms  9ms 192.168.0.20
 3  11ms 11ms 11ms 192.168.0.20

2. Running the ping Command


The ping command tests latency between your machine and a target host.


macOS or Linux


ping example.com

Example output:


PING example.com (192.168.0.20)
64 bytes from 192.168.0.20: time=22.122 ms

Microsoft Windows


ping example.com

Example output:


Reply from 192.168.0.20: bytes=64 time=22ms ttl=45

3. Troubleshooting High Disk I/O


Disk I/O refers to how long read/write operations take on a hard disk. High I/O wait slows down the entire server.


Symptoms of High Disk I/O


  • High server load
  • chkservd offline service notifications
  • Slow websites
  • Slow Exim or large mail queue
  • Slow POP/IMAP connections
  • Slow Webmail
  • Slow WHM or cPanel interfaces

Check Disk I/O Wait with top


The %wa value shows disk wait time.


Check Historical I/O with sar


sar -d

How to Fix High Disk I/O


  • Upgrade to faster disks (SSD recommended)
  • Enable write caching
  • Check RAID for hardware issues
  • Distribute load across multiple disks

Enable DMA


hdparm -d1 /dev/hda

Disable DMA


hdparm -d0 /dev/hda

Test Disk Speed


hdparm -Tt /dev/hda

4. Running cPanel & WHM Inside Linux Containers (LXC)


Warning: Only experienced system administrators should perform these steps.


Recommended Host OS


Best compatibility: RHEL 7 or CentOS 7


Guest OS Requirements


CentOS 7 or RHEL 7 require additional configuration.


Privileged vs Unprivileged Containers


cPanel works in both, but privileged containers are strongly recommended.


Unprivileged Container Limitations


  • root is treated as a non-root user
  • Cannot raise hard limits after lowering them
  • Possible subtle behavior differences

Required Changes for CentOS 7 / RHEL 7


Update lxc.conf:


lxc.include = /usr/share/lxc/config/fedora.common.conf

Disable capabilities:


# lxc.cap.drop = setpcap
# lxc.cap.drop = setfcap

Fix cron Issues in LXC


Edit /etc/pam.d/crond and comment out:


#session    required    pam_loginuid.so

AppArmor Configuration


For newer versions:


lxc.apparmor.profile = unconfined

Conclusion


This guide covers how to run traceroute and ping, how to diagnose and fix high disk I/O, and how to configure cPanel & WHM inside LXC containers. Following these steps ensures better performance, stability, and compatibility for your server.


Written & researched by Dr. Shahin Siami

Related Articles

How to Restore Your cPanel Account: A Complete Guide for New System Administrators

This guide explains how new system administrators can restore a cPanel account using WHM, transfer accounts and configurations between servers, and enable diagnostic logging for transfer and restore operations. It covers essential concepts such as WHM vs. cPanel, root access, backup handling, SFTP uploads, transfer methods, and advanced debugging tools.

Continue

آموزش کامل انتقال تمام اکانت‌های cPanel از یک سرور به سرور دیگر

این مقاله نحوه انتقال همه اکانت‌های cPanel، تنظیمات سرویس‌ها، گواهی‌های SSL و IP اصلی سرور را از یک سرور قدیمی (Source) به یک سرور جدید (Target) توضیح می‌دهد. شامل نصب سرور جدید، انتقال تنظیمات، انتقال اکانت‌ها، تغییر IP، تنظیم DNS و نصب مجدد SSL است.

Continue

How to Migrate a WordPress® Installation to a cPanel & WHM Server

This guide explains how to migrate a WordPress installation from a macOS-hosted environment to a cPanel & WHM server. It covers exporting the database, uploading WordPress files, creating and importing a MySQL database, updating URLs, configuring wp-config.php, fixing broken links, and finalizing the migration.

Continue

How to Manually Transfer an Account Between Servers in cPanel & WHM

This article explains how to manually transfer a cPanel account between servers when the account is too large for WHM’s automated transfer tools. It covers creating temporary directories, compressing public_html and log files, securely transferring data with SCP, and restoring the files on the destination server.

Continue

How to Manually Migrate Horde Calendars and Contacts to Roundcube in cPanel & WHM

This article explains how to manually migrate Horde calendars and contacts to Roundcube in cPanel & WHM version 108 through 118. It covers exporting Horde data, placing it in the correct directories, and importing it into Roundcube using built‑in plugins or manual import tools.

Continue

How to Manually Migrate Accounts to cPanel & WHM from Unsupported Control Panels

This article explains how experienced system administrators can manually migrate accounts from unsupported third‑party control panels to cPanel & WHM. It covers pre‑migration steps, installation requirements, file and directory transfers, database restoration, SSL migration, and post‑migration tasks.

Continue