Failed to open dir?

Creating and modifying plugins.
Post Reply
tinman
Posts: 3
Joined: Mon Oct 24, 2005 10:53 pm

Failed to open dir?

Post 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.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Failed to open dir?

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
tinman
Posts: 3
Joined: Mon Oct 24, 2005 10:53 pm

Post 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.
tinman
Posts: 3
Joined: Mon Oct 24, 2005 10:53 pm

Post 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.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply