HANG: chkservd on server (12.xx.xx.xx)

joymax27104000

New Member
YetiShare User
Jun 4, 2014
131
0
0
Hello,

My server is down a lot time after install Yetishare V4. How can I fix it? I think my server is strong, but I don't know why?

This is my email from Cpanel:
"The chkservd sub-process with pid 28774 ran for 771 seconds. This sub-process was terminated when it exceeded the time allowed between checks, which is 300 seconds. To determine why, you can check /var/log/chkservd.log and /usr/local/cpanel/logs/tailwatchd_log.

You likely received this notification as a symptom of a larger problem. If your server is experiencing a high load, we recommend investigating the cause. If you continue to receive this notification, it is likely that your system is unable to handle demand or a misconfiguration is delaying restarts.

If you are sure that no misconfigurations exist, you should consider gradually increasing the following options in WHM's "Tweak Settings" feature: "The number of times ChkServd will allow a previous check to complete before terminating the check" and/or "The number of seconds between ChkServd service checks"."

Service: chkservd
Notification Type: hang
Memory Information:

Used: 5759MB
Available: 2101MB
Installed: 7861MB

Load Information: 99.73 176.20 188.41
Uptime: 106 days, 17 hours, 47 seconds
IOStat Information:

avg-cpu: %user %nice %system %iowait %steal %idle
6.02 0.01 1.97 1.23 0.00 90.77
Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
sda 38.17 2395.79 480.93 22095004318 4435385722
sdb 36.00 8406.43 888.72 77527697138 8196127656

ChkServd Version: 15.6
 

adam

Administrator
Staff member
Dec 5, 2009
2,046
108
63
Your load got pretty high for some reason. It could be a number of issues. These are the things I would normally check for:

- Other apps or websites on the server causing high memory or cpu usage.
- A rouge script or virus, try running a 'top' to see if anything is running at high load/cpu.
- Increase in other services like your mail queue. Is someone sending spam through the server resulting in high resource usage.
- Increase in traffic, enable xSendFile/xAccelRedirect in the site settings, admin area, if this is the case. Look at better tweaking your MySQL/PHP config for high traffic sites. Enable MySQL query caching. Install NGINX if you are using Apache. (although this takes a bit of work)
- Possible hardware issue such as HD failing.
- DOS attack. Use a service like CloudFlare to reduce it.

Failing the above, ask your host/server admin to help pinpoint the resource usage.
 

joymax27104000

New Member
YetiShare User
Jun 4, 2014
131
0
0
This is my daily process


This is info of my server, my traffic is ~200 visit/day

Code:
Server: HP DL180G6
CPU:2x Intel Quad-Core Xeon E5620
RAM:8GB
Harddisks:4x1TB SATA
RAID (HW/SW):RAID 10
Connectivity: Volume
Bandwidth:70TB
Uplink: GEV
IPv4/IPv6:1
SLA:Basic
OS: Centos 6 64bit:
Partitioning: Default
Control Panel:cPanel/WHM
 

adam

Administrator
Staff member
Dec 5, 2009
2,046
108
63
Looks like AWStats is using a lot of CPU. This is part of cPanel. Try disabling it via WHM. If it's the cause use something like Google Analytics instead.

It may be that it's a side effect from a DOS attack. Your server admin should be able to investigate it fully.
 

joymax27104000

New Member
YetiShare User
Jun 4, 2014
131
0
0
This is reply from my server admin:

"I would like to inform you.
That I have logged into your server and your control panel and found the following possible reasons for the high CPU load.

If you check your control panel and go to > server status > Daily Process Log you will see a list of currently running processes.

I have made a screenshot of the current output and you will see that your CPU is heavily being used by those processes.

I checked with the ps -aux | less command on the command line and you will see that there are also a lot of php defunct process from the user ACCCCCCCCC (FILE HOSTING).

I would suggest that you check those processes and take the appropriate steps in order to reduce the CPU usage.

We hope to have informed you sufficiently."

 

adam

Administrator
Staff member
Dec 5, 2009
2,046
108
63
Did you try all the things I listed earlier. Inc this:

- Increase in traffic, enable xSendFile/xAccelRedirect in the site settings, admin area, if this is the case. Look at better tweaking your MySQL/PHP config for high traffic sites. Enable MySQL query caching. Install NGINX if you are using Apache. (although this takes a bit of work)