Menu

#6 Misc bugfixes and features

Unstable (example)
open
nobody
None
5
2016-12-06
2016-12-06
Zerg2000
No

Hi! I just wanted to drop a patch for cgroup daemon that I wrote and used for some time. It contains a few bugfixes (including memleak and infinite loop) and 3 new command line options:

-b <size> --netlink-buffer=<size> set the netlink buffer size in bytes
-k --kernel-procname set a name of kernel processes to "KERNEL"

There is also one optimization for busy systems, which might look a bit ugly. Sorry for uploading it raw in one big package, but perhaps someone will find some parts usefull.

1 Attachments

Related

Patches: #6

Discussion

  • Zerg2000

    Zerg2000 - 2016-12-06

    Without SF fromatting:

    -b <size> | --netlink-buffer=<size> set the netlink buffer size in bytes
    -p <type> | --procname-fallback=<type> set a default fallback for
                       | process name. Type can be one of "exe" (default) or "status"
    -k        | --kernel-procname   set a name of kernel processes to "KERNEL"
    
     
  • Dhaval Giani

    Dhaval Giani - 2016-12-06

    It has been a while since we have done any active development on libcgroup. If you are willing, I can review patches. Can you split it up, and send it to libcg-devel@lists.sourceforge.net with the kernel DCO being followed?

    Thanks!
    Dhaval

     
  • Zerg2000

    Zerg2000 - 2016-12-06

    I do not see any bug reports with memleaks or infinite loops (mostly in %u templates), nor feaure requests that this patch covers, so perhaps we could just leave it here for now? If anyone ever needs it or project returns to active state, I can split it up. I haven't touched that code for over a year. :P

     
    • Dhaval Giani

      Dhaval Giani - 2016-12-06

      Sounds good to me.
      On Tue, Dec 6, 2016 at 2:44 PM Zerg2000 zrg@users.sf.net wrote:

      I do not see any bug reports with memleaks or infinite loops (mostly in %u
      templates), nor feaure requests that this patch covers, so perhaps we could
      just leave it here for now? If anyone ever needs it or project returns to
      active state, I can split it up. I haven't touched that code for over a
      year. :P


      Status: open
      Group: Unstable (example)
      Created: Tue Dec 06, 2016 06:46 PM UTC by Zerg2000

      Last Updated: Tue Dec 06, 2016 06:56 PM UTC
      Owner: nobody
      Attachments:

      Hi! I just wanted to drop a patch for cgroup daemon that I wrote and used
      for some time. It contains a few bugfixes (including memleak and infinite
      loop) and 3 new command line options:
      -b <size> --netlink-buffer=<size> set the netlink buffer size in bytes
      -k --kernel-procname set a name of kernel processes to "KERNEL"

      There is also one optimization for busy systems, which might look a bit
      ugly. Sorry for uploading it raw in one big package, but perhaps someone
      will find some parts usefull.


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/libcg/patches/6/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Patches: #6


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.