New user registration is currently disabled due to spam abuse / Регистрация новых пользователей в настоящее время приостановлена из-за злоупотреблений спаммерами

When clicking Rescan 2x number of open files

Report bugs here

When clicking Rescan 2x number of open files

Postby CAEman » Sat Oct 03, 2015 11:45 am

After clicking of the button of Rescan in a tab Sources / Files of a window Dictionaries (even without change of dictionaries) number of the files opened by the program (check: in the console we launch the lsof command - p 'pgrep goldendict' | wc - l) grows by number, equal to 2-fold number of the connected dictionaries, and the maximum quantity, i.e. original quantity - in case of its reduction or finite - in case of increase that can lead to halt of the program if at the user insufficiently great value of the maximum file descriptor number that can be opened by a process parameter (check is set: in the console we launch the ulimit command - Sn), and only after clicking of the OK button it decreases to aggregate value, it depends in case of a choice of the File / Rescan menu the Ctrl+F5 files, on the contrary, the number sharply falls, and then in process of rescanning reaches aggregate value.
CAEman
 
Posts: 138
Joined: Sat Nov 24, 2012 12:13 pm

Return to Bugs

Who is online

Users browsing this forum: No registered users and 9 guests

cron