Ну в предыдущем листинге пока и сам разобрался - там 2 запроса очень тяжелые если галерея работала 3 года... убрал - полегчало, но что делать тут:
USER:
------------------
Array
(
[ID] => a0b4ea6c4da711a768de0bf926ecda2a
[am] => 1
[liv] => Array
(
[0] => 101217
[1] => 101362
[2] => 101268
[3] => 101363
[4] => 101361
)
[lap] => 1
[search] => Array
(
[params] => Array
(
[filename] => 1
[keywords] => 1
[caption] => 1
[title] => 1
)
)
)
==========================
USER DATA:
------------------
Array
(
[user_id] => 1
[user_name] => GeX
[groups] => Array
(
[0] => 1
)
[disk_max] => 0
[disk_min] => 0
[can_rate_pictures] => 1
[can_send_ecards] => 1
[ufc_max] => 1
[ufc_min] => 1
[custom_user_upload] => 0
[num_file_upload] => 10
[num_URI_upload] => 0
[can_post_comments] => 1
[can_upload_pictures] => 1
[can_create_albums] => 1
[has_admin_access] => 1
[pub_upl_need_approval] => 0
[priv_upl_need_approval] => 0
[group_name] => Administrators
[upload_form_config] => 1
[group_quota] => 0
[can_see_all_albums] => 1
[group_id] => 1
)
==========================
Queries:
------------------
Array
(
[0] => SELECT extension, mime, content, player FROM cpg132_filetypes; (0s)
[1] => select * from cpg132_plugins order by priority asc; (0s)
[2] => delete from `gex_mp20061015`.cpg132_sessions where time<1199679296 and remember=0; (0.001s)
[3] => delete from `gex_mp20061015`.cpg132_sessions where time<1198473296; (0.001s)
[4] => select user_id from `gex_mp20061015`.cpg132_sessions where session_id=md5("812ea7bf67766adbbf56943d5de2c3daee24ce1ce70881e5e1a018c69b95e1c7"); (0s)
[5] => select user_id as id, user_password as password from `gex_mp20061015`.cpg132_users where user_id=1 (0s)
[6] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.user_group+100 AS group_id FROM `gex_mp20061015`.cpg132_users AS u INNER JOIN `gex_mp20061015`.cpg132_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
[7] => SELECT user_group_list FROM `gex_mp20061015`.cpg132_users AS u WHERE user_id='1' and user_group_list <> ''; (0s)
[8] => SELECT MAX(group_quota) as disk_max, MIN(group_quota) as disk_min, MAX(can_rate_pictures) as can_rate_pictures, MAX(can_send_ecards) as can_send_ecards, MAX(upload_form_config) as ufc_max, MIN(upload_form_config) as ufc_min, MAX(custom_user_upload) as custom_user_upload, MAX(num_file_upload) as num_file_upload, MAX(num_URI_upload) as num_URI_upload, MAX(can_post_comments) as can_post_comments, MAX(can_upload_pictures) as can_upload_pictures, MAX(can_create_albums) as can_create_albums, MAX(has_admin_access) as has_admin_access, MIN(pub_upl_need_approval) as pub_upl_need_approval, MIN( priv_upl_need_approval) as priv_upl_need_approval FROM cpg132_usergroups WHERE group_id in (1) (0s)
[9] => SELECT group_name FROM cpg132_usergroups WHERE group_id= 1 (0s)
[10] => update `gex_mp20061015`.cpg132_sessions set time='1199682896' where session_id=md5('812ea7bf67766adbbf56943d5de2c3daee24ce1ce70881e5e1a018c69b95e1c7'); (0s)
[11] => SELECT user_favpics FROM cpg132_favpics WHERE user_id = 1 (0s)
[12] => DELETE FROM cpg132_mod_online WHERE last_action < NOW() - INTERVAL 10 MINUTE (0s)
[13] => REPLACE INTO cpg132_mod_online (user_id, user_name, user_ip, last_action) VALUES ('1', 'GeX', '10.6.18.207', NOW()) (0s)
[14] => DELETE FROM cpg132_banned WHERE expiry < '2008-01-07 08:14:56' (0s)
[15] => SELECT * FROM cpg132_banned WHERE (ip_addr='10.6.18.207' OR ip_addr='10.6.18.207' OR user_id=1) AND brute_force=0 (0s)
[16] => SELECT COUNT(*) FROM cpg132_pictures WHERE approved = 'NO' (0s)
[17] => SELECT COUNT(*) from cpg132_pictures WHERE approved = 'YES' (0s)
[18] => SELECT * FROM cpg132_pictures WHERE approved = 'YES' ORDER BY pid DESC LIMIT 0 ,100 (0.001s)
)
==========================
GET :
------------------
Array
(
[album] => lastup
[cat] => 0
)
==========================
POST :
------------------
Array
(
)
==========================
VERSION INFO :
------------------
PHP version: 5.2.0 - OK
------------------
mySQL version: 4.1.22
------------------
Coppermine version: 1.4.9(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.28 compatible)
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support: 1
GIF Read Support: 1
GIF Create Support: 1
JPG Support: 1
PNG Support: 1
WBMP Support: 1
XPM Support: 1
XBM Support: 1
JIS-mapped Japanese Font Support:
==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 4.1.22
MYSQL_MODULE_TYPE no value
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_INCLUDE no value
MYSQL_LIBS no value
==========================
Module: zlib
------------------
ZLib Support enabled
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
Compiled Version 1.2.2
Linked Version 1.2.2
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | Off | On
safe_mode_exec_dir | no value | no value
safe_mode_gid | Off | Off
safe_mode_include_dir | no value | no value
safe_mode_exec_dir | no value | no value
sql.safe_mode | Off | Off
disable_functions | popen,dl,set_time_limit,passthru,system,exec,proc_open,shell_exec,proc_close,symlink | popen,dl,set_time_limit,passthru,system,exec,proc_open,shell_exec,proc_close,symlink
file_uploads | On | On
include_path | .: | .:
open_basedir | /usr/local/psa/home/vhosts/myphoto.ck.ua/httpdocs:/tmp | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | no value | no value
sendmail_path | /usr/sbin/sendmail -t -i | /usr/sbin/sendmail -t -i
SMTP | localhost | localhost
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 5 | 5
max_input_time | 60 | 60
upload_max_filesize | 32M | 32M
post_max_size | 64M | 64M
==========================
Page generated in 0.503 seconds - 19 queries in 0.003 seconds - Album set : ; Meta set: ;
Смущают именно Page generated in 0.503 seconds, притом что 19 queries in 0.003 seconds, тоесть тут бок уже не в SQL, а гдето глубже. Мож кто сталкивался? Листинг получен по ссылке thumbnails.php?album=lastup&cat=0