G2 Gallery Slow Even w/PHPA and other rec. tweaks...
Jeeves
Joined: 2005-02-24
Posts: 11 |
Posted: Tue, 2005-04-26 22:55 |
I'm having the same problem I see many others having. G2 Is ungodly slow. I've installed PHPA which didn't seem to do anything (so it was removed), I've pre-built all icons before, but one way or another, the moment you start dealing with the actual images the gallery slows to a crawl, and I'm talking 15s+ page loads for an 800x600 or a 1024x768 image. Mass caption changes are absolute murder and a ~60 image gallery took ~25-35mins to rename all the captions. It's just hellacious and nothing has seemed to help. ---- |
|
Posts: 11
Nobody has anything?
Posts: 388
Hang tight, I'm sure some folks will reply in a day or two. There could be 101 different reasons why your G2 is so slow. Also, I don't believe the G2 dev's are done optimizing for speed yet. Are you sure its G2 and not your server sw/hw configuration? Has it always been this sluggish? (G2 Alpha, Beta1). Reviewed your log files for obvious errors? Anything hogging your cpu, draining your memory or frequent use of swap, anything else besides G2 using the database?
If installing a PHPA did not speed things up for you then it sounds like a server configuration issue. Did you try Turck MMcache?
I have just under 2000 images and mine is quite fast and 3x-5x times faster with Turck MMcache installed. I checked your site and the bikini girls came up quite fast along with some other photo's within a few seconds.
Posts: 7994
When I looked at your site, the performance was pretty good. I flipped through one of your albums, no problem.
My guess is that swordfish is right.. something is wrong with your PHP configuration causing Apache/PHP to crash. I'd check CPU and error logs, as a start. You could also put G2 in logged or immediate debug mode (edit your config.php, read the instructions there) and look for warnings/errors.
Posts: 11
G2 has always been horrendously slow, no builds have yet to fix it. It's the only major thing in the database, and the HW/SW config seems solid. I'll look into the logs and MMCache.
bharat, I never said anything crashed, it just became ungodly slow.
Posts: 32509
- the hardware is solid
- G2 is slow on your setup, but fast on many other less powerful systems
so let's find out what's causing it.
how many items/albums/users do you roughly have?
i guess is some strange freebsd/mysql/php/apache issue.
one could activate the profiler in config.php and check which steps take so much time!
could you do that?
Posts: 167
Not sure what OS your running, but I had a similar issue. Ended up that my PHP was hosed on win2k server and was eating up *awesome* ammounts of memory ( 6+ gig in my server, hitting my page file like mad ( I've got 4gb of installed memory )). Gallery would time out and kill the PHP process... it would get fast again, and quickly get slower when I viewed my images.
I'm running on a 2 meg link, your welcome to check the speed of my box if you would like to compare... www.2000transam.com. With exception to my 5mp images, looking at the local box, v.s what I see on the internet at home, my thumbnails and 'web' images load at about the same speeds.
Posts: 32509
please activate profiling and post the report, i guess that would be a great start.
Posts: 11
I will here in a bit. Apache and SQL were reconfigured and the RAM was upped to 1gb. On top of that MMCache was installed as well. Seems to have helped a lot. If I see more lag issues I'll persue this further. Thanks for all the help guys.
Posts: 1378
We had also similar reports of G2 lagging/ being slow (I have noticed it is not as quick as G1 but that is to be expected as well, plus it is a BETA product and no doubt the G2 team will tweak things as time goes on..)
I can confirm that G2 does eat a lot of memory (Unix), we have had reports of having to increase php.ini memory_limit to 16MB to run G2 in WP Embedded mode..
Posts: 32509
16MB php mem limit is nothing. that's G2. things get weird if the hardware/system specs look good (like this 3 GHz / 512MB system). then we have to investigate if the disk access is slow or whatever.
and i think the built-in profiler of G2 could find one or the other bottlenecks for some systems.