Welcome, Guest. Please login or register.

Author Topic: Album Picture Limits  (Read 5216 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Wayne

Album Picture Limits
« on: May 17, 2009, 05:49:31 PM »
Quote from: Piru;454611
Code: [Select]
Maximum File Size per Picture      97.7 KB
Maximum Picture Dimensions         600 by 600 Pixels
That sucks IMHO.

Could the limits be made more sensible?
Ok,

I just figured out that part of my problem with my recent "grumpyness" is stress.  The other part is that I don't respond well to passive aggressive, which the original post in this thread is.

That being said, I've changed the defaults to 1280 x 1024 / 300000 bytes.

With each person being able to upload 100 images, let's put that into perspective:

300,000 bytes x 100 = 30 megabytes of storage for each person's private album.

With over 900 active users, 900 x 30 megabytes is 27 Gigabytes.

I suck at math, but I believe that's right.  Anyway....

Should this become a problem for the site, we have three solutions:

1) Make private albums only available to VIP / Donors to the site (you know, the people who actually pay for the bandwidth)

2) Disable private albums altogether.

3) Increase the monthly donation needs to cover a dedicated server with sufficient hard drives not to care any more.

(Since #3 still requires donors, providing freebie amounts of space to people who don't donate doesn't make a lot of sense to me).

I had hoped we could use them as a great way to keep our members happy, but we'll need to just wait and see how things go.

Wayne
//* Signature Free *//
 

Offline Wayne

Re: Album Picture Limits
« Reply #1 on: June 25, 2009, 10:36:32 PM »
Quote from: Karlos;513400
That must have only just happened then. It's a simple directory permissions error. The directory is not currently writeable by apache.

-edit-

Bug report filed.
"Replacing permissions on 17,407 files, please wait...."

Really, it's expectable.  The backup utilities gzip up the files, but have little to do with the CHMOD permissions on each file/directory as they're replaced, so I expect to find a few of these type problems, easily fixed, though annoying as hell.The best we can say is that "at least the swapover is done"
« Last Edit: June 25, 2009, 10:39:01 PM by Wayne »
//* Signature Free *//
 

Offline Wayne

Re: Album Picture Limits
« Reply #2 on: June 25, 2009, 10:42:02 PM »
Quote from: Karlos;513404
That actually wouldn't take long on the commandline. +1 to bash :D
Nope but as a security precaution, there is no shell or telnet access.  Keeps all the kiddies out.

Wayne
//* Signature Free *//
 

Offline Wayne

Re: Album Picture Limits
« Reply #3 on: June 28, 2009, 03:22:45 AM »
There may be an image or two missing from before I figured out what was happening, but the gallery should now be back to where it was.

1) When the swapover happened, apparently some of the 16000+ files didn't get transferred, which is normal if the tech helping was using FTP without the verify option enabled.

2) The uploaded images were given the wrong CHOWN ownership, and the wrong CHMOD permissions by the system which I could not correct until the ownership issue was corrected by the techs.

I have manually re-uploaded all the images again, skipping the ones already in place.  While this took several hours, it should have replaced all the missing images, and they should now have the right permissions/ownership attached.

Leech away..
//* Signature Free *//