Last modified: 2012-05-01 12:04:52 UTC
core: https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;h=801ede3a9b209b9203a05c03edbea81e0d1b4e7d Hi, my wiki showed a glitch, which may be difficult to reproduce and which may be repaired in the meantime. However, I report it now as I have the log data for you. 1. I uploaded as A a new version of an image user-z-photo.jpg 2. I did Ctrl+F5 to clear browser cache and can confirm that the new image was uploaded and rendered correctly on the [[Image:User-z-photo.jpg]] description page. 4 I clicked onto a link to the uploader user page [[User:Z]] on the [[Image:User-z-page.jpg]] page (in the file history list). [[User:Z]] page has a link so that it shows the image, but 5. in my case, the first request failed and an empty page was shown 6. Ctrl + F5 and some navigation helped. Here is the error_log, (is it an autoload problem of dependencies ??) PHP Fatal error: require(): Failed opening required '/phase3/includes/db/DatabaseError.php' (include_path='/phase3/extensions/OpenID:.:/usr/share/php') in /phase3/includes/AutoLoader.php on line 1031, referer: /index.php/Galerie
correction: from the "referer" I see that I was visiting another page than indicated in step 2. However, no matter which page I actually visited, the message is that the error log shows evidence of a failure or flaw while trying to load DatabaseError.php . Next question would be: what's the reason for the db error ? Luckily enough, I had db-logging switched on, Here's the complete information, and it looks (simply) to be an out-of-memory problem. - wiki db-error log shows; 13:28:57 Error connecting to localhost: Can't create a new thread (errno 11); if you are not out of available memory, you can consult the manual for a possible OS-dependent bug (localhost) - error_log 13:28:46 [error] (12)Cannot allocate memory: fork: Unable to fork new process 13:28:46 [emerg] (12)Cannot allocate memory: Couldn't create pollset in child; check system or user limits 13:28:57 [error] [client] PHP Warning: require(/includes/db/DatabaseError.php): failed to open stream: Cannot allocate memory in /phase3/includes/AutoLoader.php on line 1031, referer: /index.php/Galerie 13:28:57 [error] [clien] PHP Fatal error: require(): Failed opening required '/includes/db/DatabaseError.php' (include_path='/phase3/extensions/OpenID:.:/usr/share/php') in /includes/AutoLoader.php on line 1031, referer: /index.php/Galerie As it looks (simply) to be an out-of-memory problem, I'll close this bug now. "You have been informed."