The Mobile Frontend extension brought my site down after using it as is. I have got +50Mb of error logs but basically it looks like the Apache ACP collapsed.
I guess this problem has the same root as the lack of autodetection in my faulty implmentation? Below you have excerpts from the logs just in case they are useful.
Extracted from logs/php/www-error.log:
[07-Jan-2012 17:02:51] PHP Notice: Undefined index: host in /path/to/file/extensions/MobileFrontend/MobileFrontend.php on line 622 [07-Jan-2012 17:02:51] PHP Stack trace: ... [07-Jan-2012 17:02:51] PHP 9. ExtMobileFrontend->beforePageDisplayHTML() /includes/Hooks.php:0 [07-Jan-2012 17:02:51] PHP 10. ExtMobileFrontend->getMsg() /extensions/MobileFrontend/MobileFrontend.php:547 [07-Jan-2012 17:02:51] PHP 11. ExtMobileFrontend->getRelativeURL() /extensions/MobileFrontend/MobileFrontend.php:342
...
[07-Jan-2012 18:21:02] PHP Warning: apc_store(): Unable to allocate memory for pool. in includes/objectcache/APCBagOStuff.php on line 20 [07-Jan-2012 18:21:02] PHP Stack trace: ... [07-Jan-2012 18:21:02] PHP 9. ExtMobileFrontend->beforePageDisplayHTML() includes/Hooks.php:0 [07-Jan-2012 18:21:02] PHP 10. WURFL_WURFLManagerFactory->create() /extensions/MobileFrontend/MobileFrontend.php:375 [07-Jan-2012 18:21:02] PHP 11. WURFL_WURFLManagerFactory->init() /extensions/MobileFrontend/library/WURFL/WURFLManagerFactory.php:66 [07-Jan-2012 18:21:02] PHP 12. WURFL_WURFLManagerFactory->deviceRepository() /extensions/MobileFrontend/library/WURFL/WURFLManagerFactory.php:127 [07-Jan-2012 18:21:02] PHP 13. WURFL_DeviceRepositoryBuilder->build() /extensions/MobileFrontend/library/WURFL/WURFLManagerFactory.php:164 [07-Jan-2012 18:21:02] PHP 14. WURFL_DeviceRepositoryBuilder->buildRepository() /extensions/MobileFrontend/library/WURFL/DeviceRepositoryBuilder.php:86 [07-Jan-2012 18:21:02] PHP 15. WURFL_DeviceRepositoryBuilder->process() /extensions/MobileFrontend/library/WURFL/DeviceRepositoryBuilder.php:107 [07-Jan-2012 18:21:02] PHP 16. WURFL_DeviceRepositoryBuilder->classifyAndPersistDevice() extensions/MobileFrontend/library/WURFL/DeviceRepositoryBuilder.php:188 [07-Jan-2012 18:21:02] PHP 17. WURFL_Storage_Mwmemcache->save() /extensions/MobileFrontend/library/WURFL/DeviceRepositoryBuilder.php:211 [07-Jan-2012 18:21:02] PHP 18. APCBagOStuff->set() /extensions/MobileFrontend/library/WURFL/Storage/Mwmemcache.php:41 [07-Jan-2012 18:21:02] PHP 19. apc_store() includes/objectcache/APCBagOStuff.php:20
...
[08-Jan-2012 01:45:08] PHP Warning: require(): c cache entry '/includes/parser/CoreParserFunctions.php' (dev=2097211 ino=1668) was on gc-list for 2643 seconds in /srv/data/web/vhosts/espiral.org/htdocs/includes/AutoLoader.php on line 918 [08-Jan-2012 01:45:08] PHP Stack trace: [08-Jan-2012 01:45:08] PHP 1. {main}() index.php:0 [08-Jan-2012 01:45:08] PHP 2. MediaWiki->run() index.php:57 [08-Jan-2012 01:45:08] PHP 3. MediaWiki->main() includes/Wiki.php:533 [08-Jan-2012 01:45:08] PHP 4. MediaWiki->performRequest() includes/Wiki.php:626 [08-Jan-2012 01:45:08] PHP 5. MediaWiki->initializeArticle() /includes/Wiki.php:230 [08-Jan-2012 01:45:08] PHP 6. Article::newFromTitle() includes/Wiki.php:318 [08-Jan-2012 01:45:08] PHP 7. AutoLoader::autoload() includes/AutoLoader.php:0
From logs/php/fpm.log:
[07-Jan-2012 18:22:56] WARNING: [pool www] child 2872, script 'index.php' (request: "GET /index.php") execution timed out (121.002992 sec), terminating [07-Jan-2012 18:22:56] WARNING: [pool www] child 2872 exited on signal 15 (SIGTERM) after 37757.970325 seconds from start
From logs/apache/error.log
[Sat Jan 07 18:22:56.648588 2012] [:error] [pid 4056:tid 3814288475904] (104)Connection reset by peer: [client 89.246.16.155:59643] FastCGI: failed to read from backend server
Without ssh access to this server, now I can't restart ACP or Apache. I have contact the ISP but as usual these things always happen on a weekend. No big deal, I'm still building the site.
-- Quim