Page 1 of 1

Failed to open dir?

Posted: Mon Oct 24, 2005 10:55 pm
by tinman
I get this error in a few parts of the admin "failed to open dir: Too many open files in /home/content/r/a/b/rabbit2k/html/bayou/include/plugin_api.inc.php on line 183"
Any idea's on it. Nothing turned up in a search of the forums.

Re: Failed to open dir?

Posted: Tue Oct 25, 2005 11:36 am
by garvinhicking
Which serendipity version are you using? This should be fixed in Serendipity 0.9-beta3, can you try it?

Another reason might be that you have too many plugins installed so that the server has to open more files that your system is configured to open...?!

Best regards,
Garvin

Posted: Tue Oct 25, 2005 3:18 pm
by tinman
When I tried upgradeing I got this

Code: Select all

Warning: file_get_contents(/home/content/r/a/b/rabbit2k/html/bayou/sql/db_update_0.9-alpha1_0.9-alpha2_mysql.sql): failed to open stream: Too many open files in /home/content/r/a/b/rabbit2k/html/bayou/include/admin/upgrader.inc.php on line 177

Warning: file_get_contents(/home/content/r/a/b/rabbit2k/html/bayou/sql/db_update_0.9-alpha2_0.9-alpha3_mysql.sql): failed to open stream: Too many open files in /home/content/r/a/b/rabbit2k/html/bayou/include/admin/upgrader.inc.php on line 177

Warning: file_get_contents(/home/content/r/a/b/rabbit2k/html/bayou/sql/db_update_0.9-alpha3_0.9-alpha4_mysql.sql): failed to open stream: Too many open files in /home/content/r/a/b/rabbit2k/html/bayou/include/admin/upgrader.inc.php on line 177

Warning: file_get_contents(/home/content/r/a/b/rabbit2k/html/bayou/sql/db_update_0.9-alpha4_0.9-alpha5_mysql.sql): failed to open stream: Too many open files in /home/content/r/a/b/rabbit2k/html/bayou/include/admin/upgrader.inc.php on line 177
Calling serendipity_buildPermalinks ...
Calling serendipity_addDefaultGroups ...

Warning: serendipity_smarty_init(/home/content/r/a/b/rabbit2k/html/bayou/bundled-libs/Smarty/libs/Smarty.class.php): failed to open stream: Too many open files in /home/content/r/a/b/rabbit2k/html/bayou/include/functions_smarty.inc.php on line 170

Fatal error: serendipity_smarty_init(): Failed opening required '/home/content/r/a/b/rabbit2k/html/bayou/bundled-libs/Smarty/libs/Smarty.class.php' (include_path='.:/usr/local/lib/php:/home/content/r/a/b/rabbit2k/html/bayou/:/home/content/r/a/b/rabbit2k/html/bayou/bundled-libs/') in /home/content/r/a/b/rabbit2k/html/bayou/include/functions_smarty.inc.php on line 170
I will do a fresh install and see what happens.

Posted: Tue Oct 25, 2005 3:42 pm
by tinman
Also it is not from too many plugins. I haven't added any and I tried deleteing the ones I didn't want but it still gave the error. It may be my hosting provider.

Posted: Tue Oct 25, 2005 6:42 pm
by garvinhicking
Yes, this sounds very likely like a problem on your webhoster. It seems his host is overloaded, please contact him about this, and that he should check is lsof output :)

Regards,
Garvin