One odd fix for blank pages and some errors

mattisam

Joined: 2009-10-29
Posts: 1
Posted: Thu, 2009-10-29 20:57

I found a fix for a problem. I never posted the problem, but found one and thought I would share it in case someone has the same issue.
All the sudden I started getting blank pages, very seldom getting errors. I put the system in debug mode, and that never dumped out any data, still blank pages. Viewing the source on the page gave some basic html, but not any content.

After doing a lot of digging, I found out the server was getting hit by some user overseas that was tieing it up. I was thinking there was something wrong with gallery when there was not. We banned the user with the help of my server provider, and all is well.

Just thought some would like to note when in doubt, look in strange places, you never know what you might find. Hope this helps someone.

Gallery version = 2.3 core 1.3.0
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 5.2.10 cgi
Webserver = Apache
Database = mysqli 5.0.81-community, lock.system=database
Toolkits = ArchiveUpload, Exif, Getid3, LinkItemToolkit, Thumbnail, Gd
Acceleration = full/900, partial/900
Operating system = Linux cl11.justhost.com 2.6.27.10-grsec #1 SMP Sun Aug 23 05:37:34 CDT 2009 x86_64
Default theme = matrix
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3
Rows in GalleryAccessMap table = 11
Rows in GalleryAccessSubscriberMap table = 4966
Rows in GalleryUser table = 2
Rows in GalleryItem table = 4964
Rows in GalleryAlbumItem table = 52
Rows in GalleryCacheMap table = 1102

Login or register to post comments
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 11023
Posted: Thu, 2009-10-29 21:05
Quote:
Database = mysqli 5.0.81-community, lock.system=database

Change to file locking and performance will increase.

Quote:
Toolkits = ArchiveUpload, Exif, Getid3, LinkItemToolkit, Thumbnail, Gd

Uninstall GD and install, configure and activate ImageMagick. Performance will increase.

More performance tips: http://codex.gallery2.org/Gallery2:Performance_Tips

That person was most likely not just slowing down your Gallery, but your entire server and everyone else on it. You probably wouldn't have been impacted so much at a different host:
http://gallery.menalto.com/node/88391#comment-310594

Just some feedback.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

Login or register to post comments