mjtweaver

Registered
Sep 25, 2013
2
0
1
cPanel Access Level
Root Administrator
Hi there,

I am a web developer who had a VPS from Heart Internet.

However every single day I have to restart the MYSQL server because my website goes down.

I've managed to look into the message file via the terminal, but I am really out of my depth to be honest, I've never worked with servers.

I've pasted some code below which I think shows the error occuring, I believe it may be running out of memory or something but in the PHP config I have increased memory to 256mb, and turned off a some services to help, to no avail.

Code:
Sep 25 03:03:48 701248 kernel: php invoked oom-killer: gfp_mask=0x201da, order=0, oom_adj=0, oom_score_adj=0
Sep 25 02:59:09 701248 pure-ftpd: (__cpanel__service__auth__ftpd__3[email protected]127.0.0.1) [INFO] $
Sep 25 03:03:48 701248 kernel: php invoked oom-killer: gfp_mask=0x201da, order=0, oom_adj=0, oom_score_adj=0
Sep 25 03:03:48 701248 kernel: php cpuset=/ mems_allowed=0
Sep 25 03:03:48 701248 kernel: Pid: 19766, comm: php Not tainted 2.6.32-358.11.1.el6.x86_64 #1
Sep 25 03:03:48 701248 kernel: Call Trace:
Sep 25 03:03:48 701248 kernel: [<ffffffff810cb541>] ? cpuset_print_task_mems_allowed+0x91/0xb0
Sep 25 03:03:48 701248 kernel: [<ffffffff8111cd40>] ? dump_header+0x90/0x1b0
Sep 25 03:03:48 701248 kernel: [<ffffffff8121d24c>] ? security_real_capable_noaudit+0x3c/0x70
Sep 25 03:03:48 701248 kernel: [<ffffffff8111d1c2>] ? oom_kill_process+0x82/0x2a0
Sep 25 03:03:48 701248 kernel: [<ffffffff8111d101>] ? select_bad_process+0xe1/0x120 
Sep 25 03:03:48 701248 kernel: [<ffffffff8111d600>] ? out_of_memory+0x220/0x3c0
Sep 25 03:03:48 701248 kernel: [<ffffffff8112c2ac>] ? __alloc_pages_nodemask+0x8ac/0x8d0
Sep 25 03:03:48 701248 kernel: [<ffffffff811609aa>] ? alloc_pages_current+0xaa/0x110
Sep 25 03:03:48 701248 kernel: [<ffffffff8111a127>] ? __page_cache_alloc+0x87/0x90
Sep 25 03:03:48 701248 kernel: [<ffffffff81119b0e>] ? find_get_page+0x1e/0xa0
Sep 25 03:03:48 701248 kernel: [<ffffffff8111b0e7>] ? filemap_fault+0x1a7/0x500
Sep 25 03:03:48 701248 kernel: [<ffffffff811430e4>] ? __do_fault+0x54/0x530
Sep 25 03:03:48 701248 kernel: [<ffffffff811436b7>] ? handle_pte_fault+0xf7/0xb50
Sep 25 03:03:48 701248 kernel: [<ffffffff81434931>] ? sock_aio_read+0x1a1/0x1b0
Sep 25 03:03:48 701248 kernel: [<ffffffff8100b9ce>] ? common_interrupt+0xe/0x13
Sep 25 03:03:48 701248 kernel: [<ffffffff8114434a>] ? handle_mm_fault+0x23a/0x310
Sep 25 03:03:48 701248 kernel: [<ffffffff81146d16>] ? find_vma+0x66/0x80
Sep 25 03:03:48 701248 kernel: [<ffffffff810474c9>] ? __do_page_fault+0x139/0x480
Sep 25 03:03:48 701248 kernel: [<ffffffff8100988e>] ? __switch_to+0x26e/0x320
Sep 25 03:03:48 701248 kernel: [<ffffffff8103c7b8>] ? pvclock_clocksource_read+0x58/0xd0
Sep 25 03:03:48 701248 kernel: [<ffffffff8103b8ac>] ? kvm_clock_read+0x1c/0x20
Sep 25 03:03:48 701248 kernel: [<ffffffff8103b8b9>] ? kvm_clock_get_cycles+0x9/0x10
Sep 25 03:03:48 701248 kernel: [<ffffffff810a1407>] ? getnstimeofday+0x57/0xe0
Sep 25 03:03:48 701248 kernel: [<ffffffff8151364e>] ? do_page_fault+0x3e/0xa0
Sep 25 03:03:48 701248 kernel: [<ffffffff81510a05>] ? page_fault+0x25/0x30
Sep 25 03:03:48 701248 kernel: Mem-Info:
Sep 25 03:03:48 701248 kernel: [<ffffffff81510a05>] ? page_fault+0x25/0x30
Sep 25 03:03:48 701248 kernel: Mem-Info:
Sep 25 03:03:48 701248 kernel: Node 0 DMA per-cpu:
Sep 25 03:03:48 701248 kernel: CPU    0: hi:    0, btch:   1 usd:   0
Sep 25 03:03:48 701248 kernel: Node 0 DMA32 per-cpu:
Sep 25 03:03:48 701248 kernel: CPU    0: hi:  186, btch:  31 usd:  32
Sep 25 03:03:48 701248 kernel: active_anon:104884 inactive_anon:105908 isolated_anon:64
Sep 25 03:03:48 701248 kernel: active_file:126 inactive_file:326 isolated_file:160
Sep 25 03:03:48 701248 kernel: unevictable:0 dirty:0 writeback:0 unstable:0
Sep 25 03:03:48 701248 kernel: free:12257 slab_reclaimable:2708 slab_unreclaimable:14329
Sep 25 03:03:48 701248 kernel: mapped:186 shmem:8 pagetables:9163 bounce:0
Sep 25 03:03:48 701248 kernel: Node 0 DMA free:4644kB min:668kB low:832kB high:1000kB active_anon:3436kB inactive_anon:7616kB active_file:4kB inactiv$
Sep 25 03:03:48 701248 kernel: lowmem_reserve[]: 0 994 994 994
Sep 25 03:03:48 701248 kernel: Node 0 DMA32 free:44384kB min:44384kB low:55480kB high:66576kB active_anon:416100kB inactive_anon:416016kB active_file$
Sep 25 03:03:48 701248 kernel: lowmem_reserve[]: 0 0 0 0
Sep 25 03:03:48 701248 kernel: Node 0 DMA: 7*4kB 5*8kB 6*16kB 4*32kB 2*64kB 3*128kB 3*256kB 2*512kB 0*1024kB 1*2048kB 0*4096kB = 4644kB
Sep 25 03:03:48 701248 kernel: Node 0 DMA32: 626*4kB 361*8kB 169*16kB 100*32kB 129*64kB 86*128kB 20*256kB 7*512kB 3*1024kB 1*2048kB 0*4096kB = 44384kB
Sep 25 03:03:48 701248 kernel: 17475 total pagecache pages
Sep 25 03:03:48 701248 kernel: 16890 pages in swap cache
Sep 25 03:03:48 701248 kernel: Swap cache stats: add 616719, delete 599829, find 1540220/1570114
Sep 25 03:03:48 701248 kernel: Free swap  = 0kB
Sep 25 03:03:48 701248 kernel: Total swap = 1048568kB
Sep 25 03:03:48 701248 kernel: 262140 pages RAM
Sep 25 03:03:48 701248 kernel: 6994 pages reserved
Sep 25 03:03:48 701248 kernel: 8438 pages shared
Sep 25 03:03:48 701248 kernel: 238753 pages non-shared
Sep 25 03:03:48 701248 kernel: [ pid ]   uid  tgid total_vm      rss cpu oom_adj oom_score_adj name
Sep 25 03:03:48 701248 kernel: [  482]     0   482     2875       25   0     -17         -1000 udevd
Sep 25 03:03:48 701248 kernel: [ 1188]     0  1188    23293       26   0     -17         -1000 auditd
Sep 25 03:03:48 701248 kernel: [ 1232]     0  1232    62270       24   0       0             0 rsyslogd
Sep 25 03:03:48 701248 kernel: [ 1270]    25  1270    56776       28   0       0             0 named
Sep 25 03:03:48 701248 kernel: [ 1301]    81  1301     7911       26   0       0             0 dbus-daemon
Sep 25 03:03:48 701248 kernel: [ 1331]     0  1331     1019       25   0       0             0 acpid
Sep 25 03:03:48 701248 kernel: [ 1340]    68  1340     6296       27   0       0             0 hald
Sep 25 03:03:48 701248 kernel: [ 1341]     0  1341     4526       21   0       0             0 hald-runner
Sep 25 03:03:48 701248 kernel: [ 1369]     0  1369     5055       21   0       0             0 hald-addon-inpu
Sep 25 03:03:48 701248 kernel: [ 1379]    68  1379     4451       25   0       0             0 hald-addon-acpi
Sep 25 03:03:48 701248 kernel: [ 1397]     0  1397    16563       27   0     -17         -1000 sshd
Sep 25 03:03:48 701248 kernel: [ 1408]     0  1408    27082       27   0       0             0 mysqld_safe
Sep 25 03:03:48 701248 kernel: [ 1511]   498  1511   225363     7981   0       0             0 mysqld
Sep 25 03:03:48 701248 kernel: [ 1541]    47  1541    17360       26   0       0             0 exim
Sep 25 03:03:48 701248 kernel: [ 1553]     0  1553    39118      305   0       0             0 /usr/local/cpan
Sep 25 03:03:48 701248 kernel: [ 1575]     0  1575    27551       26   0       0             0 abrtd
Sep 25 03:03:48 701248 kernel: [ 1586]     0  1586     3692       39   0       0             0 dovecot
Sep 25 03:03:48 701248 kernel: [ 1588]     0  1588     5465       49   0       0             0 dovecot-auth
Sep 25 03:03:48 701248 kernel: [ 1586]     0  1586     3692       39   0       0             0 dovecot
Sep 25 03:03:48 701248 kernel: [ 1588]     0  1588     5465       49   0       0             0 dovecot-auth
Sep 25 03:03:48 701248 kernel: [ 1597]     0  1597    16995       86   0       0             0 httpd
Sep 25 03:03:48 701248 kernel: [ 1612]     0  1612    34676       25   0       0             0 pure-ftpd
Sep 25 03:03:48 701248 kernel: [ 1614]     0  1614    34048       22   0       0             0 pure-authd
Sep 25 03:03:48 701248 kernel: [ 1617]    97  1617     9254       26   0       0             0 pop3-login
Sep 25 03:03:48 701248 kernel: [ 1618]    97  1618     9254       26   0       0             0 pop3-login
Sep 25 03:03:48 701248 kernel: [ 1619]    97  1619     9257       26   0       0             0 imap-login
Sep 25 03:03:48 701248 kernel: [ 1620]    97  1620     9257       28   0       0             0 imap-login
Sep 25 03:03:48 701248 kernel: [ 1626]     0  1626    29311       27   0       0             0 crond
Sep 25 03:03:48 701248 kernel: [ 1637]     0  1637     5373       23   0       0             0 atd
Sep 25 03:03:48 701248 kernel: [ 1669]     0  1669    39118      122   0       0             0 spamd child
Sep 25 03:03:48 701248 kernel: [ 1692]     0  1692    24312       75   0       0             0 cpsrvd-ssl
Sep 25 03:03:48 701248 kernel: [ 1695]     0  1695    24357        7   0       0             0 cpdavd - accept
Sep 25 03:03:48 701248 kernel: [ 1708]     0  1708     8634      206   0       0             0 queueprocd - wa
Sep 25 03:03:48 701248 kernel: [ 1744]     0  1744    12252      190   0       0             0 tailwatchd
Sep 25 03:03:48 701248 kernel: [ 1762]     0  1762     6767       12   0       0             0 cpanellogd - sl
Sep 25 03:03:48 701248 kernel: [ 1812]     0  1812     1019       16   0       0             0 agetty
Sep 25 03:03:48 701248 kernel: [ 1816]     0  1816     1015       14   0       0             0 mingetty
Sep 25 03:03:48 701248 kernel: [ 1818]     0  1818     1015       14   0       0             0 mingetty
Sep 25 03:03:48 701248 kernel: [ 1820]     0  1820     1015       14   0       0             0 mingetty   
Sep 25 03:03:48 701248 kernel: [ 1823]     0  1823     1015       14   0       0             0 mingetty
Sep 25 03:03:48 701248 kernel: [ 1825]     0  1825     1015       14   0       0             0 mingetty
Sep 25 03:03:48 701248 kernel: [ 1831]     0  1831     3072       23   0     -17         -1000 udevd
Sep 25 03:03:48 701248 kernel: [ 1832]     0  1832     3072       23   0     -17         -1000 udevd
Sep 25 03:03:48 701248 kernel: [ 1833]     0  1833     1015       14   0       0             0 mingetty
Sep 25 03:03:48 701248 kernel: [18631]     0 18631    12643       28   0       0             0 leechprotect
Sep 25 03:03:48 701248 kernel: [18633]    99 18633    17200       65   0       0             0 httpd
Sep 25 03:03:48 701248 kernel: [18636]    99 18636    17184       52   0       0             0 httpd
Sep 25 03:03:48 701248 kernel: [18673]    99 18673    17200      116   0       0             0 httpd  
Sep 25 03:03:48 701248 kernel: [18676]    99 18676    17198      117   0       0             0 httpd
Sep 25 03:03:48 701248 kernel: [18673]    99 18673    17200      116   0       0             0 httpd  
Sep 25 03:03:48 701248 kernel: [18676]    99 18676    17198      117   0       0             0 httpd
Sep 25 03:03:48 701248 kernel: [18680]    99 18680    17202       54   0       0             0 httpd
Sep 25 03:03:48 701248 kernel: [19373]    99 19373    17198       52   0       0             0 httpd
Sep 25 03:03:48 701248 kernel: [19384]    99 19384    17198      122   0       0             0 httpd
Sep 25 03:03:48 701248 kernel: [19397]    99 19397    17198      121   0       0             0 httpd
Sep 25 03:03:48 701248 kernel: [19402]    99 19402    17198      123   0       0             0 httpd
Sep 25 03:03:48 701248 kernel: [19416]    99 19416    17198      120   0       0             0 httpd
Sep 25 03:03:48 701248 kernel: [19723]     0 19723     4334       25   0       0             0 anacron
Sep 25 03:03:48 701248 kernel: [19766]   506 19766    69728     2911   0       0             0 php  
Sep 25 03:03:48 701248 kernel: [19767]   506 19767    69739     3229   0       0             0 php
Sep 25 03:03:48 701248 kernel: [19768]   506 19768    69664     2950   0       0             0 php
Sep 25 03:03:48 701248 kernel: [19769]   506 19769    69675     2878   0       0             0 php
Sep 25 03:03:48 701248 kernel: [19770]   506 19770    69734     2296   0       0             0 php
Sep 25 03:03:48 701248 kernel: [19779]   506 19779    69664     2770   0       0             0 php
Sep 25 03:03:48 701248 kernel: [19780]   506 19780    69664     3310   0       0             0 php
Sep 25 03:03:48 701248 kernel: [19781]   506 19781    69673     2918   0       0             0 php
Sep 25 03:03:48 701248 kernel: [19782]   506 19782    69739     3102   0       0             0 php   
Sep 25 03:03:48 701248 kernel: [19783]   506 19783    69673     2269   0       0             0 php
Sep 25 03:03:48 701248 kernel: [19796]    99 19796    17170      130   0       0             0 httpd   
Sep 25 03:03:48 701248 kernel: [19797]   506 19797    67797     2905   0       0             0 php
Sep 25 03:03:48 701248 kernel: [19800]    99 19800    17063       46   0       0             0 httpd   
Sep 25 03:03:48 701248 kernel: [19801]    99 19801    17063       46   0       0             0 httpd   
Sep 25 03:03:48 701248 kernel: [19802]   506 19802    66459     2898   0       0             0 php  
Sep 25 03:03:48 701248 kernel: [19803]   506 19803    66322     2757   0       0             0 php  
Sep 25 03:03:48 701248 kernel: [19808]    99 19808    17063       46   0       0             0 httpd   
Sep 25 03:03:48 701248 kernel: [19809]    99 19809    17063       46   0       0             0 httpd
Sep 25 03:03:48 701248 kernel: [19810]    99 19810    17063       46   0       0             0 httpd
Sep 25 03:03:48 701248 kernel: [19811]    99 19811    17063       47   0       0             0 httpd
Sep 25 03:03:48 701248 kernel: [19812]   506 19812    64536     3823   0       0             0 php    
Sep 25 03:03:48 701248 kernel: [19813]   506 19813    64663     4046   0       0             0 php 
Sep 25 03:03:48 701248 kernel: [19812]   506 19812    64536     3823   0       0             0 php  
Sep 25 03:03:48 701248 kernel: [19813]   506 19813    64663     4046   0       0             0 php  
Sep 25 03:03:48 701248 kernel: [19814]   506 19814    64536     3920   0       0             0 php  
Sep 25 03:03:48 701248 kernel: [19815]   506 19815    64536     3924   0       0             0 php  
Sep 25 03:03:48 701248 kernel: [19824]    99 19824    17063       46   0       0             0 httpd
Sep 25 03:03:48 701248 kernel: [19825]    99 19825    17063       46   0       0             0 httpd
Sep 25 03:03:48 701248 kernel: [19826]    99 19826    17063       46   0       0             0 httpd
Sep 25 03:03:48 701248 kernel: [19827]    99 19827    17063       46   0       0             0 httpd
Sep 25 03:03:48 701248 kernel: [19828]    99 19828    17063       46   0       0             0 httpd  
Sep 25 03:03:48 701248 kernel: [19829]    99 19829    17063       46   0       0             0 httpd
Sep 25 03:03:48 701248 kernel: [19830]    99 19830    17063       46   0       0             0 httpd
Sep 25 03:03:48 701248 kernel: [19831]    99 19831    17063       46   0       0             0 httpd
Sep 25 03:03:48 701248 kernel: [19832]   506 19832    64663     5350   0       0             0 php  
Sep 25 03:03:48 701248 kernel: [19833]   506 19833    64663     5345   0       0             0 php  
Sep 25 03:03:48 701248 kernel: [19834]   506 19834    64600     5127   0       0             0 php  
Sep 25 03:03:48 701248 kernel: [19835]   506 19835    64663     5399   0       0             0 php  
Sep 25 03:03:48 701248 kernel: [19836]   506 19836    64659     5625   0       0             0 php  
Sep 25 03:03:48 701248 kernel: [19837]   506 19837    65810     6445   0       0             0 php  
Sep 25 03:03:48 701248 kernel: [19838]   506 19838    65810     6589   0       0             0 php
Sep 25 03:03:48 701248 kernel: [19839]   506 19839    65810     6347   0       0             0 php  
Sep 25 03:03:48 701248 kernel: [19848]    99 19848    17063       46   0       0             0 httpd
Sep 25 03:03:48 701248 kernel: [19849]    99 19849    17063       46   0       0             0 httpd
Sep 25 03:03:48 701248 kernel: [19850]    99 19850    17063       46   0       0             0 httpd
Sep 25 03:03:48 701248 kernel: [19851]    99 19851    17063       46   0       0             0 httpd
Sep 25 03:03:48 701248 kernel: [19852]    99 19852    17063       46   0       0             0 httpd
Sep 25 03:03:48 701248 kernel: [19853]    99 19853    17063       47   0       0             0 httpd
Sep 25 03:03:48 701248 kernel: [19854]    99 19854    17063       46   0       0             0 httpd
Sep 25 03:03:48 701248 kernel: [19855]    99 19855    17063       46   0       0             0 httpd
Sep 25 03:03:48 701248 kernel: [19856]    99 19856    17063       46   0       0             0 httpd
Sep 25 03:03:48 701248 kernel: [19857]    99 19857    17063       46   0       0             0 httpd
Sep 25 03:03:48 701248 kernel: [19858]    99 19858    17063       46   0       0             0 httpd
Sep 25 03:03:48 701248 kernel: [19857]    99 19857    17063       46   0       0             0 httpd
Sep 25 03:03:48 701248 kernel: [19858]    99 19858    17063       46   0       0             0 httpd
Sep 25 03:03:48 701248 kernel: [19859]    99 19859    17063       46   0       0             0 httpd
Sep 25 03:03:48 701248 kernel: [19860]    99 19860    17063       46   0       0             0 httpd
Sep 25 03:03:48 701248 kernel: [19862]    99 19862    17063       46   0       0             0 httpd
Sep 25 03:03:48 701248 kernel: [19864]   506 19864    64080     6017   0       0             0 php  
Sep 25 03:03:48 701248 kernel: [19865]   506 19865    64657     6429   0       0             0 php  
Sep 25 03:03:48 701248 kernel: [19866]   506 19866    64080     6040   0       0             0 php  
Sep 25 03:03:48 701248 kernel: [19867]   506 19867    64668     6685   0       0             0 php    
Sep 25 03:03:48 701248 kernel: [19868]   506 19868    64080     6111   0       0             0 php  
Sep 25 03:03:48 701248 kernel: [19869]   506 19869    64732     6691   0       0             0 php  
Sep 25 03:03:48 701248 kernel: [19870]   506 19870    64659     6395   0       0             0 php  
Sep 25 03:03:48 701248 kernel: [19871]   506 19871    64663     6657   0       0             0 php  
Sep 25 03:03:48 701248 kernel: [19872]   506 19872    64659     6395   0       0             0 php  
Sep 25 03:03:48 701248 kernel: [19873]   506 19873    64663     6527   0       0             0 php  
Sep 25 03:03:48 701248 kernel: [19874]   506 19874    64080     6202   0       0             0 php  
Sep 25 03:03:48 701248 kernel: [19875]   506 19875    64080     6045   0       0             0 php  
Sep 25 03:03:48 701248 kernel: [19876]   506 19876    64732     6468   0       0             0 php  
Sep 25 03:03:48 701248 kernel: [19877]   506 19877    64659     6741   0       0             0 php
Sep 25 03:03:48 701248 kernel: [19904]    99 19904    17011      178   0       0             0 httpd
Sep 25 03:03:48 701248 kernel: [19906]    99 19906    16995       46   0       0             0 httpd
Sep 25 03:03:48 701248 kernel: [19907]    99 19907    16995       46   0       0             0 httpd
Sep 25 03:03:48 701248 kernel: [19908]    99 19908    16995       46   0       0             0 httpd
Sep 25 03:03:48 701248 kernel: [19909]    99 19909    16995       55   0       0             0 httpd
Sep 25 03:03:48 701248 kernel: [19910]    99 19910    16995       46   0       0             0 httpd
Sep 25 03:03:48 701248 kernel: [19911]    99 19911    16995       46   0       0             0 httpd
Sep 25 03:03:48 701248 kernel: [19912]    99 19912    16995       46   0       0             0 httpd
Sep 25 03:03:48 701248 kernel: [19913]    99 19913    16995       46   0       0             0 httpd
Sep 25 03:03:48 701248 kernel: [19914]    99 19914    16995       46   0       0             0 httpd
Sep 25 03:03:48 701248 kernel: [19915]    99 19915    16995       46   0       0             0 httpd
Sep 25 03:03:48 701248 kernel: [19916]    99 19916    16995       46   0       0             0 httpd
Sep 25 03:03:48 701248 kernel: Out of memory: Kill process 1511 (mysqld) score 57 or sacrifice child
Sep 25 03:03:48 701248 kernel: Killed process 1511, UID 498, (mysqld) total-vm:901452kB, anon-rss:31716kB, file-rss:208kB
Sep 25 03:03:48 701248 kernel: php invoked oom-killer: gfp_mask=0x201da, order=0, oom_adj=0, oom_score_adj=0
Sep 25 03:03:48 701248 kernel: php cpuset=/ mems_allowed=0
Sep 25 03:03:48 701248 kernel: Pid: 19813, comm: php Not tainted 2.6.32-358.11.1.el6.x86_64 #1
Sep 25 03:03:48 701248 kernel: Call Trace:
Sep 25 03:03:48 701248 kernel: [<ffffffff810cb541>] ? cpuset_print_task_mems_allowed+0x91/0xb0
Sep 25 03:03:48 701248 kernel: [<ffffffff8111cd40>] ? dump_header+0x90/0x1b0
Sep 25 03:03:48 701248 kernel: [<ffffffff8121d24c>] ? security_real_capable_noaudit+0x3c/0x70
Sep 25 03:03:48 701248 kernel: [<ffffffff8111d1c2>] ? oom_kill_process+0x82/0x2a0
Sep 25 03:03:48 701248 kernel: [<ffffffff8111d101>] ? select_bad_process+0xe1/0x120
Sep 25 03:03:48 701248 kernel: [<ffffffff8111d600>] ? out_of_memory+0x220/0x3c0
Sep 25 03:03:48 701248 kernel: [<ffffffff8112c2ac>] ? __alloc_pages_nodemask+0x8ac/0x8d0
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,224
463
Hello :)

Have you reviewed the MySQL error log (/var/lib/mysql/$hostname.err) to see if there are any specific entries at the time you have to restart it?

Thank you.
 

mjtweaver

Registered
Sep 25, 2013
2
0
1
cPanel Access Level
Root Administrator
Hello :)

Have you reviewed the MySQL error log (/var/lib/mysql/$hostname.err) to see if there are any specific entries at the time you have to restart it?

Thank you.
Thanks for taking the time to reply.

Ive noticed the following occuring repeatedly.

[ERROR] /usr/sbin/mysqld: Table './cphulkd/logins' is marked as crashed and should be repaired

- - - Updated - - -

I did some more research and some one recommended doing the following : mysqlcheck --repair cphulkd
This is the result:

cphulkd.auths OK
cphulkd.blacklist OK
cphulkd.brutes OK
cphulkd.good_logins OK
cphulkd.logins OK
cphulkd.report OK
cphulkd.whitelist OK
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,224
463
That indicates the logins table in the "cphulkd" database was corrupted. The command you ran should have repaired it. Is the load on your system high when this issue occurs? If so, the following thread may be helpful:

Troubleshooting High Load on Linux Systems

Thank you.