Additional uncaught exception thrown while handling exception.

Original

PDOException: SQLSTATE[HY000]: General error: 1016 Can't open file: './eponline_derm2016/role_permission.frm' (errno: 24 - Too many open files): SELECT rid, permission FROM {role_permission} WHERE rid IN (:fetch_0); Array ( [:fetch_0] => 1 ) in user_role_permissions() (line 770 of /var/www/html/derm2016/modules/user/user.module).

Additional

PDOException: SQLSTATE[HY000]: General error: 1016 Can't open file: './eponline_derm2016/watchdog.frm' (errno: 24 - Too many open files): INSERT INTO {watchdog} (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_placeholder_7, :db_insert_placeholder_8, :db_insert_placeholder_9); Array ( [:db_insert_placeholder_0] => 0 [:db_insert_placeholder_1] => php [:db_insert_placeholder_2] => %type: !message in %function (line %line of %file). [:db_insert_placeholder_3] => a:6:{s:5:"%type";s:12:"PDOException";s:8:"!message";s:250:"SQLSTATE[HY000]: General error: 1016 Can't open file: './eponline_derm2016/role_permission.frm' (errno: 24 - Too many open files): SELECT rid, permission FROM {role_permission} WHERE rid IN (:fetch_0); Array ( [:fetch_0] => 1 ) ";s:9:"%function";s:23:"user_role_permissions()";s:5:"%file";s:47:"/var/www/html/derm2016/modules/user/user.module";s:5:"%line";i:770;s:14:"severity_level";i:3;} [:db_insert_placeholder_4] => 3 [:db_insert_placeholder_5] => [:db_insert_placeholder_6] => http://epostersonline.com/derm2016/el/node/48 [:db_insert_placeholder_7] => [:db_insert_placeholder_8] => 52.51.188.246 [:db_insert_placeholder_9] => 1505963990 ) in dblog_watchdog() (line 163 of /var/www/html/derm2016/modules/dblog/dblog.module).