• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • This community is user driven. Be polite with other users.
    • We recommend purchasing a Chevereto license to participate in this community.
    • Purchase a Community Subscription to get even faster ticket response times.

Internal server error

Status
Not open for further replies.

awempires

Chevereto Member
2.3 M Images 154,720 Albums 23,978 Users
119.7 GB Disk used
  • Chevereto version 3.6.0 – G\ Library 1.0.23
  • PHP version 5.4.40
  • Server server4 Linux/cgi-fcgi
  • MySQL version 5.5.43
  • MySQL server info Uptime: 1342755 Threads: 6 Questions: 199943396 Slow queries: 373 Opens: 3512 Flush tables: 1 Open tables: 405 Queries per second avg: 148.905
  • GD Library Version bundled (2.1.0 compatible) JPEG:1 GIF:1/1 PNG:1 WBMP:1 XBM:1
what do I need to optimize here

when I go to a user and want to seee he's albumbs .. 145 albums then I ge internal server error 500
 
Last edited:
Which is your website URL? Where I can see an album like the one you mentioned?
 
Last edited:
Thanks, I've got your PM with your website info.

Far as I can see in your dashboard stats, you have several issues with your server configuration. Most notable issue is the 7200 seconds of max_execution_time which should be at most 120 seconds. When you increase the max_execution_time you will always have several issues related to bad request handling, in this case, you are allowing request to take 2 hours to complete which I assume you did to allow 100MB image uploads.

The 100MB limit for image uploads is also a don't, at least with 7200 s. That should be almost 30MB. The 7200 s + 100MB allows an easy ddos attack in your website, something that you should avoid.

Secondly, I don't have access to all your php.ini settings but I'm sure that you edited several other things without knowing the impact of some changes. Maybe your keep alive is also huge or your timeouts are also wrong. Problem of this is that after someone leaves your website your keep that sub-process alive for an unnecessary period of time.

Finally, I've noticed that you are hosting a lot of content but all in the same single server. You are putting a lot of stress in one single machine. Doesn't matters how much RAM or CPU you have, your network adapter is limited, your disk I/O is limited, etc. Try to fix your server settings and then check this guide I just did: https://chevereto.com/docs/going-big

Hope you can send me FTP access to perform some test in your server, maybe there are some other issues.

Cheers.
 
I'm getting this:
PHP:
mod_fcgid: read data timeout in 31 seconds, referer: <URL>/<user>

Which is very odd, that query doesn't takes too long in my servers. I will keep testing.
 
Last edited:
I'm very bad at servers .. so you might understand this 🙂
I saw that your mysql usage was very large, a query that takes like 3ms in my server takes 4-7 seconds in your website. I need to keep digging.
 
Status
Not open for further replies.
Back
Top