May I ask who the host is? Sorry, but this server does not seem properly setup, and at best, the memory amount stated is "fluctuating" and inconsistent. Your server should write an ERROR LOG somewhere ...
Looks like it can't handle multiple PHP requests at the same time, even for cached images.
X3 does NOT use a lot of resources. The only time it uses resources, is when resizing the images for the first time ... It certainly doesn't use many resources outside this.
lanhl wrote:Hi,
I checked the hosting "Resource Usage Details",
this is the last hour usage,
when I open the gallery page, the "Virtual Memory" will soon up to 1024MB, the MAX limited. so I got 500 err.
there are 34 images in the folder, total size is 14.5MB, why they are take so many VM resource? Is there any wrong settings?
What can I say? This is a super simple image resize script, that all other servers can handle fine, as long as you have sufficient memory (normally minimum 128M).
This is our own DV server, hosting 10 X3 websites, peaking at 4% CPU:
You have to ask your host: Why on your server, do you get "500 internal server error", on the following requests on the page
http://stills.hailin.me/Travel/HongKong/
They should AT LEAST have an error log. It doesn't require much memory to resize those images. It's interesting that one can access the images from browser though (for example
http://stills.hailin.me/render/w640-q90 ... G_4497.jpg), which seems to indicate your server struggles with multiple calls within a short time period.
You need the error log for those errors ...