Hi,
5 days ago, i've made a little advertisement for my site, and 100+ user were logged in and the serverload was going up to 120(!), and of course, my MySQL crashed. You all know me, and ill put almost 8 months of work (not just me) into my site, so its very frustrating and i hope we can come to an resolution.
the problems aren't the categories, even if i put the cache system on, i wouldn't help me, because it handles NOT the user sessions.
I talked yesterday with my server-administrator, he says that...
1625 | zapomni_4images2 | localhost | zapomni_4images2 | Query | 285 | Locked | SELECT cat_id, COUNT(image_id) AS new_images
FROM 4images_images
WHERE image_act |
| 1626 | zapomni_4images2 | localhost | zapomni_4images2 | Query | 287 | Locked | SELECT cat_id, COUNT(image_id) AS new_images
FROM 4images_images
WHERE image_act |
| 1627 | zapomni_4images2 | localhost | zapomni_4images2 | Query | 283 | Locked | SELECT cat_id, COUNT(image_id) AS new_images
FROM 4images_images
WHERE image_act |
| 1628 | zapomni_4images2 | localhost | zapomni_4images2 | Query | 284 | Locked | SELECT cat_id, COUNT(image_id) AS new_images
FROM 4images_images
WHERE image_act |
| 1629 | zapomni_4images2 | localhost | zapomni_4images2 | Query | 284 | Locked | SELECT cat_id, COUNT(image_id) AS new_images
...is the reason WHY my serverload is going up to 120(!) when more than 70-80 users are logged in. So, that should affect many things in 4images, we removed the block in the global.php - no error messages, even every small count is correct (just defined cat image is not shown)
BUT, after we removed the block, this SQL query is still being performed and still makes issues. So removing the block isn't the resolution, but at least, we know WHERE we have to search the problem and a resolution
Everyone, please consider this thread as a try to get to a resolution about this issue, because we can all just make profit from it. I ask everybody, who has a single clue, how we can "override" that problem to post his two cents.
Rewriting the 4images code would be a very big task, but i still believe we can find a second way, an easier way. This issue has to be resolved, in order for people, who are using 4images as a big site cms, with many visitors.
At least, give it a try
Regards
Georgi
PS: testaccount created,
http://www.zapomnime.com , user "test", pw "test"