4images Forum & Community
4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: }{iJacK on March 31, 2005, 02:26:18 PM
-
1- You can remove your random image @ template or php file constant.php
2- You can use disable right click to open lots of page ( so many mysql connection with 1 ip )
3- if server is yours you can edit etc/my.cnf file
max connection : 500
persitent connection : 0
timeout : 300
4- close who is online section if you get more than 150 active
and so did you know any other alternavites to use cpu & memmory more optimistic.
i got daily 11.000 unique hit and i cant reach more... couse of my server ?
WRITE ALL TOPICS ABOUT OPTIMISATION THE MYSQL AND 4IMAGES..
-
1- Details
Try to change
Code:
define('SHOW_RANDOM_CAT_IMAGE', 1);
to
Code:
define('SHOW_RANDOM_CAT_IMAGE', 0);
in includes/constants.php. This disables the category related random image.
Code:
define('SHOW_RANDOM_IMAGE', 1);
to
Code:
define('SHOW_RANDOM_IMAGE', 0);