Hello,
My Piwigo site work great! Unless you try to do a lot of browsing in the gallery. If I give the server any kind of load at all (I start clicking around on different buttons) Something crashes and gives me this error
--
Warning: mysqli::__construct(): (HY000/2002): No such file or directory in /var/www/gallery.millhousenchurch.com/include/dblayer/functions_mysqli.inc.php on line 67
Warning: my_error(): Couldn't fetch mysqli in /var/www/gallery.millhousenchurch.com/include/dblayer/functions_mysqli.inc.php on line 837
Warning: my_error(): Couldn't fetch mysqli in /var/www/gallery.millhousenchurch.com/include/dblayer/functions_mysqli.inc.php on line 837
Piwigo encountered a non recoverable error
[mysql error ]
Can't connect to server
#1 my_error /var/www/gallery.millhousenchurch.com/include/common.inc.php(121)
#2 include_once /var/www/gallery.millhousenchurch.com/picture.php(25)
--
Then every page of the gallery I try to view (even the Admin pages) give me an error similar to the one above. After waiting a few minutes, everything goes back to normal until I start doing many tasks with the gallery.
This is very odd, please help!
Piwigo version: 2.8.3
PHP version: 7.0.8-0ubuntu0.16.04.3
MySQL version: 5.7.16-0ubuntu0.16.04.1
Piwigo URL: https://icgallery.flexstart.me/
Webserver: Caddy - https://caddyserver.com
Hello
your mysql server is either instable or has awful performances; or it comes from mysql itself
that's a system administration (sys admin) thing
Offline
I ran into this error and I believe it was caused by my server running out of RAM. I added additional swap file pace and the issue appears to have been resolved.
Offline