Oh heck.  My bad.  I totally forgot that the tmux server is persistent.

That was definitely it.  All fixed now.

Thank you for your help!




Nicholas Marriott wrote:
> Did you start tmux before you changed limits.conf?
>
>
> On Tue, Aug 21, 2012 at 09:23:37AM -0700, Jesse Molina wrote:
>>
>> I am having a problem renicing processes run under tmux on Linux.
>>
>> tmux version 1.6 on Debian GNU/Linux 3.2.0-3-amd64.
>>
>> My user is configured via pam_limits/limits.conf to be able to raise the
>> priority/lower nice on processes.  This works fine, unless I start the
>> process under tmux, in which case it does not.
>>
>> Renicing using root works as-expected.
>>
>> I have no clue what is going on. I'm a clueless noob.
>>
>>
>>
>> To duplicate, make sure your PAM config file has pam_limits in it, and
>> then add something like "username            -       nice
>> -10" to /etc/security/limits.conf"
>>
>> I am using sudo here, but I don't think that is a factor since I can
>> duplicate while not using sudo.
>>
>>
>>
>> --
>> # Jesse Molina
>> # Mail = je...@opendreams.net
>> # Cell = 1-602-323-7608
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond. Discussions
>> will include endpoint security, mobile security and the latest in malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> _______________________________________________
>> tmux-users mailing list
>> tmux-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/tmux-users

-- 
# Jesse Molina
# Mail = je...@opendreams.net
# Cell = 1-602-323-7608



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to