View Issue Details

IDProjectCategoryView StatusLast Update
0003042ardourbugspublic2010-04-15 18:12
ReporterHollunder Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status feedbackResolutionopen 
Summary0003042: limits.conf warnings inconsistent
DescriptionThere are two ways to warn the user about his limits.conf settings, a popup (gtk2_ardour/ardour_ui.cc) and stdout.

The popup appears if memlock is set to anything lower than 3/4 of the available memory.
stdout apparently warns whenever limits.conf is set to anything but unlimited, even if the number specified in limits.conf is equal to the total available memory.
It seems to simply check for 'unlimited' but I don't know where this code resides.

I think this should be consistent with the popup, whatever the correct figure might be.
Additional Informationardour 2.8.6 on Arch Linux, pure 64bit system.
TagsNo tags attached.

Activities

cth103

2010-04-10 00:28

administrator   ~0007471

Can you attach the text that is printed on stdout?

Hollunder

2010-04-15 18:12

reporter   ~0007491

Sorry for the long delay:

$ ardour
WARNING: Your system has a limit for maximum amount of locked memory!
         This might cause Ardour to run out of memory before your system runs
         out of memory. You can view the memory limit with 'ulimit -l', and it
         is normally controlled by /etc/security/limits.conf


$ ulimit -l
1016160

According to top my memory total is:
1015936k

No idea where I got the above figure from..

Issue History

Date Modified Username Field Change
2010-03-07 13:59 Hollunder New Issue
2010-04-10 00:28 cth103 Note Added: 0007471
2010-04-10 00:28 cth103 Status new => feedback
2010-04-15 18:12 Hollunder Note Added: 0007491