Performance
17926
Joined: 2011-02-18
Posts: 7 |
Posted: Sat, 2011-03-05 18:34 |
Hey, I have problems with the performance of my gallery2 embedded and i dont know why http://we-are-famous.de/sites/bilderhalle/gallery2Embedded.php |
|
Posts: 16504
It's not just Gallery. I can't get anything on your site to load quickly. Typical of an overloaded, oversold, low-end, shared host. You get what you pay for.
Ask you host, if they'll respond, about why their servers are so slow.
____________________________________________
Like Gallery? Like the support? Donate now!
Posts: 7
It IS just because of Gallery, Apache is using ALL of what the CPU got!
Well I uploaded 900 images, while uploading gallery got slower and slower til the server needed a restart!
EDIT;:
I now deleted those photos so the server is reachable again
Posts: 16504
Just going to http://we-are-famous.de/ is slow.
Your server is very poorly configured. Most likely allowing either Apache or MySQL or both to consume too much memory..
http://blog.mysqltuner.com/
http://photos.kevinnehls.com
Pure G2 and super fast. For testing in the past, I've added and deleted 1000s of photos at a time with little impact to the overall server and that's all on the cheapest plan at www.linode.com
____________________________________________
Like Gallery? Like the support? Donate now!
Posts: 7
ok, just to make that perfectly clear, i had several gameservers runnin on this server, while the cpu usage was just at around 2%.
The CPU is FAST
The fotos were undeletable, i thpught they were removed, sorry for that!
Give me a minute, then it should work properly again!
Ok, photos deltedt server in its pure...
Oh and the CPU model name is: Intel(R) Xeon(R) CPU E5520 @ 2.27GHz
More than enough, In dont kniow what, but sth. is makeing gallery2 crazy
EDIT: I didnt want to sound harsh and I apologize for that. I know that you did a great job cause I read some of the source code...
It´s just, that people really are trying to crack my balls because they want to see those photos :P
Posts: 7
Ok, everytime I delete the pictures and insert them again, the serve gets really fast. But after 2-3mins it gets really slow, I really dont know why!
Posts: 16504
Use ImageMagick instead of GD
Make sure you're using file locking instead of database locking (see Site Admin > General, first page you land on)
Check this out for helping tune MySQL:
http://blog.mysqltuner.com/
____________________________________________
Like Gallery? Like the support? Donate now!
Posts: 7
I dont know why, but I cant get ImageMagick workin!
There are two possibillities:
Install (in /usr/local/bin/) and hardlink it
Or install it in /var/www/webX/html/
How to configure it?
Posts: 16504
apt-get install imagemagick works for me
Do what ever you need to with your distro to get it installed.
____________________________________________
Like Gallery? Like the support? Donate now!