Lighting-Gallery.net

General => Questions & Suggestions => Topic started by: dor123 on June 12, 2019, 03:01:33 AM



Title: 500 Internal Server Error
Post by: dor123 on June 12, 2019, 03:01:33 AM
I recently receives this error often:
(https://i.postimg.cc/kX5Nv4RY/lighting-gallery-net-500-internal-server-error.png)


Title: Re: 500 Internal Server Error
Post by: lightinglover8902 on June 12, 2019, 12:12:01 PM
I'm also having the same issue as well...


Title: Re: 500 Internal Server Error
Post by: Froggy05 on June 12, 2019, 12:58:39 PM
I got that when my network connection was slow.


Title: Re: 500 Internal Server Error
Post by: rjluna2 on June 12, 2019, 01:53:02 PM
Same here.  Please contact administrator to reboot this site.


Title: Re: 500 Internal Server Error
Post by: High Intensity on June 12, 2019, 11:02:57 PM
I've been getting one of these every few days for the last few weeks.


Title: Re: 500 Internal Server Error
Post by: Froggy05 on June 13, 2019, 09:05:58 AM
I got that first time and last time yesterday. Then I clicked: Return to Lighting-Gallery.net Home Page


Title: Re: 500 Internal Server Error
Post by: Froggy05 on June 13, 2019, 09:16:00 AM
Now I got that again! ???


Title: Re: 500 Internal Server Error
Post by: Patrick on June 13, 2019, 06:19:17 PM
Sorry for the inconvenience, I am not sure what the issue is yet.  It's sporadic nature makes it hard to track down.  I'll see what I can do.


Title: Re: 500 Internal Server Error
Post by: HomeBrewLamps on June 14, 2019, 08:21:40 AM
I got it a few times myself.. when i reload the page the site works again but its still strange.


Title: Re: 500 Internal Server Error
Post by: wide-lite 1000 on June 15, 2019, 07:38:34 PM
Just did it to me a few times while commenting, usually the site responds very slowly to commands before and after this error occurs.


Title: Re: 500 Internal Server Error
Post by: dor123 on June 15, 2019, 07:46:16 PM
I couldn't enter the website at all and got this error all the time. And even after I managed to enter the website, I get this error when trying to enter my gallery.
Also: Now the website is very slow.


Title: Re: 500 Internal Server Error
Post by: Patrick on June 16, 2019, 12:31:11 PM
I have made a change that improves performance of of the main gallery page.  I don't know if this will reduce the number of errors, but at least the gallery home page typically loads in 2-3 seconds, whereas before it averaged around 8-10 seconds.  It had been one of the slower pages.


Title: Re: 500 Internal Server Error
Post by: dor123 on June 17, 2019, 04:03:27 AM
Got the error again for several seconds, when refreshing my gallery and than return to normal.


Title: Re: 500 Internal Server Error
Post by: Patrick on June 17, 2019, 03:18:32 PM
I have made a few additional optimizations.  Hopefully they help a bit.


Title: Re: 500 Internal Server Error
Post by: dor123 on June 18, 2019, 11:44:56 AM
Once again receiving this error now.


Title: Re: 500 Internal Server Error
Post by: Patrick on June 18, 2019, 04:14:01 PM
All the error indicates is that the PHP script had stalled and timed out.  It doesn't provide any detail as to the reason.  It could be resource contention.  I tried to make a few optimizations to reduce load, and it seems to me pages have been opening a little faster, but that may not have been the underlying issue or might not have reduced contention sufficiently.  It's also possible that a defect such as a memory leak exists that eventually bogs down the PHP process until it finally stalls out.  Regardless, it occurs as a result of concurrent activity and isn't reproducible, making it tough to pinpoint.  I'll do some more digging.  If you can identify any pattern to it, feel free to let me know.


Title: Re: 500 Internal Server Error
Post by: Patrick on June 18, 2019, 04:41:52 PM
I have discovered that there are some photos on the site that are taking considerably longer than others to load.  The image files are separate, so it's not the size of the pictures themselves.  Something about certain images or albums is negatively affecting the performance of the database queries used to retrieve data for the page.  Hopefully I'll have a solution soon. 


Title: Re: 500 Internal Server Error
Post by: Patrick on June 18, 2019, 07:17:11 PM
All right, I found there were a number of albums on the site with keywords.  Keywords can be used in searches, but also provide the ability to link albums together to create meta albums containing photos from other albums.  It's a nifty feature, but does not perform well.  I thought we disabled it a long time ago, but some albums still had them set.  So I've wiped out all of the keywords, and if we're lucky, this will reduce the number of timeouts we've been experiencing.


Title: Re: 500 Internal Server Error
Post by: xmaslightguy on June 18, 2019, 08:06:00 PM
Just got one when trying to access  lighting-gallery.net/gallery/thumbnails.php?album=lastcom (http://www.lighting-gallery.net/gallery/thumbnails.php?album=lastcom)
But unlike others here, I really haven't had any issues before this one with getting that error.


Title: Re: 500 Internal Server Error
Post by: High Intensity on June 19, 2019, 08:34:28 PM
Just got another 500 error.


Title: Re: 500 Internal Server Error
Post by: dor123 on June 19, 2019, 08:39:08 PM
Also: The gallery is very slow now.


Title: Re: 500 Internal Server Error
Post by: dor123 on June 20, 2019, 09:29:07 AM
Another form of 500 Internal Server Error:
(https://i.postimg.cc/fWGQFCjq/lighting-gallery-net-500-Internal-Server-Error.png)


Title: Re: 500 Internal Server Error
Post by: Patrick on June 20, 2019, 09:01:07 PM
If necessary, we can upgrade the server's CPU, but the hosting company charges extra for additional cores.  So I don't want to go that route unless it's absolutely necessary.

I blocked a couple of IP addresses for a foreign search engine that were routinely making multiple requests per minute, and I've opened a ticket with the hosting company to find out if they have any recommendations.


Title: Re: 500 Internal Server Error
Post by: dor123 on June 20, 2019, 11:10:04 PM
Continue to get this error.
Try to do the following: https://www.interserver.net/tips/kb/troubleshoot-500-internal-server-error/


Title: Re: 500 Internal Server Error
Post by: rjluna2 on June 21, 2019, 06:03:02 AM
Seems to logged in better and switch from forum to gallery quicker :)


Title: Re: 500 Internal Server Error
Post by: Patrick on June 22, 2019, 08:16:56 PM
After blocking more IP addresses and adding additional robots.txt directives, bot activity seems to be under control for now.  Problems start when the server is receiving requests faster than it can respond.  The result is a traffic jam.  Page loads slow down, and finally requests that can't be fulfilled time out.  Then the queue clears and it speeds up again, but it'll repeat unless the volume of requests is reduced.

Improvements to the hardware and software can also help satisfy the demand, but there's no sense upgrading to support crawlers that aren't benefiting us.  We want Google, Bing, and major search engines to index the site, but the bulk of the traffic was originating from other provides, and appeared to me to be excessive and unnecessary.

The logs look a lot quieter now, and hopefully all of you see an improvement.


Title: Re: 500 Internal Server Error
Post by: dor123 on June 22, 2019, 08:32:24 PM
Right now I didn't experience this problem for at least one or two days.


Title: Re: 500 Internal Server Error
Post by: Fluorescent05 on June 22, 2019, 09:42:41 PM
Just did it to me a few times while commenting, usually the site responds very slowly to commands before and after this error occurs.
Same for me, usually I'll wait a long time after commenting or clicking on a gallery photo, then a 500 internal server error will pop up.


Title: Re: 500 Internal Server Error
Post by: dor123 on June 23, 2019, 03:20:17 AM
The problem returned for a sec without my knowledge:
(https://i.postimg.cc/SxpXkZtt/lighting-gallery-net-500-internal-server-error-2.png)


Title: Re: 500 Internal Server Error
Post by: Patrick on June 23, 2019, 09:00:05 AM
I can't blame that one on bots.  There weren't any active at the time.  Something else must have been responsible for the timeout.  I'll see if I can find anything.


Title: Re: 500 Internal Server Error
Post by: dor123 on June 27, 2019, 02:45:53 AM
Seems that the error has been disappeared, since I don't get it right now for several days.


Title: Re: 500 Internal Server Error
Post by: dor123 on June 30, 2019, 02:39:34 AM
I got this error once again.


Title: Re: 500 Internal Server Error
Post by: Fluorescent05 on June 30, 2019, 06:47:49 AM
I have not gotten it for a long time (about a week and a half).


Title: Re: 500 Internal Server Error
Post by: High Intensity on June 30, 2019, 11:07:28 PM
Got another 500 error just now.


Title: Re: 500 Internal Server Error
Post by: dor123 on July 06, 2019, 03:14:11 AM
The problem occurred again in both the forum and the gallery, after several day that it didn't occurred at all.


Title: Re: 500 Internal Server Error
Post by: fluorescent lover 40 on July 06, 2019, 04:17:20 PM
I haven't got this error in three and a half weeks.


Title: Re: 500 Internal Server Error
Post by: dor123 on November 01, 2019, 06:44:40 AM
Getting 500 Internal Server Error once again.


Title: Re: 500 Internal Server Error
Post by: sox35 on November 01, 2019, 06:47:35 AM
Getting 500 Internal Server Error once again.
Same here, I've let the admins know. Probably just a glitch.


Title: Re: 500 Internal Server Error
Post by: rjluna2 on November 01, 2019, 06:49:42 AM
I got internal error message a couple time.  I think it overloaded temporarily :-\


Title: Re: 500 Internal Server Error
Post by: fluorescent lover 40 on November 01, 2019, 07:15:40 AM
I did notice that instead of the usual 7-14 guests, we all of sudden have around 100+ guests. That could be part of the reason.


Title: Re: 500 Internal Server Error
Post by: sox35 on November 01, 2019, 07:46:42 AM
I did notice that instead of the usual 7-14 guests, we all of sudden have around 100+ guests. That could be part of the reason.
The increase in "guest" users shown is because the period of activity that the "users online" feature displays has been increased from 1 to 15 minutes. Whether that has had any effect on the system performance or not I don't know. Maybe Patrick might be able to say.

I have also just noticed that the site system clock appears to be around 5 minutes slow, don't know if that has any bearing on it, I've never noticed that before.


Title: Re: 500 Internal Server Error
Post by: wide-lite 1000 on November 01, 2019, 10:23:58 PM
I did notice that instead of the usual 7-14 guests, we all of sudden have around 100+ guests. That could be part of the reason.

Right now I'm showing 174 guests. I wonder if it's bots since it's approaching election time in the U.S. ??


Title: Re: 500 Internal Server Error
Post by: sox35 on November 02, 2019, 08:13:54 AM
Right now I'm showing 174 guests. I wonder if it's bots since it's approaching election time in the U.S. ??
As I said, the increase in the number of guests shown is due to the retention period for online users being increased from 1 to 15 minutes. Maybe if it was reduced to 5 minutes or so (1 min was definitely too short) it might be better..?


Title: Re: 500 Internal Server Error
Post by: dor123 on November 05, 2019, 06:26:59 AM
I think that the website should only display the number of guests and registered users in real time and not by time.


Title: Re: 500 Internal Server Error
Post by: rjluna2 on November 05, 2019, 06:47:25 AM
It will display how many guest and user are visiting this site once you refresh the page.  This site has static page until you refresh it.


Title: Re: 500 Internal Server Error
Post by: Mandolin Girl on November 09, 2019, 10:39:41 AM
It will display how many guest and user are visiting this site once you refresh the page.  This site has static page until you refresh it.
We use a Firefox add-on to automatically refresh the page.  :)
This can have a downside though if you're in the middle of a post and it refreshes so that you lose what you have written.  :'(


Title: Re: 500 Internal Server Error
Post by: sox35 on November 09, 2019, 12:56:13 PM
We use a Firefox add-on to automatically refresh the page.  :)
This can have a downside though if you're in the middle of a post and it refreshes so that you lose what you have written.  :'(

There's a setting that you can use which stops it refreshing if the tab or page is active. We always forget about it, though  ::)


Title: Re: 500 Internal Server Error
Post by: dor123 on November 21, 2019, 06:05:05 AM
Non stop!!!
(https://i.postimg.cc/TPWG7BbY/lighting-gallery-net-500-internal-server-error-3.png)


Title: Re: 500 Internal Server Error
Post by: dor123 on November 28, 2019, 03:51:55 AM
When this problem will be fixed? It occur on a regular basis.


Title: Re: 500 Internal Server Error
Post by: rjluna2 on November 28, 2019, 10:05:53 AM
I think we have too many visitors here ???


Title: Re: 500 Internal Server Error
Post by: Mandolin Girl on November 28, 2019, 10:37:46 AM
I think we have too many visitors here ???
No we don't, it just seems like the amount has increased because the time window of site activity has increased from one minute to fifteen.


Title: Re: 500 Internal Server Error
Post by: Danny on November 28, 2019, 03:37:17 PM
I dont really get any issues with this sites performance. Ive been on here nearly 9 years and i think ive only ever had a handful of issues and i think they've always sorted themselves out

The site activity time window being increased is good, it never did seem accurate before, it seems much better now


Title: Re: 500 Internal Server Error
Post by: Mandolin Girl on December 02, 2019, 05:08:00 PM
When this problem will be fixed? It occur on a regular basis.
It could be a problem that is specific to where you live.  :-\


Title: Re: 500 Internal Server Error
Post by: sox35 on December 02, 2019, 05:31:03 PM
It could be a problem that is specific to where you live.  :-\
We certainly haven't noticed it here for quite some time. Is it just LG or do you get it with other sites..? Maybe worth checking with your ISP. Resetting your router sometimes works as well.


Title: Re: 500 Internal Server Error
Post by: dor123 on December 02, 2019, 08:46:29 PM
It is just LG.


Title: Re: 500 Internal Server Error
Post by: joseph_125 on December 03, 2019, 01:09:07 AM
I wonder if it's an ISP issue, I don't think I've gotten a error message like that when browsing the site. It might get a bit slow sometimes but aside from that I haven't gotten anything like that.


Title: Re: 500 Internal Server Error
Post by: dor123 on December 07, 2019, 12:09:05 AM
I'm getting this error now, when I browse with my father computer, which connected to the internet with different ISP than my computer at my hostel.


Title: Re: 500 Internal Server Error
Post by: fluorescent lover 40 on December 07, 2019, 12:35:37 AM
Maybe the error is caused by the browser you use maybe? I haven't had this error in over three weeks. That error was an insane Error 503 or something like that with said the system was refusing to connect and the site looked like something made on a home printer.


Title: Re: 500 Internal Server Error
Post by: Mandolin Girl on December 07, 2019, 11:19:36 AM
I honestly can't remember when I last had this error come up.  :-\


Title: Re: 500 Internal Server Error
Post by: dor123 on December 09, 2019, 06:14:18 AM
I had now this error at Pale Moon, and it occur also at Firefox.


Title: Re: 500 Internal Server Error
Post by: dor123 on December 14, 2019, 03:59:17 AM
This problem always appearing between 12:00 to 14:00 Israel clock.


Title: Re: 500 Internal Server Error
Post by: dor123 on December 24, 2019, 04:07:53 AM
I've this error on a regular basis, between 10:00-14:00 Israel time. When this problem would be solved.


Title: Re: 500 Internal Server Error
Post by: High Intensity on December 24, 2019, 04:08:25 AM
I just got a 500 error for the first time in a few months. :-\


Title: Re: 500 Internal Server Error
Post by: wide-lite 1000 on December 24, 2019, 11:45:22 AM
Just happened to me also for the first tie in a long while took about 1/2 hour before I could re enter the site !


Title: Re: 500 Internal Server Error
Post by: dor123 on January 02, 2020, 04:03:59 AM
NON STOP: Slowness, not responding and "500 Internal Server Error" between 10:00am to 2:00pm Israel time, and the admins completely ignores this problem.


Title: Re: 500 Internal Server Error
Post by: sox35 on January 02, 2020, 11:06:26 AM
NON STOP: Slowness, not responding and "500 Internal Server Error" between 10:00am to 2:00pm Israel time, and the admins completely ignores this problem.
It isn't necessarily a site issue. It occurs randomly for different people at different times. You seem to suffer from the problem a lot more than other people, it could just be something between your system and the site. I have had it occasionally, but nowhere near as often as you seem to get it.


Title: Re: 500 Internal Server Error
Post by: Lightingguy1994 on January 02, 2020, 01:16:05 PM
I'm on here daily and check in multiple times and i only see this server error about once or twice a month or so and usually only at night. It does get slow more often about once a week but it used to be much worse a few years ago

I use google chrome exclusively for my browsing on both mobile and desktop


Title: Re: 500 Internal Server Error
Post by: paintballer22 on January 02, 2020, 01:35:50 PM
I had the server error a few times but not a lot and the site being slow but it clears up in a few minutes. All I had to do was be patient.


Title: Re: 500 Internal Server Error
Post by: dor123 on January 02, 2020, 01:39:00 PM
I'm online at most of the day, and encountering this in a regular basis from 10:00am to 14:00pm Israel time.


Title: Re: 500 Internal Server Error
Post by: Lightingguy1994 on January 02, 2020, 01:55:59 PM
I'm online at most of the day, and encountering this in a regular basis from 10:00am to 14:00pm Israel time.

As others have said , its likely caused by an issue between the LG server and you. To be more specific it could be problems with your countries connection to the internet. The farther you are from the lg server (assuming its in the usa) the more likely chance of problems.

It appears to me that the members in canada and usa experience the least problems because we are near the server but the members overseas have more issues and they occur more often the farther they are away. Everyones internet traffic on that continent has to travel a great distance through multiple network hubs and maybe even a satellite to reach here. If you happen to live in an area experiencing hardship of sorts then that nations outgoing internet access may be unstable.

So in my honest and respectful opinion, no matter what Patrick does to the site, it will never be perfect the farther away you are.


Title: Re: 500 Internal Server Error
Post by: Lightingguy1994 on January 03, 2020, 05:32:37 AM
My apologies, dor123 it looks like there is more to it than i thought.

Due to personal circumstances im awake at 5-6 am and have found gallery to be as dor123 described as very slow and i got hit with two error 500s. It looks like this occurs when it is night in the Americas so we are less likely to encounter this but everyone east sees it during their day.


Title: Re: 500 Internal Server Error
Post by: xmaslightguy on January 05, 2020, 10:08:29 PM
Speed almost always seems to be fine. And I only get a '500 Internal Server Error' on rare occasion.
(maybe it is a time-related thing as Lightingguy1994 mentioned. Could that time period by chance be when the server is doing backups? )

I'm far more likely to get these than a 500: (I've never paid attention to times, but I'm most likely to be on in the evening/night - before 11pm mountain time)
(https://www.lighting-gallery.net/index.php?action=dlattach;topic=5045.0;attach=5769;image)



Title: Re: 500 Internal Server Error
Post by: Lightingguy1994 on January 05, 2020, 10:39:27 PM
Speed almost always seems to be fine. And I only get a '500 Internal Server Error' on rare occasion.
(maybe it is a time-related thing as Lightingguy1994 mentioned. Could that time period by chance be when the server is doing backups? )

I'm far more likely to get these than a 500: (I've never paid attention to times, but I'm most likely to be on in the evening/night - before 11pm mountain time)
(https://www.lighting-gallery.net/index.php?action=dlattach;topic=5045.0;attach=5769;image)



Server backups! I hadn't thought of that, glad you brought that up. that has be the most likely cause for the 5 am (eastern standard time) slow down and 500 error. Could it be that when the backup happens, it has to share the same server resources thats assigned to LG causing the slow down? And 5am makes more sense now because pat likely set it when the LG is less active when the bulk of the membership is asleep

The interrupted connection, I do hit that at random times but not often, sometimes i just assume that the admins have made a change or tweak behind the scenes and hit apply causing a temporary pause while it sets, kinda like when i change my router settings and it disconnects momentarily


Title: Re: 500 Internal Server Error
Post by: xmaslightguy on January 05, 2020, 11:25:05 PM
@Lightingguy1994:
It was the time that made me think 'backup'.

And while a backup isn't intense processor-wize, it can be pretty intense as far as hard-drive activity goes (which could slow things down if its set to a high priority)...and this could be the real kicker: while the backup job is reading(ie: backing up) a file, that file is most likely 'locked' to write-access (you really don't want something changing the file while you're in the middle of backing it up .lol. (though in some cases it is possible to do)).
So as an example: backup job is working on a database file, forum software tries to write to same file, access is denied by backup having it locked, forum software spits out an error.


Title: Re: 500 Internal Server Error
Post by: dor123 on January 06, 2020, 01:04:12 AM
As I said, the 500 Internal Server Error, occur me at 10:00am - 14:00pm Israel time, which is very early in the morning in the US and Canada during this time, hence American members almost never encountering this problem.


Title: Re: 500 Internal Server Error
Post by: Roi_hartmann on January 06, 2020, 03:21:33 AM
I can report same issue just minutes ago and site gave error 500 for at least 5 minutes. Since it's error 500 meaning the error happens in server's side and since the http server itself seems working it might be php or database thwt's having problem.


Title: Re: 500 Internal Server Error
Post by: sox35 on January 06, 2020, 08:32:15 AM
Last time it happened here (a couple of days ago) I got a 503 error which said the following:

Service Unavailable

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

Additionally, a 503 Service Unavailable error was encountered while trying to use an ErrorDocument to handle the request.


So backups being done could explain it.


Title: Re: 500 Internal Server Error
Post by: Lightingguy1994 on January 06, 2020, 09:24:06 AM
Temporary outages happen. No "biggee" unless you are on LG life support.

Only when im bored or in bed with the flu ;D


Title: Re: 500 Internal Server Error
Post by: dor123 on January 28, 2020, 11:55:28 AM
I'm getting this error now.


Title: Re: 500 Internal Server Error
Post by: Danny on February 01, 2020, 09:16:31 AM
Im not usually one to complain about the site but it seems very slow  today and is dropping out occasionally, not loading etc. I Cant seem to navigate far into the site very much before it just stops responding??


Title: Re: 500 Internal Server Error
Post by: sox35 on February 01, 2020, 09:19:22 AM
Im not usually one to complain about the site but it seems very slow  today and is dropping out occasionally, not loading etc. I Cant seem to navigate far into the site very much before it just stops responding??
Yes same here at the moment, transatlantic link holdups, perhaps..? Are any US members having problems..?


Title: Re: 500 Internal Server Error
Post by: LampLover on February 01, 2020, 11:16:23 AM
Yes same here at the moment, transatlantic link holdups, perhaps..? Are any US members having problems..?
I am in the US and yes I have been having trouble all morning with the site being very slow eventually leading to the "500 Internal Server Error". Refreshing the page does not usually help but coming back later sometimes does. Also this has been a regular occurrence for the past few weeks or so.


Title: Re: 500 Internal Server Error
Post by: CreeRSW207 on February 01, 2020, 03:24:51 PM
Got about five today also not letting me rotate my photos...annoying! >:(  ???


Title: Re: 500 Internal Server Error
Post by: Patrick on February 02, 2020, 08:45:18 PM
I removed the comments and random file sections from individual members as those queries were taking up a disproportionate amount of resources.  Hopefully the site runs a bit better now.

Also note that for members with a very large number of photos and/or albums, deleting necessary files might help performance.  If you have an average number of files, deleting is less likely to make a difference, as in many cases the slowness has more to do with the number of files or albums belonging to a particular user than the number of total files on the entire site.  I'm not asking people to delete photos they wish to preserve, but if you have near duplicates, lower quality files, or files that have little historical value, cleaning them up wouldn't hurt.  For photos that do serve as a valuable reference for a particular type of lamp of fixture, I think it is best to keep those on the site indefinitely.

By the way, I intended to reply to the more recent site outage thread, but I inadvertently middle-clicked the remove topic button.  Beware that opening Delete/Remove in a new window/tab causes the topic or picture to be deleted with no confirmation.  I've made this mistake on a few occasions now, and it's something we ought to fix.


Title: Re: 500 Internal Server Error
Post by: Lightingguy1994 on February 02, 2020, 09:38:14 PM
Hi pat did you remove anything of mine or should i do a clean up?


Title: Re: 500 Internal Server Error
Post by: Patrick on February 02, 2020, 09:48:16 PM
No, we're not removing anything ourselves, at least not at this time.  If you wish, feel free to review your own albums for photos you don't feel add long term value.  If you do think they are useful for others that may search for them in the future, by all means keep them.  If not, it wouldn't hurt to cut back a bit.


Title: Re: 500 Internal Server Error
Post by: Lightingguy1994 on February 02, 2020, 10:37:38 PM
No, we're not removing anything ourselves, at least not at this time.  If you wish, feel free to review your own albums for photos you don't feel add long term value.  If you do think they are useful for others that may search for them in the future, by all means keep them.  If not, it wouldn't hurt to cut back a bit.

I plan to spruce up my gallery offerings a bit when time permits. I want to reorganize my content and replace some lower quality stuff with better retakes where possible. Maybe set up an album that has helpful info for others to enjoy.

I was more wondering if I was part of the random comments or random file sections you said you removed, I comment on a lot of neat stuff on here but i can cut back on that if it helps the site and I'm not sure what random file sections is but I'll do my best


Title: Re: 500 Internal Server Error
Post by: sox35 on February 03, 2020, 08:03:36 AM
I plan to spruce up my gallery offerings a bit when time permits. I want to reorganize my content and replace some lower quality stuff with better retakes where possible. Maybe set up an album that has helpful info for others to enjoy.

I was more wondering if I was part of the random comments or random file sections you said you removed, I comment on a lot of neat stuff on here but i can cut back on that if it helps the site and I'm not sure what random file sections is but I'll do my best

I'm not sure either, what exactly has been removed..?


Title: Re: 500 Internal Server Error
Post by: High Intensity on February 03, 2020, 09:55:37 AM
I'm not sure either, what exactly has been removed..?
It was similar to the random pictures gallery, except it would only use photos from your/other's galleries (depending on whos gallery you were viewing) and it would only show older photos (1 year or older). So in your case, it would look like this (https://www.lighting-gallery.net/gallery/thumbnails.php?album=randomolder&cat=12633)


Title: Re: 500 Internal Server Error
Post by: dor123 on February 03, 2020, 09:59:09 AM
Where the comments section in my gallery disappeared?


Title: Re: 500 Internal Server Error
Post by: High Intensity on February 03, 2020, 10:01:12 AM
Where the comments section in my gallery disappeared?
It seems that it has also been removed, either on purpose or by accident.


Title: Re: 500 Internal Server Error
Post by: sox35 on February 03, 2020, 11:00:57 AM
It was similar to the random pictures gallery, except it would only use photos from your/other's galleries (depending on whos gallery you were viewing) and it would only show older photos (1 year or older). So in your case, it would look like this (https://www.lighting-gallery.net/gallery/thumbnails.php?album=randomolder&cat=12633)
Ah, thanks. That's not a problem.


Title: Re: 500 Internal Server Error
Post by: Lightingguy1994 on February 03, 2020, 06:03:09 PM
My gallery seems intact so dont think my gallery comments were removed


Title: Re: 500 Internal Server Error
Post by: Patrick on February 03, 2020, 06:28:06 PM
You can still view your gallery's comments by going to your gallery page then clicking the Last Comments link.  Although it would be nice to continue to display them right on the main page, the query to retrieve them had been taking several seconds to complete.  Five seconds or so might not seem like much, but it is a lot for the server to spend on one request.  Too many long-running queries in a short period of time, and we reach a point where requests are coming in faster than they're going out.  When that happens, none of the new requests arriving can be fulfilled on time and everything grinds to a halt until the backlog is processed or the requests time out. 


Title: Re: 500 Internal Server Error
Post by: Lightingguy1994 on February 03, 2020, 06:32:19 PM
Im wondering if altering the 'whos online' function to only show members activities would speed things up? Plus its annoying to have to wade through 8 pages of guests to see what members are doing


Title: Re: 500 Internal Server Error
Post by: sox35 on February 03, 2020, 06:33:49 PM
Im wondering if altering the 'whos online' function to only show members activities would speed things up? Plus its annoying to have to wade through 8 pages of guests to see what members are doing
Possibly. Personally I think that 15 minutes is too long a time to display last users for, I'd suggest dropping it to 5 minutes.


Title: Re: 500 Internal Server Error
Post by: dor123 on February 04, 2020, 12:21:12 PM
No, we're not removing anything ourselves, at least not at this time.  If you wish, feel free to review your own albums for photos you don't feel add long term value.  If you do think they are useful for others that may search for them in the future, by all means keep them.  If not, it wouldn't hurt to cut back a bit.
Animated GIFs should be removed and prohibited, since they are the most storage consuming things on LG servers. Youtube videos consumes very little from LG servers, since they are stored on Google servers, and all pictures that I uploading directly to LG, are smaller than 1MB. Larger pictures are resized to 30% and the originals are uploaded to Postimage,org and embedded by the [img] tag.

Possibly. Personally I think that 15 minutes is too long a time to display last users for, I'd suggest dropping it to 5 minutes.
1 min is the best, and this is how it was in the past.


Title: Re: 500 Internal Server Error
Post by: sox35 on February 04, 2020, 12:24:41 PM
1 min is the best, and this is how it was in the past.
I disagree, 1 min was far too short, people were disappearing off the list too soon. 5 min is a compromise between that and 15 minutes.


Title: Re: 500 Internal Server Error
Post by: Make on February 18, 2020, 10:50:10 AM
This message appeared about half an hour ago. Unnaturally, whole page was a blank, white background.

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@lighting-gallery.net to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.


Title: Re: 500 Internal Server Error
Post by: Roi_hartmann on February 19, 2020, 09:03:19 AM
Animated GIFs should be removed and prohibited, since they are the most storage consuming things on LG servers. Youtube videos consumes very little from LG servers, since they are stored on Google servers, and all pictures that I uploading directly to LG, are smaller than 1MB. Larger pictures are resized to 30% and the originals are uploaded to Postimage,org and embedded by the [img] tag.
1 min is the best, and this is how it was in the past.
I don't think it's the size of images or GIFs that makes LG slow since both are already small on today's standarts. Both are just data that is sended to user without needing much of processing on server end. More likely what is broken and causing slowness and error 500 is something relating to database functinality and that can be very resource hungry.