gnudatalanguage / gdl

GDL - GNU Data Language
GNU General Public License v2.0
277 stars 61 forks source link

mq_open (server): Too many open files #1880

Open brandy125 opened 2 months ago

brandy125 commented 2 months ago

Anybody had this error message before?

''' bash$ gdl Server: mq_open (server): Too many open files bash$ '''

GillesDuvert commented 2 months ago

mq_open was tentatively introduced in #1870 for IDL_IDLBridge (see #1857) . The new version (#1879) will be better. probably the one you use does not close properly the message queues, or the system-wide limit in /proc/sys/fs/mqueue/queues_max is too small. At the moment, if GDL hangs, the eventual opened message queues are not rproperly closed. Message queues are files in in /dev/mqueue/ and this directory can be emptied manually if necessary. (same for stale POSIX shared memory files in /dev/shm) The new version should create the server message queue only if IDL_IDLBridge is used.

GillesDuvert commented 2 months ago

1879 is now merged, please test with it.