dannyneedshelp
New Pleskian
Im only just away from shared hosting guys so take it real easy with me!
I have a plesk login which im just about finding my way around!
im running a script which uploads post information to my wordpress website, yet everytime the csv is over 5000 lines i get an automated email from my host with this warning below and then the script stops and provides this message:
It seems that i need to increase the servers ability to use more sql memory somehow?
Please advise if you can?
Step by step would be great!
----
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator to inform of the time the error occurred and of anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
----
I then receive this email:
Server health parameter "Services > MySQL CPU usage" changed its status from "green" to "red".
top - 14:51:53 up 3 days, 20:26, 0 users, load average: 1.97, 1.39, 0.85
Tasks: 164 total, 2 running, 162 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.9%us, 0.2%sy, 0.1%ni, 98.8%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 3922844k total, 1738760k used, 2184084k free, 178876k buffers
Swap: 1048568k total, 0k used, 1048568k free, 522240k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1654 mysql 20 0 1078m 59m 5320 S 87.0 1.6 78:45.28 mysqld
6857 dilsons 30 10 203m 30m 7124 S 23.7 0.8 0:00.12 php-cgi
13 root 20 0 0 0 0 S 11.9 0.0 25:23.55 ksoftirqd/2
17 root 20 0 0 0 0 S 11.9 0.0 17:51.13 ksoftirqd/3
6833 dilsons 30 10 308m 137m 7900 R 9.9 3.6 0:50.84 php-cgi
36 root 20 0 0 0 0 S 2.0 0.0 0:01.82 kblockd/2
1 root 20 0 19360 1528 1208 S 0.0 0.0 0:01.89 init
2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd
3 root RT 0 0 0 0 S 0.0 0.0 0:00.63 migration/0
4 root 20 0 0 0 0 S 0.0 0.0 48:34.66 ksoftirqd/0
5 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/0
6 root RT 0 0 0 0 S 0.0 0.0 0:06.77 watchdog/0
7 root RT 0 0 0 0 S 0.0 0.0 0:01.17 migration/1
8 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/1
9 root 20 0 0 0 0 S 0.0 0.0 25:32.95 ksoftirqd/1
10 root RT 0 0 0 0 S 0.0 0.0 0:07.54 watchdog/1
11 root RT 0 0 0 0 S 0.0 0.0 0:00.54 migration/2
12 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/2
14 root RT 0 0 0 0 S 0.0 0.0 0:00.63 watchdog/2
15 root RT 0 0 0 0 S 0.0 0.0 0:00.57 migration/3
16 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/3
18 root RT 0 0 0 0 S 0.0 0.0 0:00.60 watchdog/3
19 root 20 0 0 0 0 S 0.0 0.0 0:14.25 events/0
20 root 20 0 0 0 0 S 0.0 0.0 0:22.60 events/1
21 root 20 0 0 0 0 S 0.0 0.0 0:17.27 events/2
22 root 20 0 0 0 0 S 0.0 0.0 0:23.04 events/3
23 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cgroup
24 root 20 0 0 0 0 S 0.0 0.0 0:00.00 khelper
25 root 20 0 0 0 0 S 0.0 0.0 0:00.00 netns
26 root 20 0 0 0 0 S 0.0 0.0 0:00.00 async/mgr
27 root 20 0 0 0 0 S 0.0 0.0 0:00.00 pm
28 root 20 0 0 0 0 S 0.0 0.0 0:01.53 sync_supers
29 root 20 0 0 0 0 S 0.0 0.0 0:01.95 bdi-default
30 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kintegrityd/0
31 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kintegrityd/1
32 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kintegrityd/2
33 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kintegrityd/3
34 root 20 0 0 0 0 S 0.0 0.0 0:01.87 kblockd/0
35 root 20 0 0 0 0 S 0.0 0.0 0:02.33 kblockd/1
37 root 20 0 0 0 0 S 0.0 0.0 0:03.01 kblockd/3
38 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kacpid
39 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kacpi_notify
40 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kacpi_hotplug
41 root 20 0 0 0 0 S 0.0 0.0 0:00.00 ata/0
42 root 20 0 0 0 0 S 0.0 0.0 0:00.00 ata/1
43 root 20 0 0 0 0 S 0.0 0.0 0:00.00 ata/2
44 root 20 0 0 0 0 S 0.0 0.0 0:00.00 ata/3
45 root 20 0 0 0 0 S 0.0 0.0 0:00.00 ata_aux
46 root 20 0 0 0 0 S 0.0 0.0 0:00.00 ksuspend_usbd
47 root 20 0 0 0 0 S 0.0 0.0 0:00.00 khubd
48 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kseriod
49 root 20 0 0 0 0 S 0.0 0.0 0:00.00 md/0
50 root 20 0 0 0 0 S 0.0 0.0 0:00.00 md/1
51 root 20 0 0 0 0 S 0.0 0.0 0:00.00 md/2
52 root 20 0 0 0 0 S 0.0 0.0 0:00.00 md/3
53 root 20 0 0 0 0 S 0.0 0.0 0:00.00 md_misc/0
54 root 20 0 0 0 0 S 0.0 0.0 0:00.00 md_misc/1
55 root 20 0 0 0 0 S 0.0 0.0 0:00.00 md_misc/2
56 root 20 0 0 0 0 S 0.0 0.0 0:00.00 md_misc/3
57 root 20 0 0 0 0 S 0.0 0.0 0:00.14 khungtaskd
58 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kswapd0
59 root 25 5 0 0 0 S 0.0 0.0 0:00.00 ksmd
60 root 39 19 0 0 0 S 0.0 0.0 1:24.99 khugepaged
61 root 20 0 0 0 0 S 0.0 0.0 0:00.00 aio/0
62 root 20 0 0 0 0 S 0.0 0.0 0:00.00 aio/1
63 root 20 0 0 0 0 S 0.0 0.0 0:00.00 aio/2
64 root 20 0 0 0 0 S 0.0 0.0 0:00.00 aio/3
65 root 20 0 0 0 0 S 0.0 0.0 0:00.00 crypto/0
66 root 20 0 0 0 0 S 0.0 0.0 0:00.00 crypto/1
67 root 20 0 0 0 0 S 0.0 0.0 0:00.00 crypto/2
68 root 20 0 0 0 0 S 0.0 0.0 0:00.00 crypto/3
73 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthrotld/0
74 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthrotld/1
75 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthrotld/2
76 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthrotld/3
78 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kpsmoused
79 root 20 0 0 0 0 S 0.0 0.0 0:00.00 usbhid_resumer
109 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kstriped
328 root 20 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_0
329 root 20 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_1
346 root 20 0 0 0 0 S 0.0 0.0 0:00.00 virtio-blk
359 root 20 0 0 0 0 S 0.0 0.0 0:28.94 jbd2/vda3-8
360 root 20 0 0 0 0 S 0.0 0.0 0:00.00 ext4-dio-unwrit
361 root 20 0 0 0 0 S 0.0 0.0 0:00.00 ext4-dio-unwrit
362 root 20 0 0 0 0 S 0.0 0.0 0:00.00 ext4-dio-unwrit
363 root 20 0 0 0 0 S 0.0 0.0 0:00.00 ext4-dio-unwrit
457 root 16 -4 11336 1404 320 S 0.0 0.0 0:01.80 udevd
620 root 20 0 0 0 0 S 0.0 0.0 0:00.00 virtio-net
629 root 20 0 0 0 0 S 0.0 0.0 0:10.37 flush-252:0
642 root 20 0 0 0 0 S 0.0 0.0 0:00.00 vballoon
888 root 20 0 0 0 0 S 0.0 0.0 0:00.00 jbd2/vda1-8
889 root 20 0 0 0 0 S 0.0 0.0 0:00.00 ext4-dio-unwrit
890 root 20 0 0 0 0 S 0.0 0.0 0:00.00 ext4-dio-unwrit
891 root 20 0 0 0 0 S 0.0 0.0 0:00.00 ext4-dio-unwrit
892 root 20 0 0 0 0 S 0.0 0.0 0:00.00 ext4-dio-unwrit
992 root 20 0 0 0 0 S 0.0 0.0 0:03.46 kauditd
1195 root 16 -4 93172 836 564 S 0.0 0.0 0:06.87 auditd
1213 root 20 0 6156 584 492 S 0.0 0.0 0:00.00 portreserve
1220 root 20 0 243m 2860 1040 S 0.0 0.1 0:08.65 rsyslogd
1249 root 20 0 9144 568 416 S 0.0 0.0 0:20.64 irqbalance
1267 rpc 20 0 18972 732 500 S 0.0 0.0 0:00.54 rpcbind
1295 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rpciod/0
1296 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rpciod/1
1297 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rpciod/2
1298 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rpciod/3
1302 root 20 0 23088 520 316 S 0.0 0.0 0:00.00 rpc.idmapd
1396 dbus 20 0 31776 1248 884 S 0.0 0.0 0:00.12 dbus-daemon
1421 root 20 0 4076 632 520 S 0.0 0.0 0:00.00 acpid
1430 haldaemo 20 0 25140 3896 3120 S 0.0 0.1 0:01.53 hald
1431 root 20 0 18104 1132 944 S 0.0 0.0 0:00.00 hald-runner
I have a plesk login which im just about finding my way around!
im running a script which uploads post information to my wordpress website, yet everytime the csv is over 5000 lines i get an automated email from my host with this warning below and then the script stops and provides this message:
It seems that i need to increase the servers ability to use more sql memory somehow?
Please advise if you can?
Step by step would be great!
----
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator to inform of the time the error occurred and of anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
----
I then receive this email:
Server health parameter "Services > MySQL CPU usage" changed its status from "green" to "red".
top - 14:51:53 up 3 days, 20:26, 0 users, load average: 1.97, 1.39, 0.85
Tasks: 164 total, 2 running, 162 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.9%us, 0.2%sy, 0.1%ni, 98.8%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 3922844k total, 1738760k used, 2184084k free, 178876k buffers
Swap: 1048568k total, 0k used, 1048568k free, 522240k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1654 mysql 20 0 1078m 59m 5320 S 87.0 1.6 78:45.28 mysqld
6857 dilsons 30 10 203m 30m 7124 S 23.7 0.8 0:00.12 php-cgi
13 root 20 0 0 0 0 S 11.9 0.0 25:23.55 ksoftirqd/2
17 root 20 0 0 0 0 S 11.9 0.0 17:51.13 ksoftirqd/3
6833 dilsons 30 10 308m 137m 7900 R 9.9 3.6 0:50.84 php-cgi
36 root 20 0 0 0 0 S 2.0 0.0 0:01.82 kblockd/2
1 root 20 0 19360 1528 1208 S 0.0 0.0 0:01.89 init
2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd
3 root RT 0 0 0 0 S 0.0 0.0 0:00.63 migration/0
4 root 20 0 0 0 0 S 0.0 0.0 48:34.66 ksoftirqd/0
5 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/0
6 root RT 0 0 0 0 S 0.0 0.0 0:06.77 watchdog/0
7 root RT 0 0 0 0 S 0.0 0.0 0:01.17 migration/1
8 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/1
9 root 20 0 0 0 0 S 0.0 0.0 25:32.95 ksoftirqd/1
10 root RT 0 0 0 0 S 0.0 0.0 0:07.54 watchdog/1
11 root RT 0 0 0 0 S 0.0 0.0 0:00.54 migration/2
12 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/2
14 root RT 0 0 0 0 S 0.0 0.0 0:00.63 watchdog/2
15 root RT 0 0 0 0 S 0.0 0.0 0:00.57 migration/3
16 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/3
18 root RT 0 0 0 0 S 0.0 0.0 0:00.60 watchdog/3
19 root 20 0 0 0 0 S 0.0 0.0 0:14.25 events/0
20 root 20 0 0 0 0 S 0.0 0.0 0:22.60 events/1
21 root 20 0 0 0 0 S 0.0 0.0 0:17.27 events/2
22 root 20 0 0 0 0 S 0.0 0.0 0:23.04 events/3
23 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cgroup
24 root 20 0 0 0 0 S 0.0 0.0 0:00.00 khelper
25 root 20 0 0 0 0 S 0.0 0.0 0:00.00 netns
26 root 20 0 0 0 0 S 0.0 0.0 0:00.00 async/mgr
27 root 20 0 0 0 0 S 0.0 0.0 0:00.00 pm
28 root 20 0 0 0 0 S 0.0 0.0 0:01.53 sync_supers
29 root 20 0 0 0 0 S 0.0 0.0 0:01.95 bdi-default
30 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kintegrityd/0
31 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kintegrityd/1
32 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kintegrityd/2
33 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kintegrityd/3
34 root 20 0 0 0 0 S 0.0 0.0 0:01.87 kblockd/0
35 root 20 0 0 0 0 S 0.0 0.0 0:02.33 kblockd/1
37 root 20 0 0 0 0 S 0.0 0.0 0:03.01 kblockd/3
38 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kacpid
39 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kacpi_notify
40 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kacpi_hotplug
41 root 20 0 0 0 0 S 0.0 0.0 0:00.00 ata/0
42 root 20 0 0 0 0 S 0.0 0.0 0:00.00 ata/1
43 root 20 0 0 0 0 S 0.0 0.0 0:00.00 ata/2
44 root 20 0 0 0 0 S 0.0 0.0 0:00.00 ata/3
45 root 20 0 0 0 0 S 0.0 0.0 0:00.00 ata_aux
46 root 20 0 0 0 0 S 0.0 0.0 0:00.00 ksuspend_usbd
47 root 20 0 0 0 0 S 0.0 0.0 0:00.00 khubd
48 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kseriod
49 root 20 0 0 0 0 S 0.0 0.0 0:00.00 md/0
50 root 20 0 0 0 0 S 0.0 0.0 0:00.00 md/1
51 root 20 0 0 0 0 S 0.0 0.0 0:00.00 md/2
52 root 20 0 0 0 0 S 0.0 0.0 0:00.00 md/3
53 root 20 0 0 0 0 S 0.0 0.0 0:00.00 md_misc/0
54 root 20 0 0 0 0 S 0.0 0.0 0:00.00 md_misc/1
55 root 20 0 0 0 0 S 0.0 0.0 0:00.00 md_misc/2
56 root 20 0 0 0 0 S 0.0 0.0 0:00.00 md_misc/3
57 root 20 0 0 0 0 S 0.0 0.0 0:00.14 khungtaskd
58 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kswapd0
59 root 25 5 0 0 0 S 0.0 0.0 0:00.00 ksmd
60 root 39 19 0 0 0 S 0.0 0.0 1:24.99 khugepaged
61 root 20 0 0 0 0 S 0.0 0.0 0:00.00 aio/0
62 root 20 0 0 0 0 S 0.0 0.0 0:00.00 aio/1
63 root 20 0 0 0 0 S 0.0 0.0 0:00.00 aio/2
64 root 20 0 0 0 0 S 0.0 0.0 0:00.00 aio/3
65 root 20 0 0 0 0 S 0.0 0.0 0:00.00 crypto/0
66 root 20 0 0 0 0 S 0.0 0.0 0:00.00 crypto/1
67 root 20 0 0 0 0 S 0.0 0.0 0:00.00 crypto/2
68 root 20 0 0 0 0 S 0.0 0.0 0:00.00 crypto/3
73 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthrotld/0
74 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthrotld/1
75 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthrotld/2
76 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthrotld/3
78 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kpsmoused
79 root 20 0 0 0 0 S 0.0 0.0 0:00.00 usbhid_resumer
109 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kstriped
328 root 20 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_0
329 root 20 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_1
346 root 20 0 0 0 0 S 0.0 0.0 0:00.00 virtio-blk
359 root 20 0 0 0 0 S 0.0 0.0 0:28.94 jbd2/vda3-8
360 root 20 0 0 0 0 S 0.0 0.0 0:00.00 ext4-dio-unwrit
361 root 20 0 0 0 0 S 0.0 0.0 0:00.00 ext4-dio-unwrit
362 root 20 0 0 0 0 S 0.0 0.0 0:00.00 ext4-dio-unwrit
363 root 20 0 0 0 0 S 0.0 0.0 0:00.00 ext4-dio-unwrit
457 root 16 -4 11336 1404 320 S 0.0 0.0 0:01.80 udevd
620 root 20 0 0 0 0 S 0.0 0.0 0:00.00 virtio-net
629 root 20 0 0 0 0 S 0.0 0.0 0:10.37 flush-252:0
642 root 20 0 0 0 0 S 0.0 0.0 0:00.00 vballoon
888 root 20 0 0 0 0 S 0.0 0.0 0:00.00 jbd2/vda1-8
889 root 20 0 0 0 0 S 0.0 0.0 0:00.00 ext4-dio-unwrit
890 root 20 0 0 0 0 S 0.0 0.0 0:00.00 ext4-dio-unwrit
891 root 20 0 0 0 0 S 0.0 0.0 0:00.00 ext4-dio-unwrit
892 root 20 0 0 0 0 S 0.0 0.0 0:00.00 ext4-dio-unwrit
992 root 20 0 0 0 0 S 0.0 0.0 0:03.46 kauditd
1195 root 16 -4 93172 836 564 S 0.0 0.0 0:06.87 auditd
1213 root 20 0 6156 584 492 S 0.0 0.0 0:00.00 portreserve
1220 root 20 0 243m 2860 1040 S 0.0 0.1 0:08.65 rsyslogd
1249 root 20 0 9144 568 416 S 0.0 0.0 0:20.64 irqbalance
1267 rpc 20 0 18972 732 500 S 0.0 0.0 0:00.54 rpcbind
1295 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rpciod/0
1296 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rpciod/1
1297 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rpciod/2
1298 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rpciod/3
1302 root 20 0 23088 520 316 S 0.0 0.0 0:00.00 rpc.idmapd
1396 dbus 20 0 31776 1248 884 S 0.0 0.0 0:00.12 dbus-daemon
1421 root 20 0 4076 632 520 S 0.0 0.0 0:00.00 acpid
1430 haldaemo 20 0 25140 3896 3120 S 0.0 0.1 0:01.53 hald
1431 root 20 0 18104 1132 944 S 0.0 0.0 0:00.00 hald-runner