недавно от хостера пришёл варнинг вот в таком виде:
[more]
Код: Account: xxx (uid 32135)
Process Count: 15
CPU usage: 89 %
Memory usage: 9 %
Killed: Yes
Banned with .htaccess: No
Process Information:
cpu: 66.7% mem: 0.5% rss: 11.1M uptime: 00m 00s cpu time: 00m 00s
(exe: /usr/bin/php) (cwd: /home/xxx/public_html/forum)
(cmd: /usr/bin/php /home/xxx/public_html/forum/showthread.php)
cpu: 4.7% mem: 0.5% rss: 10.9M uptime: 00m 01s cpu time: 00m 00s
(exe: /usr/bin/php) (cwd: /home/xxx/public_html/forum)
(cmd: /usr/bin/php /home/xxx/public_html/forum/usercp.php)
... и т.д ...
Last php scripts:
12713 times "/home/xxx/public_html/forum/forumdisplay.php"
4330 times "/home/xxx/public_html/forum/showthread.php"
1487 times "/home/xxx/public_html/forum/index.php"
... и т.д ...
Slow SQL queries:
USER: xxx_vbdbuse[xxx_vbdbuse]
SELECT COUNT(*) AS posts
FROM post AS post
WHERE threadid = N AND visible = N
AND dateline <= N
----------------------------
USER: xxx_vbdbuse[xxx_vbdbuse]
SELECT post.postid, post.pagetext, IFNULL( user.username , post.username ) AS username, dateline
FROM post AS post
LEFT JOIN user AS user ON (user.userid = post.userid)
WHERE threadid = N
AND visible = N
ORDER BY dateline ASC
LIMIT N,N
----------------------------
... и т.д ...
[more]
Код: Account: xxx (uid 32135)
Process Count: 15
CPU usage: 89 %
Memory usage: 9 %
Killed: Yes
Banned with .htaccess: No
Process Information:
cpu: 66.7% mem: 0.5% rss: 11.1M uptime: 00m 00s cpu time: 00m 00s
(exe: /usr/bin/php) (cwd: /home/xxx/public_html/forum)
(cmd: /usr/bin/php /home/xxx/public_html/forum/showthread.php)
cpu: 4.7% mem: 0.5% rss: 10.9M uptime: 00m 01s cpu time: 00m 00s
(exe: /usr/bin/php) (cwd: /home/xxx/public_html/forum)
(cmd: /usr/bin/php /home/xxx/public_html/forum/usercp.php)
... и т.д ...
Last php scripts:
12713 times "/home/xxx/public_html/forum/forumdisplay.php"
4330 times "/home/xxx/public_html/forum/showthread.php"
1487 times "/home/xxx/public_html/forum/index.php"
... и т.д ...
Slow SQL queries:
USER: xxx_vbdbuse[xxx_vbdbuse]
SELECT COUNT(*) AS posts
FROM post AS post
WHERE threadid = N AND visible = N
AND dateline <= N
----------------------------
USER: xxx_vbdbuse[xxx_vbdbuse]
SELECT post.postid, post.pagetext, IFNULL( user.username , post.username ) AS username, dateline
FROM post AS post
LEFT JOIN user AS user ON (user.userid = post.userid)
WHERE threadid = N
AND visible = N
ORDER BY dateline ASC
LIMIT N,N
----------------------------
... и т.д ...